mirror of
https://github.com/WeActStudio/ArduinoCore-AT32F4.git
synced 2026-05-21 09:22:01 +00:00
add uart4 and uart5
This commit is contained in:
@@ -29,19 +29,6 @@
|
||||
|
||||
typedef enum
|
||||
{
|
||||
SERIAL_7N1,
|
||||
SERIAL_7N2,
|
||||
SERIAL_7E1,
|
||||
SERIAL_7E2,
|
||||
SERIAL_7O1,
|
||||
SERIAL_7O2,
|
||||
SERIAL_7N0_5,
|
||||
SERIAL_7N1_5,
|
||||
SERIAL_7E0_5,
|
||||
SERIAL_7E1_5,
|
||||
SERIAL_7O0_5,
|
||||
SERIAL_7O1_5,
|
||||
|
||||
SERIAL_8N1,
|
||||
SERIAL_8N2,
|
||||
SERIAL_8E1,
|
||||
@@ -139,4 +126,12 @@ extern HardwareSerial Serial2;
|
||||
extern HardwareSerial Serial3;
|
||||
#endif
|
||||
|
||||
#if SERIAL_4_ENABLE
|
||||
extern HardwareSerial Serial4;
|
||||
#endif
|
||||
|
||||
#if SERIAL_5_ENABLE
|
||||
extern HardwareSerial Serial5;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user