Electronic Components Datasheet Search
  English  ▼

X  

MAC7200 Datasheet(PDF) 779 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) 779 Page - Freescale Semiconductor, Inc

Back Button MAC7200 Datasheet HTML 775Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 776Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 777Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 778Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 779Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 780Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 781Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 782Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 783Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 779 / 976 page
background image
Functional Description
MAC7200 Microcontroller Family Reference Manual, Rev. 2
Freescale Semiconductor
701
32.13.1.1.1
General purpose Input/Output mode (GPIO) Mode
In GPIO mode, all input capture and output compare functions of the UC are disabled, the internal counter
(UCCNTn register) is cleared and disabled. All control bits remain accessible. In order to prepare the UC
for a new operation mode, writing to registers UCAn or UCBn stores the same value in registers A1/A2
or B1/B2, respectively.
MODE[0] bit selects between input (MODE[0] = 0) and output (MODE[0] = 1) modes.
It is required that when changing MODE[6:0], the application software goes to GPIO mode first in order
to reset the UC’s internal functions properly. Failure to do this could lead to invalid and unexpected output
compare or input capture results or the FLAGs being set incorrectly.
In GPIO input mode, the FLAG generation is determined according to EDPOL and EDSEL bits and the
input pin status can be determined by reading the UCIN bit.
In GPIO output mode, the Unified Channel is used as a single output port pin and the value of the EDPOL
bit is permanently transferred to the output flip-flop.
32.13.1.1.2
Single Action Input Capture (SAIC) Mode
In SAIC mode, when a triggering event occurs on the input pin, the value on the selected time base is
captured into register A2. At the same time, the FLAG bit is set to indicate that an input capture has
occurred. Register UCAn returns the value of register A2
The input capture is triggered by a rising, falling or either edges in the input pin, as configured by EDPOL
and EDSEL bits in UCCRn register.
Figure 32-14 shows how the Unified Channel can be used for input capture.
Figure 32-14. Single Action Input Capture example
32.13.1.1.3
Single Action Output Compare (SAOC) Mode
In SAOC mode a match value is loaded in register A2 and then transferred to register A1 to be compared
with the selected time base. When a match occurs, the EDSEL bit selects if the output flip-flop is toggled
or if the value in EDPOL is transferred to it. At the same time, the FLAG bit is set to indicate that the output
compare match has occurred. Writing to register UCAn stores the value in register A2 and reading to
register UCAn returns the value of register A1.
selected counter bus
$000500
$001000
$001100
$001250
$001525
$0016A0
FLAG set event
A2
(captured) value2
$xxxxxx
$001000
$001250
$0016A0
input signal1
Edge detect
Edge detect
Edge detect
Notes: 1. After input filter
2. UCAn <= A2



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