Electronic Components Datasheet Search
  English  ▼

X  

MAC7200 Datasheet(PDF) 910 Page - Freescale Semiconductor, Inc

Part # MAC7200
Description  MAC7200 Microcontroller Family Reference Manual
PDF  976 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

MAC7200 Datasheet(HTML) 910 Page - Freescale Semiconductor, Inc

Back Button MAC7200 Datasheet HTML 906Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 907Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 908Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 909Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 910Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 911Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 912Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 913Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 914Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 910 / 976 page
background image
Functional Description
MAC7200 Microcontroller Family Reference Manual, Rev. 2
832
Freescale Semiconductor
34.7.2
Peripheral Mode
In Peripheral mode, the peripheral functionality associated with the pin(s) are under the control of the
peripheral itself.
Peripheral mode is set on a particular pin by setting the MODE bit in the pin’s corresponding CONFIGxx
register (See Section 34.8.1, “Using a Pin in Peripheral Mode,” for an example).
In Peripheral mode, the following register bits are unused:
•
DDR (CONFIGxx[6])
•
ODER (CONFIGxx[5])
•
PIER (CONFIGxx[1])
•
PIFR (CONFIGxx[0])
NOTE
Even though the above bits are unused in this mode, they can still be written
to. The new values will take effect once the mode of the pin is switched to
GPI or GPO mode.
In addition, the corresponding bit in the PIFR register will not be changed while the pin is in Peripheral
mode. While in Peripheral mode, the data registers PORTDATA, PORTIR and PINDATAxx may be used
as follows:
Figure 34-19 illustrates the anatomy of a single PIM pad cell in Peripheral mode.
Table 34-46. PIM Register Behavior in Peripheral Mode
Register
Write
Read
PORTDATA
Writing to the corresponding bit in the PORTDATA
register will not drive the value onto the pin, but it will
set/clear the bit in the register. When the pin is
switched to General Purpose Output mode, the new
value will be driven onto the pin.
The value read from the PORTDATA register in
Peripheral mode depends on the current setting of
the pin’s DDR (Data Direction) bit.
• DDR = 1 (Output) - Returns the actual value in the
current PORTDATA register.
• DDR = 0 (Input) - Returns the value driven on the
pin, synchronized to the system clock. This is
identical to reading the corresponding bit in the
PORTIR register.
PORTIR
Writing to the PORTIR register will have no effect, as
it is a read-only register in all modes.
Reading from the PORTIR register will return the
value on the pin. Note that this value is internally
synchronized to the system clock, and that there is a
two clock cycle delay between the changing of the
value on the pin, and the update of the PORTIR
register.
PINDATAxx
Writing to the PINDATAxx register is identical to
writing the corresponding bit in the PORTDATA
register.
Reading from the PINDATAxx register is identical to
reading the corresponding bit from the PORTDATA
register.



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