Electronic Components Datasheet Search
  English  ▼

X  

C167CS Datasheet(PDF) 332 Page - Infineon Technologies AG

Part # C167CS
Description  16-Bit Single-Chip Microcontroller
PDF  517 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  INFINEON [Infineon Technologies AG]
Direct Link  http://www.infineon.com
Logo INFINEON - Infineon Technologies AG

C167CS Datasheet(HTML) 332 Page - Infineon Technologies AG

Back Button C167CS Datasheet HTML 328Page - Infineon Technologies AG C167CS Datasheet HTML 329Page - Infineon Technologies AG C167CS Datasheet HTML 330Page - Infineon Technologies AG C167CS Datasheet HTML 331Page - Infineon Technologies AG C167CS Datasheet HTML 332Page - Infineon Technologies AG C167CS Datasheet HTML 333Page - Infineon Technologies AG C167CS Datasheet HTML 334Page - Infineon Technologies AG C167CS Datasheet HTML 335Page - Infineon Technologies AG C167CS Datasheet HTML 336Page - Infineon Technologies AG Next Button
Zoom Inzoom in Zoom Outzoom out
 332 / 517 page
background image
C167CS
Derivatives
The Capture/Compare Units
User’s Manual
16-14
V2.0, 2000-07
16.5
Compare Modes
The compare modes allow triggering of events (interrupts and/or output signal
transitions) with minimum software overhead. In all compare modes, the 16-bit value
stored in compare register CCx (in the following also referred to as ‘compare value’) is
continuously compared with the contents of the allocated timer (T0/T1 or T7/T8). If the
current timer contents match the compare value, an appropriate output signal, which is
based on the selected compare mode, can be generated at the corresponding output pin
CCxIO and the associated interrupt request flag CCxIR is set, which can generate an
interrupt request (if enabled).
As for capture mode, the compare registers are also processed sequentially during
compare mode. When two or more compare registers are programmed to the same
compare value, their corresponding interrupt request flags will be set to ‘1’ and the
selected output signals will be generated within 8 CPU clock cycles after the allocated
timer is incremented to this compare value. Further compare events on the same
compare value are disabled1) until the timer is incremented again or written to by
software. After a reset, compare events for register CCx will only become enabled, if the
allocated timer has been incremented or written to by software and one of the compare
modes described in the following has been selected for this register.
The different compare modes which can be programmed for a given compare register
CCx are selected by the mode control field CCMODx in the associated capture/compare
mode control register. In the following, each of the compare modes, including the special
‘double-register’ mode, is discussed in detail.
Compare Mode 0
This is an interrupt-only mode which can be used for software timing purposes. Compare
mode 0 is selected for a given compare register CCx by setting bit field CCMODx of the
corresponding mode control register to ‘100B’.
In this mode, the interrupt request flag CCxIR is set each time a match is detected
between the content of compare register CCx and the allocated timer. Several of these
compare events are possible within a single timer period, when the compare value in
register CCx is updated during the timer period. The corresponding port pin CCxIO is not
affected by compare events in this mode and can be used as general purpose IO pin.
If compare mode 0 is programmed for one of the registers CC8 … CC15 or
CC24 … CC31, the double-register compare mode becomes enabled for this register if
the corresponding bank 1 register is programmed to compare mode 1 (see “Double-
Register Compare Mode” on Page 16-19).
1) Compare events are detected sequentially, where a sequence (checking 8 times 2 channels each) takes
8 CPU clock cycles. Even if more sequences are executed before the timer increments (lower timer frequency)
a given compare value only results in one single compare event.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com