Motor de Búsqueda de Datasheet de Componentes Electrónicos
Selected language     Spanish  ▼

Delete All
ON OFF
ALLDATASHEET.ES

X  

Preview PDF Download HTML

MC68HC08AS32A Datasheet(PDF) 94 Page - Motorola, Inc

No. de Pieza. MC68HC08AS32A
Descripción  Microcontrollers
Descarga  296 Pages
Scroll/Zoom Zoom In 100% Zoom Out
Fabricante  MOTOROLA [Motorola, Inc]
Página de inicio  http://www.freescale.com
Logo 

MC68HC08AS32A Datasheet(HTML) 94 Page - Motorola, Inc

Zoom Inzoom in Zoom Outzoom out
 94 / 296 page
background image
Byte Data Link Controller-Digital (BDLC-D)
Data Sheet
MC68HC08AS32A — Rev. 1
94
Byte Data Link Controller-Digital (BDLC-D)
MOTOROLA
Upon receiving a BDLC interrupt, the user can read the value within the BSVR,
transferring it to the CPU’s index register. The value can then be used to index
into a jump table, with entries four bytes apart, to quickly enter the appropriate
service routine. For example:
NOTE:
The NOPs are used only to align the JMPs onto 4-byte boundaries so that the value
in the BSVR can be used intact. Each of the service routines must end with an RTI
instruction to guarantee correct continued operation of the device. Note also that
the first entry can be omitted since it corresponds to no interrupt occurring.
The service routines should clear all of the sources that are causing the pending
interrupts. Note that the clearing of a high priority interrupt may still leave a lower
priority interrupt pending, in which case bits I0, I1, and I2 of the BSVR will then
reflect the source of the remaining interrupt request.
If fewer states are used or if a different software approach is taken, the jump
table can be made smaller or omitted altogether.
Table 4-5. BDLC Interrupt Sources
BSVR
I3
I2
I1
I0
Interrupt Source
Priority
$00
0
0
0
0
No interrupts pending
0 (lowest)
$04
0
0
0
1
Received EOF
1
$08
0
0
1
0
Received IFR byte (RXIFR)
2
$0C
0
0
1
1
BDLC Rx data register full (RDRF)
3
$10
0
1
0
0
BDLC Tx data register empty (TDRE)
4
$14
0
1
0
1
Loss of arbitration
5
$18
0
1
1
0
Cyclical redundancy check (CRC) error
6
$1C
0
1
1
1
Symbol invalid or out of range
7
$20
1
0
0
0
Wakeup
8 (highest)
Service
LDX
BSVR
Fetch State Vector Number
JMP
JMPTAB,X
Enter service routine,
*
(must end in RTI)
*
JMPTAB
JMP
SERVE0
Service condition #0
NOP
JMP
SERVE1
Service condition #1
NOP
JMP
SERVE2
Service condition #2
NOP
*
JMP
SERVE8
Service condition #8
END
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com


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




Enlace URL




Privacy Policy
ALLDATASHEET.ES
Does ALLDATASHEET help your business so far?  [ DONATE ]  

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Favorito   |   Intercambio de Enlaces   |   Lista de Fabricantes
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