
The capture / compare units
UM0404
DocID13284 Rev 2
16
The capture / compare units
The ST10F276 provides two, almost identical, Capture / Compare (CAPCOM) units, which
differ only in the way they are connected to the I/O pins. They provide 32 channels which
interact with 4 timers. The CAPCOM units
capture
the contents of a timer, on specific
internal or external events, or they
compare
a timer’s content with given values and modify
output signals in case of a match. They support generation and control of timing sequences
of up to 16 channels per unit with a minimum of software intervention. For programming, the
term 'CAPCOM unit' refers to a set of SFRs associated to the peripheral, including the port
pins which may be used for alternate input / output functions including their direction control
bits.