Home
last modified time | relevance | path

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

/hal_microchip-latest/mec5/drivers/
Dmec_gpio.c516 uint32_t ctrl2 = MEC_GPIO->CTL2[pin]; in mec_hal_gpio_set_props()
531 MEC_GPIO->CTL2[pin] = ctrl2; in mec_hal_gpio_set_props()
632 MEC_GPIO->CTL2[pin] = ctrl; in mec_hal_gpio_pin_config()
745 *ctrl2 = MEC_GPIO->CTL2[pin]; in mec_hal_gpio_get_ctrl2()
758 MEC_GPIO->CTL2[pin] = new_ctrl2; in mec_hal_gpio_set_ctrl2()
770 MEC_GPIO->CTL2[pin] = (MEC_GPIO->CTL2[pin] & ~mask) | (val & mask); in mec_hal_gpio_ctrl2_mask()
783 return (int)((MEC_GPIO->CTL2[pin] & MEC_GPIO_CTL2_SLR_Msk) >> MEC_GPIO_CTL2_SLR_Pos); in mec_hal_gpio_get_slew_rate()
807 MEC_GPIO->CTL2[pin] = ((MEC_GPIO->CTL2[pin] & ~(MEC_GPIO_CTL2_SLR_Msk)) in mec_hal_gpio_set_slew_rate()
821 return (int)((MEC_GPIO->CTL2[pin] & MEC_GPIO_CTL2_DRVSTR_Msk) >> MEC_GPIO_CTL2_DRVSTR_Pos); in mec_hal_gpio_get_drive_strength()
851 MEC_GPIO->CTL2[pin] = ((MEC_GPIO->CTL2[pin] & ~(MEC_GPIO_CTL2_DRVSTR_Msk)) in mec_hal_gpio_set_drive_strength()
/hal_microchip-latest/mec5/devices/common/
Dmec5_gpio_8f_6port_v1_5.h25 …__IOM uint32_t CTL2[192]; /*!< (@ 0x00000500) GPIO n Control 2: Drive str. and… member