Projet

Général

Profil

« Précédent | Suivant » 

Révision 724

Ajouté par beboucheix il y a environ 4 ans

fin de tp

Voir les différences:

branch/boucheix/sp4c12/Sp4c1/Sp4c1/SessionM32C_E8a_SYSTEM.ini
Renesas Communications=USB interface,0,
[Target]
M32C E8a SYSTEM=Renesas Communications
[USER_DATA]
RESET=fe0000
branch/boucheix/sp4c12/Sp4c1/Sp4c1/Sp4c1.c
/* This file is generated by Renesas Project Generator (Ver.4.18). */
/* NOTE:THIS IS A TYPICAL EXAMPLE. */
/***********************************************************************/
#include"sfr32c87.h"
void main(void)
void uart0_init(void);
{
U0MR=0b00000101;
U0SMR=0b00000000;
U0C0=0b00010101;
U0C1=0b00000101;
U0brg=0b00100000;
pd6=0b00001000;
ps0=0b10001000;
}
void uart0_tx(char c){

Formats disponibles : Unified diff