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.

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

General-purpose timers<br />

Bit 3 TIM_ORRSVD<br />

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

Bit 2 TIM_CLKMSKEN<br />

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

1 = TIM2CLK is ANDed with the TIM2MSK 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 = TIM2CLK pin.<br />

10.3.17 Timer x interrupt configuration register (INT_TIMxCFG)<br />

Table 103.<br />

Address offset: 0xA840 (TIM1) and 0xA844 (TIM2)<br />

Reset value: 0x0000 0000<br />

Timer x interrupt configuration register (INT_TIMxCFG)<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 />

INT_TI<br />

MTIF<br />

Reserv<br />

ed<br />

INT_T<br />

IMCC<br />

4IF<br />

INT_TI<br />

MCC3I<br />

F<br />

INT_TI<br />

MCC2I<br />

F<br />

INT_TI<br />

MCC1I<br />

F<br />

INT_TI<br />

MUIF<br />

rw rw rw rw rw rw<br />

Bit 6 INT_TIMTIF: Trigger interrupt enable.<br />

Bit 4 INT_TIMCC4IF: Capture or compare 4 interrupt enable.<br />

Bit 3 INT_TIMCC3IF: Capture or compare 3 interrupt enable.<br />

Bit 2 INT_TIMCC2IF: Capture or compare 2 interrupt enable.<br />

Bit 1 INT_TIMCC1IF: Capture or compare 1 interrupt enable.<br />

Bit 0 INT_TIMUIF: Update interrupt enable.<br />

10.3.18 Timer x interrupt flag register (INT_TIMxFLAG)<br />

Table 104.<br />

Address offset: 0xA800 (TIM1) and 0xA804 (TIM2)<br />

Reset value: 0x0000 0000<br />

Timer x interrupt flag register (INT_TIMxFLAG)<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 />

INT_T INT_TI INT_TI INT_TI<br />

INT_TI<br />

INT_TI<br />

INT_TIMRSVD<br />

IMCC<br />

MTIF Reserv<br />

MCC3I MCC2I MCC1I<br />

MUIF<br />

Reserved<br />

ed<br />

4IF F F F<br />

r rw rw rw rw rw rw<br />

Doc ID 018587 Rev 2 158/215

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

Saved successfully!

Ooh no, something went wrong!