106 #define EX_EDGE_RISING 0 111 #define EX_EDGE_FALLING 1 116 #define EX_EDGE_BOTH 2 141 const void (code *
const callback)(
void)
using(1));
168 #define EX_EXINT0_P05 0 173 #define EX_EXINT3_P11 1 178 #define EX_EXINT0_P14 2 183 #define EX_EXINT5_P15 3 188 #define EX_EXINT6_P16 4 193 #define EX_EXINT3_P30 5 198 #define EX_EXINT4_P32 6 203 #define EX_EXINT5_P33 7 208 #define EX_EXINT6_P34 8 213 #define EX_EXINT4_P37 9 218 #define EX_EXINT3_P40 10 223 #define EX_EXINT4_P41 11 228 #define EX_EXINT6_P42 12 233 #define EX_EXINT5_P44 13 238 #define EX_EXINT6_P45 14 243 #define EX_EXINT1_P50 15 248 #define EX_EXINT2_P51 16 253 #define EX_EXINT5_P52 17 258 #define EX_EXINT1_P53 18 263 #define EX_EXINT2_P54 19 268 #define EX_EXINT3_P55 20 273 #define EX_EXINT4_P56 21 278 #define EX_EXINT6_P57 22 void hsk_ex_port_close(const hsk_ex_port port)
Disconnects an input port from an external interrupt.
Definition: hsk_ex.c:361
ubyte hsk_ex_port
Typedef for externel interrupt ports.
Definition: hsk_ex.h:154
ubyte hsk_ex_channel
Typedef for externel interrupt channels.
Definition: hsk_ex.h:32
void hsk_ex_port_open(const hsk_ex_port port)
Opens an input port for an external interrupt.
Definition: hsk_ex.c:243
void hsk_ex_channel_enable(const hsk_ex_channel channel, const ubyte edge, const void(*const callback)(void))
Enable an external interrupt channel.
Definition: hsk_ex.c:77
void hsk_ex_channel_disable(const hsk_ex_channel channel)
Disables an external interrupt channel.
Definition: hsk_ex.c:159