01.06.2014 Views

STM32W108C8

STM32W108C8

STM32W108C8

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

General-purpose timers<br />

<strong>STM32W108C8</strong><br />

10.3.15 Timer 1 option register (TIM1_OR)<br />

Table 101.<br />

Address offset: 0xE050<br />

Reset value: 0x0000 0000<br />

Timer 1 option register (TIM1_OR)<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16<br />

Reserved<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

TIM_O<br />

RRSV<br />

D<br />

TIM_C<br />

LKMS<br />

KEN<br />

TIM1_EXTRIGS<br />

EL<br />

rw rw rw<br />

Bit 3 TIM_ORRSVD<br />

Reserved: this bit must always be set to 0.<br />

Bit 2 TIM_CLKMSKEN<br />

Enables TIM1MSK when TIM1CLK is selected as the external trigger: 0 = TIM1MSK not used,<br />

1 = TIM1CLK is ANDed with the TIM1MSK input.<br />

Bits [1:0] TIM1_EXTRIGSEL<br />

Selects the external trigger used in external clock mode 2: 0 = PCLK, 1 = calibrated 1 kHz<br />

clock, 2 = 32 kHz reference clock (if available), 3 = TIM1CLK pin.<br />

10.3.16 Timer 2 option register (TIM2_OR)<br />

Table 102.<br />

Address offset: 0xF050<br />

Reset value: 0x0000 0000<br />

Timer 2 option register (TIM2_OR)<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16<br />

Reserved<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

TIM_R<br />

EMAP<br />

C4<br />

TIM_R<br />

EMAP<br />

C3<br />

TIM_R<br />

EMAPC<br />

2<br />

TIM_R<br />

EMAP<br />

C1<br />

TIM_O<br />

RRSV<br />

D<br />

TIM_C<br />

LKMS<br />

KEN<br />

TIM1_EXTRIGS<br />

EL<br />

rw rw rw rw rw rw rw<br />

Bit 7 TIM_REMAPC4<br />

Selects the GPIO used for TIM2_CH4: 0 = PA2, 1 = PB4.<br />

Bit 6 TIM_REMAPC3<br />

Selects the GPIO used for TIM2_CH3: 0 = PA1, 1 = PB3.<br />

Bit 5 TIM_REMAPC2<br />

Selects the GPIO used for TIM2_CH2: 0 = PA3, 1 = PB2.<br />

Bit 4 TIM_REMAPC1<br />

Selects the GPIO used for TIM2_CH1: 0 = PA0, 1 = PB1.<br />

157/215 Doc ID 018587 Rev 2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!