Infineon Technologies C166S V2 User Manual page 146

16-bit microcontroller
Table of Contents

Advertisement

SRCPx
15
Source Pointer
23
16 15
Segment Address
x = 7...0, depending on PEC channel number
Figure 5-5
PEC Pointer Address Handling
The 24-bit destination address is stored in the register DSTPx (lower 16 bits of address)
and in the low byte of register PECSEGx (highest 8 address bits). Only the lower 16 bits
of the PEC address pointers (segment offset) can be modified (incremented) by the PEC
transfer mechanism. The highest 8 bits, which represent the segment number, are not
modified by hardware. Therefore, the PEC pointers may be incremented within the
address space of one segment and may not cross the segment border. If the offset
address pointer gets the 'FFFF
in the case of word transfers (BWT = 0), the next increment will be disregarded. The
address register will keep one of these maximum values and no overflow will happen.
The described behavior protects the memory from unintentional overwriting. No explicit
error event is generated by the system in case of address pointer(s) saturation;
therefore, it is the user's responsibility to prevent this condition.
Note: PEC data transfers do not use the data page pointers DPP3...DPP0.
Note: If a word data transfer is selected for a specific PEC channel (BWT = 0), the
respective source and destination pointers must both contain a valid word address
User Manual
PECSEGx
SRCSEGx
15
SRCPx
0
0
Segment Offset
Data Transfer
' value in the case of byte transfers (BWT = 1) or 'FFFE
H
5-146
Interrupt and Exception Handling
DSTSEGx
8 7
0
DSTPx
15
Destination Pointer
23
16 15
Segment Address
User Manual
C166S V2
DSTPx
0
0
Segment Offset
H
V 1.7, 2001-01
'

Advertisement

Table of Contents
loading

Table of Contents