diff options
Diffstat (limited to 'platforms/chibios/drivers/uart.h')
| -rw-r--r-- | platforms/chibios/drivers/uart.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/platforms/chibios/drivers/uart.h b/platforms/chibios/drivers/uart.h index 5bc487590..603d51037 100644 --- a/platforms/chibios/drivers/uart.h +++ b/platforms/chibios/drivers/uart.h | |||
| @@ -68,6 +68,22 @@ | |||
| 68 | # define SD1_CR3 0 | 68 | # define SD1_CR3 0 |
| 69 | #endif | 69 | #endif |
| 70 | 70 | ||
| 71 | #ifndef SD1_WRDLEN | ||
| 72 | # define SD1_WRDLEN 3 | ||
| 73 | #endif | ||
| 74 | |||
| 75 | #ifndef SD1_STPBIT | ||
| 76 | # define SD1_STPBIT 0 | ||
| 77 | #endif | ||
| 78 | |||
| 79 | #ifndef SD1_PARITY | ||
| 80 | # define SD1_PARITY 0 | ||
| 81 | #endif | ||
| 82 | |||
| 83 | #ifndef SD1_ATFLCT | ||
| 84 | # define SD1_ATFLCT 0 | ||
| 85 | #endif | ||
| 86 | |||
| 71 | void uart_init(uint32_t baud); | 87 | void uart_init(uint32_t baud); |
| 72 | 88 | ||
| 73 | void uart_write(uint8_t data); | 89 | void uart_write(uint8_t data); |
