rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Functions
stm32_serial.cpp File Reference

Functions

static bool isValidUART6TxPin (brain_pin_e pin)
 
static bool isValidUART6RxPin (brain_pin_e pin)
 
bool isValidSerialTxPin (brain_pin_e pin)
 
bool isValidSerialRxPin (brain_pin_e pin)
 

Function Documentation

◆ isValidSerialRxPin()

bool isValidSerialRxPin ( brain_pin_e  pin)

Definition at line 25 of file stm32_serial.cpp.

25 {
26 return isValidUART6RxPin(pin);
27}
brain_pin_e pin
Definition stm32_adc.cpp:15
static bool isValidUART6RxPin(brain_pin_e pin)
Here is the call graph for this function:

◆ isValidSerialTxPin()

bool isValidSerialTxPin ( brain_pin_e  pin)

Definition at line 21 of file stm32_serial.cpp.

21 {
22 return isValidUART6TxPin(pin);
23}
static bool isValidUART6TxPin(brain_pin_e pin)
Here is the call graph for this function:

◆ isValidUART6RxPin()

static bool isValidUART6RxPin ( brain_pin_e  pin)
static

Definition at line 17 of file stm32_serial.cpp.

17 {
18 return pin == Gpio::C7 || pin == Gpio::G9;
19}

Referenced by isValidSerialRxPin().

Here is the caller graph for this function:

◆ isValidUART6TxPin()

static bool isValidUART6TxPin ( brain_pin_e  pin)
static

Definition at line 13 of file stm32_serial.cpp.

13 {
14 return pin == Gpio::C6 || pin == Gpio::G14;
15}

Referenced by isValidSerialTxPin().

Here is the caller graph for this function:

Go to the source code of this file.