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 />

Figure 28. Control circuit in external clock mode 2<br />

10.1.4 Capture/compare channels<br />

Each capture/compare channel is built around a capture/compare register including a<br />

shadow register, an input stage for capture with digital filter, multiplexing and prescaler, and<br />

an output stage with comparator and output control.<br />

Figure 29 gives an overview of one capture/compare channel. The input stage samples the<br />

corresponding TIy input to generate a filtered signal (TIyF). Then an edge detector with<br />

polarity selection generates a signal (TIyFPy) which can be used either as trigger input by<br />

the slave mode controller or as the capture command. It is prescaled before the capture<br />

register (ICyPS).<br />

Figure 29.<br />

Capture/compare channel (example: channel 1 input stage)<br />

The output stage generates an intermediate reference signal, OCyREF, which is only used<br />

internally. OCyREF is always active high, but it may be inverted to create the output signal,<br />

OCy, that controls a GPIO output.<br />

121/215 Doc ID 018587 Rev 2

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

Saved successfully!

Ooh no, something went wrong!