[mcu_periph] sane defines for UART bits defines

This commit is contained in:
Felix Ruess
2013-07-23 16:04:47 +02:00
parent 25906237a1
commit 7f7c20927a
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -113,7 +113,7 @@
#define POWER_SWITCH_LED 9
/* Uart2 RX polarity, on PB13, 1 on LED_ON, 0 on LED_OFF */
/* Pint to set Uart2 RX polarity, on PB13, output low inverts, high doesn't */
#define RC_POLARITY_GPIO_PORT GPIOB
#define RC_POLARITY_GPIO_PIN GPIO13
+6 -6
View File
@@ -51,15 +51,15 @@
#define B230400 230400
#define B921600 921600
#define UBITS_7 0
#define UBITS_8 1
#define UBITS_7 7
#define UBITS_8 8
#define USTOP_1 0
#define USTOP_2 1
#define USTOP_1 1
#define USTOP_2 2
#define UPARITY_NO 0
#define UPARITY_EVEN 1
#define UPARITY_ODD 2
#define UPARITY_ODD 1
#define UPARITY_EVEN 2
/**
* UART peripheral