Motorola MSC8101 ADS User's Guide Page 205

  • Download
  • Add to my manuals
  • Print
  • Page
    / 346
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 204
MCC Configuration Basics
Multi-Channel Controllers (MCCs) 10-3
3. Configure the external interface:
a. Set up the parallel I/O pins.
b. Enable the TDM.
These steps map to the functionality flow of the software driver discussed in this chapter.
See Figure 10-2 for a listing of the driver functions.
Figure 10-2. Driver Functions
ExtIntHandler() provides an example interrupt handler. The handler checks the event that
causes the interrupt and, in the HDLC loopback modes, enables a memory check to ensure
that the received data is identical to the transmitted data. Table 10-1 shows examples of
functions that are useful in handling interrupts.
Table 10-1. Interrupt Handler Functions
Function Name Function Details
BDRxError() Identifies the reason for the Rx interrupt.
LastBD() Indicates whether this is the last buffer descriptor in the ring.
BDEmpty() Determines whether the buffer descriptor is empty.
ExtIntHandler()
BDRxError() LastBD() BDEmpty() GP01ed() GP11ed() FlashGP1Led()
main()
Load Tx
Buffers()
InitBDs() MCC Global
Init()
MCC ExChan
SpecInit()
MCCChan
SpecInit()
Interrupt
ControlInit()
SIInit() InitTxRx
Params()
ClockingInit() InitParallel
Ports()
Init_PHY()
Page view 204
1 2 ... 200 201 202 203 204 205 206 207 208 209 210 ... 345 346

Comments to this Manuals

No comments