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.
Fork of Le_Pont_V10116 by
Diff: Port_Serie.h
- Revision:
- 0:8b3c6f593515
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Port_Serie.h Thu Jun 22 09:33:04 2017 +0000 @@ -0,0 +1,33 @@ +/*******************************************************************/ +/* */ +/* Port Série */ +/* */ +/* Gestion du port série par interruption */ +/* */ +/* */ +/*******************************************************************/ +#ifndef _PORT_SERIE_ +#define _PORT_SERIE_ + +#include "mbed.h" +#include <Serial.h> + +#include "Constantes.h" +#include "Variable.h" + +#include "time.h" + +#define TAILLE_BUFFER_EMISSION 128 +#define TAILLE_BUFFER_RECEPTION 128 + + + +extern void vPort_Serie_Init(int Baudrate) ; +extern void vPort_Serie_Ouvre( void ) ; +extern void vPort_Serie_Ferme( void ) ; +extern void vPort_Serie_Cloture( void ) ; +extern void vPort_Serie_Emission ( U8 Numero_Ordre_U8 ) ; +extern U8 cControle_Reception( U8 Numero_Ordre_U8 ) ; +extern void vPort_Serie_Reception ( U8 Numero_Ordre_U8 ) ; + +#endif \ No newline at end of file
