Go to the source code of this file.
◆ GPIO_Init()
Definition at line 21 of file blink_all_ports.c.
22{
31}
#define GPIO_P4_SetMode(__PINS__, __MODE__)
#define GPIO_P5_SetMode(__PINS__, __MODE__)
#define GPIO_P3_SetMode(__PINS__, __MODE__)
#define GPIO_P7_SetMode(__PINS__, __MODE__)
#define GPIO_P2_SetMode(__PINS__, __MODE__)
#define GPIO_P1_SetMode(__PINS__, __MODE__)
#define GPIO_P6_SetMode(__PINS__, __MODE__)
#define GPIO_P0_SetMode(__PINS__, __MODE__)
◆ main()
Definition at line 33 of file blink_all_ports.c.
34{
37
38 while(1)
39 {
40 P0 = 0xFF;
41 P1 = 0xFF;
42 P2 = 0xFF;
43 P3 = 0xFF;
44 P4 = 0xFF;
45 P5 = 0xFF;
46 P6 = 0xFF;
47 P7 = 0xFF;
49
50 P0 = 0x00;
51 P1 = 0x00;
52 P2 = 0x00;
53 P3 = 0x00;
54 P4 = 0x00;
55 P5 = 0x00;
56 P6 = 0x00;
57 P7 = 0x00;
59 }
60}
void SYS_Delay(uint16_t t)