Mcc Exceptions - Motorola MPC8260 PowerQUICC II User Manual

Motorola processor users manual
Table of Contents

Advertisement

Table 27-12 describes receive commands.
Command
Forces the receiver of the selected channel to terminate reception. After this command is executed, the
STOP
CP does not change the receive parameters in the dual-port RAM. The user must initialize the channel
RECEIVE
receive parameters in order to restart reception.
Initializes all receive parameters in this MCC parameter RAM to their reset state. Should be issued only
INIT RX
when the receiver is disabled. Note that the MCC initialize commands initialize only the 32 consecutive
PARAMETERS
channels starting with the channel number speciÞed in CPCR[MCN]. To initialize more than 32
channels, reissue the command with the appropriate channel numbers. Note also the
PARAMETERS

27.10 MCC Exceptions

MCC interrupt handling involves two main data structures, the MCC event register
(described in Section 27.10.1, ÒMCC Event Register (MCCE)/Mask Register (MCCM))
and the interrupt circular tables, shown in Figure 27-12.
Interrupt Table Entry
T/RINTBASE
Software Pointer
T/RINTPTR
There is one table for transmitter interrupts and from one to four tables for receiver
interrupts. Each channel is programmed to report receiver interrupts in one of the receiver
tables. This way receiver interrupts can be sorted, for example, by priority. Each interrupt
circular table must be least two entries long.
T/RINTBASE and T/RINTPTR, which are user-initialized global MCC parameters (See
Section 27.3, ÒGlobal MCC ParametersÓ), point to the starting location of the table (in
external memory) and the current empty position (initialized at the top of the table)
available to the CP. All the entries in the table must be user-initialized with 0x00000000,
except for the last one which must be initialized with 0x40000000 (W = 1, thus deÞning the
MOTOROLA
Table 27-12. Receive Commands
command can be used to reset both the receive and transmit parameters.
0
1
V=0
W=0
V=0
W=0
V=0
W=0
V=0
W=0
V=1
W=0
V=1
W=0
V=0
W=0
V=0
W=0
V=0
W=1
Figure 27-12. Interrupt Circular Table
Chapter 27. Multi-Channel Controllers (MCCs)
Part IV. Communications Processor Module
Description
2Ð17
Interrupt Flags
Channel Number
Interrupt Flags
Channel Number
Interrupt Flags
Channel Number
Interrupt Flags
Channel Number
Interrupt Flags
Channel Number
Interrupt Flags
Channel Number
Interrupt Flags
Channel Number
Interrupt Flags
Channel Number
Interrupt Flags
Channel Number
INIT TX AND RX
18Ð25
26Ð31
27-17

Advertisement

Table of Contents
loading

Table of Contents