Module cr1

Source
Expand description

control register 1

Structs§

CR1rs
control register 1

Enums§

ARPE
Auto-reload preload enable
CEN
Counter enable Note: Gated mode can work only if the CEN bit has been previously set by software. However trigger mode can set the CEN bit automatically by hardware. CEN is cleared automatically in one-pulse mode, when an update event occurs.
OPM
One-pulse mode
UDIS
Update disable This bit is set and cleared by software to enable/disable UEV event generation. Counter overflow/underflow Setting the UG bit Update generation through the slave mode controller Buffered registers are then loaded with their preload values.
URS
Update request source This bit is set and cleared by software to select the UEV event sources. Counter overflow/underflow Setting the UG bit Update generation through the slave mode controller

Type Aliases§

ARPE_R
Field ARPE reader - Auto-reload preload enable
ARPE_W
Field ARPE writer - Auto-reload preload enable
CEN_R
Field CEN reader - Counter enable Note: Gated mode can work only if the CEN bit has been previously set by software. However trigger mode can set the CEN bit automatically by hardware. CEN is cleared automatically in one-pulse mode, when an update event occurs.
CEN_W
Field CEN writer - Counter enable Note: Gated mode can work only if the CEN bit has been previously set by software. However trigger mode can set the CEN bit automatically by hardware. CEN is cleared automatically in one-pulse mode, when an update event occurs.
OPM_R
Field OPM reader - One-pulse mode
OPM_W
Field OPM writer - One-pulse mode
R
Register CR1 reader
UDIS_R
Field UDIS reader - Update disable This bit is set and cleared by software to enable/disable UEV event generation. Counter overflow/underflow Setting the UG bit Update generation through the slave mode controller Buffered registers are then loaded with their preload values.
UDIS_W
Field UDIS writer - Update disable This bit is set and cleared by software to enable/disable UEV event generation. Counter overflow/underflow Setting the UG bit Update generation through the slave mode controller Buffered registers are then loaded with their preload values.
UIFREMAP_R
Field UIFREMAP reader - UIF status bit remapping
UIFREMAP_W
Field UIFREMAP writer - UIF status bit remapping
URS_R
Field URS reader - Update request source This bit is set and cleared by software to select the UEV event sources. Counter overflow/underflow Setting the UG bit Update generation through the slave mode controller
URS_W
Field URS writer - Update request source This bit is set and cleared by software to select the UEV event sources. Counter overflow/underflow Setting the UG bit Update generation through the slave mode controller
W
Register CR1 writer