Exemple fait en classe th4 du cours 247-637 (2017)
Dependencies: mbed
processusUART.h@0:669a6bff2494, 2017-09-15 (annotated)
- Committer:
- YROY2004
- Date:
- Fri Sep 15 20:02:05 2017 +0000
- Revision:
- 0:669a6bff2494
2017-08 247-637 Exemple fait en classe lors du cours th4
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
YROY2004 | 0:669a6bff2494 | 1 | #ifndef PROCESSUS_UART_H |
YROY2004 | 0:669a6bff2494 | 2 | #define PROCESSUS_UART_H |
YROY2004 | 0:669a6bff2494 | 3 | |
YROY2004 | 0:669a6bff2494 | 4 | |
YROY2004 | 0:669a6bff2494 | 5 | //------------------------------------ |
YROY2004 | 0:669a6bff2494 | 6 | // Hyperterminal configuration |
YROY2004 | 0:669a6bff2494 | 7 | // 9600 bauds, 8-bit data, no parity |
YROY2004 | 0:669a6bff2494 | 8 | //------------------------------------ |
YROY2004 | 0:669a6bff2494 | 9 | |
YROY2004 | 0:669a6bff2494 | 10 | |
YROY2004 | 0:669a6bff2494 | 11 | #define PROCESSUS_UART_PRET 1 |
YROY2004 | 0:669a6bff2494 | 12 | #define PROCESSUS_UART_LIBRE 0 |
YROY2004 | 0:669a6bff2494 | 13 | |
YROY2004 | 0:669a6bff2494 | 14 | extern uint16_t messagePret; |
YROY2004 | 0:669a6bff2494 | 15 | |
YROY2004 | 0:669a6bff2494 | 16 | void initialiseUART(void); |
YROY2004 | 0:669a6bff2494 | 17 | void gereUART(void); |
YROY2004 | 0:669a6bff2494 | 18 | |
YROY2004 | 0:669a6bff2494 | 19 | |
YROY2004 | 0:669a6bff2494 | 20 | #endif |