50 #define LEDS_GPIO_PIN_MASK LEDS_ALL
58 for (i = 0; i < 8; i++) {
59 if (LEDS_GPIO_PIN_MASK & (1 << i)) {
72 leds_arch_set(
unsigned char leds)
Header file with register manipulation macro definitions.
#define IOC_OVERRIDE_OE
Output Enable.
#define GPIO_D_NUM
GPIO_D: 3.
#define GPIO_READ_PIN(PORT_BASE, PIN_MASK)
Read pins with PIN_MASK of port with PORT_BASE.
#define GPIO_WRITE_PIN(PORT_BASE, PIN_MASK, value)
Set pins with PIN_MASK of port with PORT_BASE to value.
#define GPIO_SET_OUTPUT(PORT_BASE, PIN_MASK)
Set pins with PIN_MASK of port with PORT_BASE to output.
Header file with declarations for the I/O Control module.
void leds_arch_init(void)
Leds implementation.
#define GPIO_D_BASE
GPIO_D.
void ioc_set_over(uint8_t port, uint8_t pin, uint8_t over)
Set Port:Pin override function.