Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button MAC7200 Datasheet HTML 745Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 746Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 747Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 748Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 749Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 750Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 751Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 752Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 753Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 749 / 976 page
background image
Functional Description
MAC7200 Microcontroller Family Reference Manual, Rev. 2
Freescale Semiconductor
671
31.10.9.20 OVFL Description
The OVFL (LINRX Overflow) Flag will be set when a byte is received in the LINRX register before the
previous byte has been read. As the system is responsible for reading the register before a new byte arrives
this indicates a problem with CPU load. The flag can be cleared by writing it with 1.
31.10.10 Using the eSCI in 9-bit data mode
Sometimes it is desirable to set the 9th data bit for each write and to retrieve the 9th data bit for each read.
This can be accomplished by defining the data structure for the SCI Data Registers (see Figure 31-8 and
Figure 31-9) appropriately.
Normally the header files for the eSCI are defined as in the example below:
...
volatile reg8 sci_SCIDRH;
/* SCIx_REGISTER_MAP_OFFSET + 0x06 */
volatile reg8 sci_SCIDRL;
/* SCIx_REGISTER_MAP_OFFSET + 0x07 */
...
This format requires to access the data register with two writes or two reads, respectively - e.g.:
SCI_A->sci_SCIDRH = tx_dat8;
SCI_A->sci_SCIDRL = tx_dat7_0;
rx_dat8_0 = SCI_A->sci_SCIDRH <<1 | SCI_A->sci_SCIDRL;
For more efficient access the header files can be written like this:
...
volatile reg16 sci_SCIDR;
/* SCIx_REGISTER_MAP_OFFSET + 0x06 */
...
Now a single write or read can be used to access all 9 bits:
SCI_A->sci_SCIDR = tx_dat8_0;
rx_dat8_0 = SCI_A->SCIDR;
(Note that the 9th data bit is in position 6 for TX and position 7 for RX, so some re-formatting may be
necessary.)
If the 9th bit is unused or only written and read occassionally, the declaration with two 8 bit registers is
preferrable. However if the 9th bit needs to be written and read on every access to the SCI data register the
declaration with a single 16 bit register is more effecient.
31.10.11 Using the LIN hardware
The eSCI provides special support for the LIN protocol. It can be used to automate most tasks of a LIN
master. In conjunction with the DMA interface it is possible to transmit entire frames (or sequences of
frames) and receive data from LIN slaves without any CPU intervention. There is no special support for
LIN slave mode, if required it could be implemented in software.



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