Home
last modified time | relevance | path

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

/hal_gigadevice-latest/gd32e50x/standard_peripheral/source/
Dgd32e50x_gpio.c374 uint32_t remap1 = 0U, remap2 = 0U, temp_reg = 0U, temp_mask = 0U; in gpio_pin_remap_config() local
384 temp_mask = (remap & PCF_POSITION_MASK) >> 0x10U; in gpio_pin_remap_config()
392 remap2 = ((uint32_t)0x03U) << temp_mask; in gpio_pin_remap_config()
511 uint32_t remap1 = 0U, remap2 = 0U, temp_reg = 0U, temp_mask = 0U; in gpio_afio_port_config() local
516 temp_mask = (afio_function & PCF_POSITION_MASK) >> 0x10U; in gpio_afio_port_config()
521 remap2 = ((uint32_t)0x03U) << temp_mask; in gpio_afio_port_config()
/hal_gigadevice-latest/gd32vf103/standard_peripheral/source/
Dgd32vf103_gpio.c344 uint32_t remap1 = 0U, remap2 = 0U, temp_reg = 0U, temp_mask = 0U; in gpio_pin_remap_config() local
354 temp_mask = (remap & PCF_POSITION_MASK) >> 0x10U; in gpio_pin_remap_config()
363 remap2 = ((uint32_t) 0x03U) << temp_mask; in gpio_pin_remap_config()
/hal_gigadevice-latest/gd32f403/standard_peripheral/source/
Dgd32f403_gpio.c367 uint32_t remap1 = 0U, remap2 = 0U, temp_reg = 0U, temp_mask = 0U; in gpio_pin_remap_config() local
377 temp_mask = (remap & PCF_POSITION_MASK) >> 0x10U; in gpio_pin_remap_config()
385 remap2 = ((uint32_t)0x03U) << temp_mask; in gpio_pin_remap_config()
/hal_gigadevice-latest/gd32e10x/standard_peripheral/source/
Dgd32e10x_gpio.c356 uint32_t remap1 = 0U, remap2 = 0U, temp_reg = 0U, temp_mask = 0U; in gpio_pin_remap_config() local
366 temp_mask = (remap & PCF_POSITION_MASK) >> 0x10U; in gpio_pin_remap_config()
374 remap2 = ((uint32_t)0x03U) << temp_mask; in gpio_pin_remap_config()