Home
last modified time | relevance | path

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

/device/soc/asrmicro/asr582x/liteos_m/sdk/drivers/driver/src/
Dduet_pinmux.c20 …uint32_t pad_reg_addr = PINMUX_REG_BASE + 4 * (pad_num >> 3); // pinmux register address of pad pa… in duet_pinmux_config() local
562 *(volatile uint32_t *)(pad_reg_addr) &= ~(0xf << reg_offset); // mask in duet_pinmux_config()
563 *(volatile uint32_t *)(pad_reg_addr) |= (pad_func_value << reg_offset); // set pinmux value in duet_pinmux_config()