Type Definition stm32g0::stm32g0c1::tim16::egr::CC1G_W

source · []
pub type CC1G_W<'a, const O: u8> = BitWriter<'a, u32, EGR_SPEC, bool, O>;
Expand description

Field CC1G writer - Capture/Compare 1 generation This bit is set by software in order to generate an event, it is automatically cleared by hardware. If channel CC1 is configured as output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If channel CC1 is configured as input: The current value of the counter is captured in TIMx_CCR1 register. The CC1IF flag is set, the corresponding interrupt or DMA request is sent if enabled. The CC1OF flag is set if the CC1IF flag was already high.