Infineon Technologies C166S V2 User Manual page 144

16-bit microcontroller
Table of Contents

Advertisement

Table 5-3
PEC Channel Actions
Previous
Modified
COUNT Field
COUNT Field
Value
Value
FF
FF
H
FE
...02
FD
H
H
01
00
H
00
00
H
The Increment Control Field (INC) of the PECCx register defines when ether one or
both of the PEC pointers must be incremented after the PEC transfer. If the pointers are
not to be modified (INC='00'), the respective channel will always move data from the
same source to the same destination.
Channel Link Mode (CL bit)
Channel linking allows to perform PEC data transfers via a pair of two PEC channels,
that are switched rotationaly, to provide the possibility of data chaining. The linked
transfer is in principal the same as described for standard PEC but if the transfer of a
linked channel has finished by decrementing the transfer count to zero the PEC
controller automatically switches to the partner channel of the pair. While the data
User Manual
Action of PEC Channel
and Comments
Move a Byte/Word
H
Continuous transfer mode; COUNT is not modified
...01
Move a Byte/Word and decrement COUNT
H
H
Move a Byte/Word
H
Depending on bit EOPINT, one of two different
actions are taken:
EOPINT = 0 (compatible mode)
The service request flag (xxIR) of the respective
interrupt remains set (it is cleared for all other
COUNT values). Therefore, an additional interrupt
request is triggered on the next arbitration cycle with
a COUNT field value of '00
EOPINT = 1
The service request flag (xxIR) of the respective
interrupt is cleared. Additionally, the interrupt
request flag of the EOP sub node (PECISNC.CxIR)
is set. Furthermore, the interrupt request flag of the
end of PEC interrupt node (EOPIC.EOPIR) is
automatically set if the sub node request is enabled
(PECISNC.CxIE = 1).
(see also
No PEC action
H
A normal interrupt is requested instead of a PEC
data transfer (see also
Interrupt and Exception Handling
Section
5.4.3)
Section
5-144
User Manual
C166S V2
' (see next raw)
H
5.4.3).
V 1.7, 2001-01

Advertisement

Table of Contents
loading

Table of Contents