Electronic Components Datasheet Search
  English  ▼

X  

SAFC161PI Datasheet(PDF) 134 Page - Infineon Technologies AG

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

SAFC161PI Datasheet(HTML) 134 Page - Infineon Technologies AG

Back Button SAFC161PI Datasheet HTML 130Page - Infineon Technologies AG SAFC161PI Datasheet HTML 131Page - Infineon Technologies AG SAFC161PI Datasheet HTML 132Page - Infineon Technologies AG SAFC161PI Datasheet HTML 133Page - Infineon Technologies AG SAFC161PI Datasheet HTML 134Page - Infineon Technologies AG SAFC161PI Datasheet HTML 135Page - Infineon Technologies AG SAFC161PI Datasheet HTML 136Page - Infineon Technologies AG SAFC161PI Datasheet HTML 137Page - Infineon Technologies AG SAFC161PI Datasheet HTML 138Page - Infineon Technologies AG Next Button
Zoom Inzoom in Zoom Outzoom out
 134 / 400 page
background image
&3,
3DUDOOHO 3RUWV
User’s Manual
7-8
1999-08
On most of the port lines, the user software is responsible for setting the proper direction
when using an alternate input or output function of a pin. This is done by setting or
clearing the direction control bit DPx.y of the pin before enabling the alternate function.
There are port lines, however, where the direction of the port line is switched
automatically. For instance, in the multiplexed external bus modes of PORT0, the
direction must be switched several times for an instruction fetch in order to output the
addresses and to input the data. Obviously, this cannot be done through instructions. In
these cases, the direction of the port line is switched automatically by hardware if the
alternate function of such a pin is enabled.
To determine the appropriate level of the port output latches check how the alternate
data output is combined with the respective port latch output.
There is one basic structure for all port lines with only an alternate input function. Port
lines with only an alternate output function, however, have different structures due to the
way the direction of the pin is switched and depending on whether the pin is accessible
by the user software or not in the alternate function mode.
All port lines that are not used for these alternate functions may be used as general
purpose IO lines. When using port pins for general purpose output, the initial output
value should be written to the port latch prior to enabling the output drivers, in order to
avoid undesired transitions on the output pins. This applies to single pins as well as to
pin groups (see examples below).
OUTPUT_ENABLE_SINGLE_PIN:
BSET
P4.0
;Initial output level is ’high’
BSET
DP4.0
;Switch on the output driver
OUTPUT_ENABLE_PIN_GROUP:
BFLDL
P4, #05H, #05H
;Initial output level is ’high’
BFLDL
DP4, #05H, #05H
;Switch on the output drivers
Note: When using several BSET pairs to control more pins of one port, these pairs must
be separated by instructions, which do not reference the respective port (see
“Particular Pipeline Effects” in chapter “The Central Processing Unit”).
Each of these ports and the alternate input and output functions are described in detail
in the following subsections.



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