Statistics
| Revision:

root / branch / CHAMBELLON / sp4b1 / SP4b1 / SP4b1.c @ 570

History | View | Annotate | Download (1022 Bytes)

1
/***********************************************************************/
2
/*                                                                     */
3
/*  FILE        :SP4b1.c                                               */
4
/*  DATE        :Wed, May 26, 2021                                     */
5
/*  DESCRIPTION :main program file.                                    */
6
/*  CPU GROUP   :87B                                                   */
7
/*                                                                     */
8
/*  This file is generated by Renesas Project Generator (Ver.4.18).    */
9
/*  NOTE:THIS IS A TYPICAL EXAMPLE.                                    */
10
/***********************************************************************/
11
#include "sfr32c87.h"
12

    
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) {
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

    
42
}
43

    
44
}