diff options
| author | Damien George | 2014-02-23 00:30:48 +0000 |
|---|---|---|
| committer | Damien George | 2014-02-23 00:30:48 +0000 |
| commit | ee462489f1da5ea332851843d10541594f6fc7b0 (patch) | |
| tree | 6664cff84de014f276c9ed7617dfaef961019fff | |
| parent | ed73fcd7d212aea31a9d8cfa2800d5f2f068370f (diff) | |
stm: Add USART enum for pyboard skin labels.
| -rw-r--r-- | stm/usart.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stm/usart.h b/stm/usart.h index 541cb757c..6ae2a44ae 100644 --- a/stm/usart.h +++ b/stm/usart.h @@ -5,6 +5,11 @@ typedef enum { PYB_USART_3 = 3, PYB_USART_6 = 4, PYB_USART_MAX = 4, + + //PYB_USART_XA = // USART4 on X1, X2 = PA0, PA1 + PYB_USART_XB = 1, // USART1 on X9, X10 = PB6, PB7 + PYB_USART_YA = 4, // USART6 on Y1, Y2 = PC6, PC7 + PYB_USART_YB = 3, // USART3 on Y9, Y10 = PB10, PB11 } pyb_usart_t; extern pyb_usart_t pyb_usart_global_debug; |
