Revision 570 branch/CHAMBELLON/sp4b1/SP4b1/SP4b1.c

View differences:

SP4b1.c
8 8
/*  This file is generated by Renesas Project Generator (Ver.4.18).    */
9 9
/*  NOTE:THIS IS A TYPICAL EXAMPLE.                                    */
10 10
/***********************************************************************/
11
#include "sfr32c87.h"
11 12

  
12
void main(void)
13
{
13
char t;
14

  
15
void main(void){
16

  
17
pd10 = 0xF0;
18
p10 = 0xFF;
19
pu30 = 1;
20
t = p10;
21
p10 = 0x00;
22

  
23
while(1){
24

  
25
p10 = 0x0F,	
26
t = p10;
27

  
28
if (t!=0x0F) {
14 29
	
30
p10 = 0xEF;
31
t = p10;
32

  
33
	if (t!=0x0F) {
34
	
35
	p10 = 0xEF;7
36
	t = p10;
37
 	
38
} 
39
 	
40
} 
41

  
15 42
}
43

  
44
}

Also available in: Unified diff