C
#define RCC_ROP_0 0x00000000ul #define RCC_ROP_1 0x00000008ul // not (S or D) #define RCC_ROP_2 0x00000010ul // (not S) and D #define RCC_ROP_3 0x00000018ul // not (S) #define RCC_ROP_4 0x00000020ul // S and not (D) #define RCC_ROP_5 0x00000028ul // not (D) #define RCC_ROP_6 0x00000030ul // S xor D #define RCC_ROP_7 0x00000038ul // not (S and D) #define RCC_ROP_8 0x00000040ul // S and D #define RCC_ROP_9 0x00000048ul // not (S xor D) #define RCC_ROP_A 0x00000050ul // D #define RCC_ROP_B 0x00000058ul // not (S) or D #define RCC_ROP_C 0x00000060ul // S #define RCC_ROP_D 0x00000068ul // S or not (D) #define RCC_ROP_E 0x00000070ul // S or D #define RCC_ROP_F 0x00000078ul // 1 (WHITE)
Overview
Raster Operation (ROP) option. Select one of the following 16 raster operation options whenever Rectangle Copy Processing Unit (RCCGPU) is used. The raster operation is performed on the source (S) and destination (D) data. and the result written to the destination (D).
- RCC_ROP_0 - 0 (BLACK)
- RCC_ROP_1 - not (S or D)
- RCC_ROP_2 - (not S) and D
- RCC_ROP_3 - not (S)
- RCC_ROP_4 - S and not (D))
- RCC_ROP_5 - not (D)
- RCC_ROP_6 - S xor D
- RCC_ROP_7 - not (S and D)
- RCC_ROP_8 - S and D
- RCC_ROP_9 - not (S xor D)
- RCC_ROP_A - D
- RCC_ROP_B - not (S) or D
- RCC_ROP_C - S
- RCC_ROP_D - S or not (D)
- RCC_ROP_E - S or D
- RCC_ROP_F - 1 (WHITE)