Searched refs:iopin (Results 1 – 2 of 2) sorted by relevance
28 static inline void iopin_set_high(iopin_t *iopin) in iopin_set_high() argument32 if (iopin->port == IOPIN_PORTA) { in iopin_set_high()35 setbits_be16(datp, 1 << (15 - iopin->pin)); in iopin_set_high()36 } else if (iopin->port == IOPIN_PORTB) { in iopin_set_high()39 setbits_be32(datp, 1 << (31 - iopin->pin)); in iopin_set_high()40 } else if (iopin->port == IOPIN_PORTC) { in iopin_set_high()43 setbits_be16(datp, 1 << (15 - iopin->pin)); in iopin_set_high()44 } else if (iopin->port == IOPIN_PORTD) { in iopin_set_high()47 setbits_be16(datp, 1 << (15 - iopin->pin)); in iopin_set_high()51 static inline void iopin_set_low(iopin_t *iopin) in iopin_set_low() argument[all …]
178 iopin_t iopin; in do_iopset() local237 iopin.port = port; in do_iopset()238 iopin.pin = pin; in do_iopset()239 iopin.flag = 0; in do_iopset()243 iopin_set_out(&iopin); in do_iopset()245 iopin_set_in(&iopin); in do_iopset()249 iopin_set_ded(&iopin); in do_iopset()251 iopin_set_gen(&iopin); in do_iopset()255 iopin_set_opt2(&iopin); in do_iopset()257 iopin_set_opt1(&iopin); in do_iopset()[all …]