Searched refs:ctrl_mod (Results 1 – 2 of 2) sorted by relevance
93 union _spi_ctrl_mod ctrl_mod; in spi_configure() local112 ctrl_mod.mst_sck_mod = MST_SCK_MOD_0; in spi_configure()114 ctrl_mod.mst_sck_mod = MST_SCK_MOD_3; in spi_configure()135 ctrl_mod.all_clear = 1; in spi_configure()136 sxreg->CTRL_MOD.reg = ctrl_mod.reg; in spi_configure()137 ctrl_mod.all_clear = 0; in spi_configure()138 sxreg->CTRL_MOD.reg = ctrl_mod.reg; in spi_configure()183 union _spi_ctrl_mod ctrl_mod; in spi_xfer() local213 sxreg->CTRL_MOD.reg = ctrl_mod.reg; in spi_xfer()214 ctrl_mod.all_clear = 0; in spi_xfer()[all …]
46 uint8_t ctrl_mod, polar; in pwm_channel_enable() local51 ctrl_mod = pxreg->CTRL_MOD.reg; in pwm_channel_enable()52 pxreg->CTRL_MOD.reg = ctrl_mod | (RB_PWM0_OUT_EN << channel); in pwm_channel_enable()57 ctrl_mod = pxreg->CTRL_MOD.reg; in pwm_channel_enable()58 polar = ctrl_mod & (RB_PWM0_POLAR << channel); in pwm_channel_enable()60 ctrl_mod &= ~(RB_PWM0_OUT_EN << channel); in pwm_channel_enable()61 pxreg->CTRL_MOD.reg = ctrl_mod; in pwm_channel_enable()
Completed in 5 milliseconds