Statistics
| Revision:

root / branch / faye / sp4b1 / SP4b1 / SP4b1.c @ 564

History | View | Annotate | Download (1.05 KB)

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
 char t;
13
void main(void) {
14
        
15
        pd10 = 0xF0;/* definir les broche entr?es sorties*/
16
        p10 =0xFF; /* definir les broche entr?es sorties*/
17
        pu30 = 1;/*on donne une valeur au registre pu3*/
18
        t = p10;/* on donne une  valeur ? t*/
19
        p10 = 0x00;
20
        t = p10;
21
        while (1) {
22
                p10 = 0x0F;
23
                t = p10;
24
                
25
                
26
}