Electronic Components Datasheet Search
  English  ▼

X  

C167CS Datasheet(PDF) 152 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) 152 Page - Infineon Technologies AG

Back Button C167CS Datasheet HTML 148Page - Infineon Technologies AG C167CS Datasheet HTML 149Page - Infineon Technologies AG C167CS Datasheet HTML 150Page - Infineon Technologies AG C167CS Datasheet HTML 151Page - Infineon Technologies AG C167CS Datasheet HTML 152Page - Infineon Technologies AG C167CS Datasheet HTML 153Page - Infineon Technologies AG C167CS Datasheet HTML 154Page - Infineon Technologies AG C167CS Datasheet HTML 155Page - Infineon Technologies AG C167CS Datasheet HTML 156Page - Infineon Technologies AG Next Button
Zoom Inzoom in Zoom Outzoom out
 152 / 517 page
background image
C167CS
Derivatives
Parallel Ports
User’s Manual
7-25
V2.0, 2000-07
Alternate Functions of Port 2
All Port 2 lines (P2.15 … P2.0) serve as capture inputs or compare outputs
(CC15IO … CC0IO)
for
the
CAPCOM1
unit.
The
upper
eight
Port 2
lines
(P2.15 … P2.8) also serve as external interrupt inputs EX7IN … EX0IN (16 TCL sample
rate).
When a Port 2 line is used as a capture input, the state of the input latch, which
represents the state of the port pin, is directed to the CAPCOM unit via the line “Alternate
Pin Data Input”. If an external capture trigger signal is used, the direction of the
respective pin must be set to input. If the direction is set to output, the state of the port
output latch will be read since the pin represents the state of the output latch. This can
be used to trigger a capture event through software by setting or clearing the port latch.
Note that in the output configuration, no external device may drive the pin, otherwise
conflicts would occur.
When a Port 2 line is used as a compare output (compare modes 1 and 3), the compare
event (or the timer overflow in compare mode 3) directly effects the port output latch. In
compare mode 1, when a valid compare match occurs, the state of the port output latch
is read by the CAPCOM control hardware via the line “Alternate Latch Data Input”,
inverted, and written back to the latch via the line “Alternate Data Output”. The port
output latch is clocked by the signal “Compare Trigger” which is generated by the
CAPCOM unit. In compare mode 3, when a match occurs, the value ‘1’ is written to the
port output latch via the line “Alternate Data Output”. When an overflow of the
corresponding timer occurs, a ‘0’ is written to the port output latch. In both cases, the
output latch is clocked by the signal “Compare Trigger”. The direction of the pin should
be set to output by the user, otherwise the pin will be in the high-impedance state and
will not reflect the state of the output latch.
As can be seen from the port structure below, the user software always has free access
to the port pin even when it is used as a compare output. This is useful for setting up the
initial level of the pin when using compare mode 1 or the double-register mode. In these
modes, unlike in compare mode 3, the pin is not set to a specific value when a compare
match occurs, but is toggled instead.
When the user wants to write to the port pin at the same time a compare trigger tries to
clock the output latch, the write operation of the user software has priority. Each time a
CPU write access to the port output latch occurs, the input multiplexer of the port output
latch is switched to the line connected to the internal bus. The port output latch will
receive the value from the internal bus and the hardware triggered change will be lost.
As all other capture inputs, the capture input function of pins P2.15 … P2.0 can also be
used as external interrupt inputs (sample rate 16 TCL) or as Fast External Interrupt
inputs (sample rate 2 TCL).
P2.15 in addition serves as input for CAPCOM2 timer T7 (T7IN).
Table 7-4 summarizes the alternate functions of Port 2.



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