Home
last modified time | relevance | path

Searched refs:port_pin_pos (Results 1 – 2 of 2) sorted by relevance

/hal_microchip-latest/mec5/drivers/
Dmec_gpio.c676 uint32_t mec_hal_gpio_port_get_ctrl_nc(uint8_t port, uint8_t port_pin_pos) in mec_hal_gpio_port_get_ctrl_nc() argument
678 uint32_t pin = mec_hal_gpio_pin_num_nc(port, port_pin_pos); in mec_hal_gpio_port_get_ctrl_nc()
683 void mec_hal_gpio_port_set_ctrl_nc(uint8_t port, uint8_t port_pin_pos, in mec_hal_gpio_port_set_ctrl_nc() argument
686 uint32_t pin = mec_hal_gpio_pin_num_nc(port, port_pin_pos); in mec_hal_gpio_port_set_ctrl_nc()
1068 int mec_hal_gpio_port_pin_ia_enable(uint8_t port, uint8_t port_pin_pos, uint8_t enable) in mec_hal_gpio_port_pin_ia_enable() argument
1076 port_pin_pos &= 0x1fu; in mec_hal_gpio_port_pin_ia_enable()
1078 MEC_ECIA0->GIRQ[girq_idx].EN_SET = MEC_BIT(port_pin_pos); in mec_hal_gpio_port_pin_ia_enable()
1080 MEC_ECIA0->GIRQ[girq_idx].EN_CLR = MEC_BIT(port_pin_pos); in mec_hal_gpio_port_pin_ia_enable()
1099 int mec_hal_gpio_port_pin_ia_status_clear(uint8_t port, uint8_t port_pin_pos) in mec_hal_gpio_port_pin_ia_status_clear() argument
1107 MEC_ECIA0->GIRQ[girq_idx].SOURCE = MEC_BIT(port_pin_pos & 0x1fu); in mec_hal_gpio_port_pin_ia_status_clear()
Dmec_gpio_api.h351 uint32_t mec_hal_gpio_port_get_ctrl_nc(uint8_t port, uint8_t port_pin_pos);
352 void mec_hal_gpio_port_set_ctrl_nc(uint8_t port, uint8_t port_pin_pos, uint32_t ctrl_val);
383 int mec_hal_gpio_port_pin_ia_enable(uint8_t port, uint8_t port_pin_pos, uint8_t enable);
386 int mec_hal_gpio_port_pin_ia_status_clr(uint8_t port, uint8_t port_pin_pos);