Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Port_Serie.h@0:a53b6ec3fbb3, 2016-05-30 (annotated)
- Committer:
- CS
- Date:
- Mon May 30 07:04:49 2016 +0000
- Revision:
- 0:a53b6ec3fbb3
RAZ integrale de la synchronisation
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| CS | 0:a53b6ec3fbb3 | 1 | /*******************************************************************/ |
| CS | 0:a53b6ec3fbb3 | 2 | /* */ |
| CS | 0:a53b6ec3fbb3 | 3 | /* Port Série */ |
| CS | 0:a53b6ec3fbb3 | 4 | /* */ |
| CS | 0:a53b6ec3fbb3 | 5 | /* Gestion du port série par interruption */ |
| CS | 0:a53b6ec3fbb3 | 6 | /* */ |
| CS | 0:a53b6ec3fbb3 | 7 | /* */ |
| CS | 0:a53b6ec3fbb3 | 8 | /*******************************************************************/ |
| CS | 0:a53b6ec3fbb3 | 9 | #ifndef _PORT_SERIE_ |
| CS | 0:a53b6ec3fbb3 | 10 | #define _PORT_SERIE_ |
| CS | 0:a53b6ec3fbb3 | 11 | |
| CS | 0:a53b6ec3fbb3 | 12 | #include "mbed.h" |
| CS | 0:a53b6ec3fbb3 | 13 | #include <Serial.h> |
| CS | 0:a53b6ec3fbb3 | 14 | |
| CS | 0:a53b6ec3fbb3 | 15 | #include "Constantes.h" |
| CS | 0:a53b6ec3fbb3 | 16 | #include "Variable.h" |
| CS | 0:a53b6ec3fbb3 | 17 | |
| CS | 0:a53b6ec3fbb3 | 18 | #include "time.h" |
| CS | 0:a53b6ec3fbb3 | 19 | |
| CS | 0:a53b6ec3fbb3 | 20 | #define TAILLE_BUFFER_EMISSION 128 |
| CS | 0:a53b6ec3fbb3 | 21 | #define TAILLE_BUFFER_RECEPTION 128 |
| CS | 0:a53b6ec3fbb3 | 22 | |
| CS | 0:a53b6ec3fbb3 | 23 | |
| CS | 0:a53b6ec3fbb3 | 24 | |
| CS | 0:a53b6ec3fbb3 | 25 | extern void vPort_Serie_Init(int Baudrate) ; |
| CS | 0:a53b6ec3fbb3 | 26 | extern void vPort_Serie_Ouvre( void ) ; |
| CS | 0:a53b6ec3fbb3 | 27 | extern void vPort_Serie_Ferme( void ) ; |
| CS | 0:a53b6ec3fbb3 | 28 | extern void vPort_Serie_Cloture( void ) ; |
| CS | 0:a53b6ec3fbb3 | 29 | extern void vPort_Serie_Emission ( U8 Numero_Ordre_U8 ) ; |
| CS | 0:a53b6ec3fbb3 | 30 | extern U8 cControle_Reception( U8 Numero_Ordre_U8 ) ; |
| CS | 0:a53b6ec3fbb3 | 31 | extern void vPort_Serie_Reception ( U8 Numero_Ordre_U8 ) ; |
| CS | 0:a53b6ec3fbb3 | 32 | |
| CS | 0:a53b6ec3fbb3 | 33 | #endif |