Projet

Général

Profil

« Précédent | Suivant » 

Révision 831

Ajouté par mukis il y a presque 4 ans

fonction uart0_rx

Voir les différences:

branch/KIS/sp4c12/Uart/Uart/Uart.c
#pragma INTERRUPT 18 irectrame
void uart0_init(void);
void uart0_tx(char c);
//char uart0_rx(void);
char uart0_rx(void);
int trame_OK=0;
void main(void)
......
te_u0c1=0;
}
/*char uart0_rx(void)
char uart0_rx(void)
{
}*/
char c;
while(!ri_u0c1);
c=u0rb;
}

Formats disponibles : Unified diff