32 #ifndef _IEC60730_GPIO_TEST_H_
33 #define _IEC60730_GPIO_TEST_H_
63 #define PORT_10 0x0200
64 #define PORT_11 0x0400
65 #define PORT_A PORT_1 + PORT_2
66 #define PORT_B PORT_3 + PORT_4
67 #define PORT_C PORT_5 + PORT_6
68 #define PORT_D PORT_7 + PORT_8
69 #define PORT_E PORT_9 + PORT_10
70 #define PORT_F PORT_11
106 #define PIN0_HIGH 0x0001
107 #define PIN1_HIGH 0x0002
108 #define PIN2_HIGH 0x0004
109 #define PIN3_HIGH 0x0008
110 #define PIN4_HIGH 0x0010
111 #define PIN5_HIGH 0x0020
112 #define PIN6_HIGH 0x0040
113 #define PIN7_HIGH 0x0080
114 #define PIN8_HIGH 0x0100
115 #define PIN9_HIGH 0x0200
116 #define PIN10_HIGH 0x0400
117 #define PIN11_HIGH 0x0800
118 #define PIN12_HIGH 0x1000
119 #define PIN13_HIGH 0x2000
120 #define PIN14_HIGH 0x4000
121 #define PIN15_HIGH 0x8000
122 #define PIN0_LOW 0x0000
123 #define PIN1_LOW 0x0000
124 #define PIN2_LOW 0x0000
125 #define PIN3_LOW 0x0000
126 #define PIN4_LOW 0x0000
127 #define PIN5_LOW 0x0000
128 #define PIN6_LOW 0x0000
129 #define PIN7_LOW 0x0000
130 #define PIN8_LOW 0x0000
131 #define PIN9_LOW 0x0000
132 #define PIN10_LOW 0x0000
133 #define PIN11_LOW 0x0000
134 #define PIN12_LOW 0x0000
135 #define PIN13_LOW 0x0000
136 #define PIN14_LOW 0x0000
137 #define PIN15_LOW 0x0000
150 uint16_t expectedValue);
uint8_t IEC60730_GPIO_TEST_testGpioOutput(uint16_t port, uint16_t gpioPin)
Definition: IEC60730_gpio_test.c:123
uint8_t IEC60730_GPIO_TEST_testGpioInput(uint16_t port, uint16_t gpioPin, uint16_t expectedValue)
Definition: IEC60730_gpio_test.c:401