![Infineon Technologies TC1784 User Manual Download Page 785](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_2055446785.webp)
TC1784
Peripheral Control Processor (PCP)
User´s Manual
10-120
V1.1, 2011-05
PCP, V2.09
10.18.28 PRAM Bit Operations
This section describes the MCLR and MSET instructions of the PCP.
Note: MCLR and MSET are read/modify/write operations that cannot be interrupted by
an access from another FPI master. They can be used to implement semaphore
systems.
MCLR
Syntax
MCLR.PI Ra, [#offset6]
Description
Perform an ‘AND’ of the contents of the specified register with
the contents of the PRAM location specified by the addition of
contents of the PRAM Data Pointer, shifted left by six bits,
and the zero-extended 6-bit value offset. Write the result back
to the PRAM location.
Operation
R[a] = R[a].AND.PRAM[DPTR<<6 + #offset6]
PRAM[DPTR<<6 + #offset6] = R[a]
Flags
N, Z
MSET
Syntax
MSET.PI Ra, [#offset6]
Description
Perform an ‘OR’ of the contents of the specified register with
the contents of the PRAM location specified by the addition of
contents of the PRAM Data Pointer, shifted left by six bits,
and the zero-extended 6-bit value offset. Write the result back
to the PRAM location.
Operation
R[a] = R[a].OR.PRAM[DPTR<<6 + #offset6]
PRAM[DPTR<<6 + #offset6] = R[a]
Flags
N, Z
Summary of Contents for TC1784
Page 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Page 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Page 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...