42 [0] = {.
tecla =
TECLA1, .scu_port = 1U, .scu_pin = 0U, .scu_mode = (MD_PUP | MD_EZI | MD_ZI), .scu_func = FUNC0, .gpio_port = 0U, .gpio_pin = 4U, .pinint_selector = 0U, .pinint_mask = PININTCH0, .irqn = PIN_INT0_IRQn},
43 [1] = {.tecla =
TECLA2, .scu_port = 1U, .scu_pin = 1U, .scu_mode = (MD_PUP | MD_EZI | MD_ZI), .scu_func = FUNC0, .gpio_port = 0U, .gpio_pin = 8U, .pinint_selector = 1U, .pinint_mask = PININTCH1, .irqn = PIN_INT1_IRQn},
44 [2] = {.tecla =
TECLA3, .scu_port = 1U, .scu_pin = 2U, .scu_mode = (MD_PUP | MD_EZI | MD_ZI), .scu_func = FUNC0, .gpio_port = 0U, .gpio_pin = 9U, .pinint_selector = 2U, .pinint_mask = PININTCH2, .irqn = PIN_INT2_IRQn},
45 [3] = {.tecla =
TECLA4, .scu_port = 1U, .scu_pin = 6U, .scu_mode = (MD_PUP | MD_EZI | MD_ZI), .scu_func = FUNC0, .gpio_port = 1U, .gpio_pin = 9U, .pinint_selector = 3U, .pinint_mask = PININTCH3, .irqn = PIN_INT3_IRQn},
80 Chip_GPIO_Init(LPC_GPIO_PORT);
92 Chip_GPIO_SetDir(LPC_GPIO_PORT,
96 Chip_SCU_GPIOIntPinSel(
button_hw_[indice].pinint_selector,
99 Chip_PININT_ClearIntStatus(LPC_GPIO_PIN_INT,
button_hw_[indice].pinint_mask);
100 Chip_PININT_EnableIntLow(LPC_GPIO_PIN_INT,
button_hw_[indice].pinint_mask);
101 Chip_PININT_SetPinModeEdge(LPC_GPIO_PIN_INT,
button_hw_[indice].pinint_mask);
102 NVIC_ClearPendingIRQ(
button_hw_[indice].irqn);