rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
stm32_serial.cpp
Go to the documentation of this file.
1/**
2 * @file stm32_common.cpp
3 * @brief Low level common STM32 code
4 *
5 * @date Mar 28, 2019
6 * @author Andrey Belomutskiy, (c) 2012-2020
7 */
8
9#include "pch.h"
10
11#if EFI_AUX_SERIAL
12
14 return pin == Gpio::C6 || pin == Gpio::G14;
15}
16
18 return pin == Gpio::C7 || pin == Gpio::G9;
19}
20
24
28
29#endif /*EFI_AUX_SERIAL*/
brain_pin_e pin
Definition stm32_adc.cpp:15
bool isValidSerialRxPin(brain_pin_e pin)
static bool isValidUART6RxPin(brain_pin_e pin)
static bool isValidUART6TxPin(brain_pin_e pin)
bool isValidSerialTxPin(brain_pin_e pin)