Home
last modified time | relevance | path

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

/hal_ambiq-3.6.0/mcu/apollo4p/hal/
Dam_hal_gpio.h762 #define AM_HAL_MASK32(n) ((uint32_t)1 << ((n) & 0x1F)) macro
836 #define am_hal_gpio_output_clear(n) (*AM_HAL_GPIO_WTCn((n)) = AM_HAL_MASK32(n))
837 #define am_hal_gpio_output_set(n) (*AM_HAL_GPIO_WTSn((n)) = AM_HAL_MASK32(n))
842 (*AM_HAL_GPIO_WTn((n)) ^= AM_HAL_MASK32(n)); \
846 #define am_hal_gpio_output_tristate_output_dis(n) (*AM_HAL_GPIO_ENCn((n)) = AM_HAL_MASK32(n))
847 #define am_hal_gpio_output_tristate_output_en(n) (*AM_HAL_GPIO_ENSn((n)) = AM_HAL_MASK32(n))
852 (*AM_HAL_GPIO_ENn((n)) ^= AM_HAL_MASK32(n)); \