root/branch/CHAMBELLON/sp4b1/SP4b1/SP4b1.c @ 577
557 | rochambell | /***********************************************************************/
|
|
/* */
|
|||
/* FILE :SP4b1.c */
|
|||
/* DATE :Wed, May 26, 2021 */
|
|||
/* DESCRIPTION :main program file. */
|
|||
/* CPU GROUP :87B */
|
|||
/* */
|
|||
/* This file is generated by Renesas Project Generator (Ver.4.18). */
|
|||
/* NOTE:THIS IS A TYPICAL EXAMPLE. */
|
|||
/***********************************************************************/
|
|||
570 | rochambell | #include "sfr32c87.h"
|
|
557 | rochambell | ||
570 | rochambell | char t;
|
|
void main(void){
|
|||
pd10 = 0xF0;
|
|||
p10 = 0xFF;
|
|||
pu30 = 1;
|
|||
t = p10;
|
|||
p10 = 0x00;
|
|||
while(1){
|
|||
p10 = 0x0F,
|
|||
t = p10;
|
|||
if (t!=0x0F) {
|
|||
557 | rochambell | ||
570 | rochambell | p10 = 0xEF;
|
|
t = p10;
|
|||
if (t!=0x0F) {
|
|||
p10 = 0xEF;7
|
|||
t = p10;
|
|||
}
|
|||
}
|
|||
557 | rochambell | }
|
|
570 | rochambell | ||
}
|