
Picaso Processor
Datasheet
©
2017 4D Labs Semiconductors
Page 17 of 27
www.4dsystems.com.au
Picaso System Registers and Flags (continued…)
LABEL
ADDRESS
USAGE
DEC
HEX
GFX_VECT_Y1
72
0x48
GFX_VECT_X2
73
0x49
GFX_VECT_Y2
74
0x4A
GFX_THUMB_PERCENT
75
0x4B
size of slider thumb as percentage
GFX_THUMB_BORDER_DARK
76
0x4C
darker shadow of thumb
GFX_THUMB_BORDER_LIGHT
77
0x4D
lighter shadow of thumb
TOUCH_XMINCAL
78
0x4E
touch calibration value
TOUCH_YMINCAL
79
0x4F
touch calibration value
TOUCH_XMAXCAL
80
0x50
touch calibration value
TOUCH_YMAXCAL
81
0x51
touch calibration value
IMG_WIDTH
82
0x52
width of currently loaded image
IMG_HEIGHT
83
0x53
height of currently loaded image
IMG_FRAME_DELAY
84
0x54
if image, else inter frame delay for movie
IMG_FLAGS
85
0x55
bit 4 determines colour mode, other bits reserved
IMG_FRAME_COUNT
86
0x56
count of frames in a movie
IMG_PIXEL_COUNT_LO
87
0x57
count of pixels in the current frame
IMG_PIXEL_COUNT_HI
88
0x58
count of pixels in the current frame
IMG_CURRENT_FRAME
89
0x59
last frame shown
MEDIA_ADDRESS_LO
90
0x5A
micro-SD byte address LO
MEDIA_ADDRESS_HI
91
0x5B
micro-SD byte address HI
MEDIA_SECTOR_LO
92
0x5C
micro-SD sector address LO
MEDIA_SECTOR_HI
93
0x5D
micro-SD sector address HI
MEDIA_SECTOR_COUNT
94
0x5E
micro-SD number of bytes remaining in sector
TEXT_XPOS
95
0x5F
text current x pixel position
TEXT_YPOS
96
0x60
text current y pixel position
TEXT_MARGIN
97
0x61
text left pixel pos for carriage return
TXT_FONT_TYPE
98
0x62
font type, 0 = system font, else pointer to user font
TXT_FONT_MAX
99
0x63
max number of chars in font
TXT_FONT_OFFSET
100
0x64
starting offset (normally 0x20)
TXT_FONT_WIDTH
101
0x65
current font width
TXT_FONT_HEIGHT
102
0x66
Current font height
GFX_TOUCH_REGION_X1
103
0x67
touch capture region
GFX_TOUCH_REGION_Y
104
0x68
GFX_TOUCH_REGION_X2
105
0x69
GFX_TOUCH_REGION_Y2
106
0x6A
GFX_CLIP_LEFT_VAL
107
0x6B
left clipping point (set with gfx_ClipWindow(...)
GFX_CLIP_TOP_VAL
108
0x6C
top clipping point (set with gfx_ClipWindow(...)
GFX_CLIP_RIGHT_VAL
109
0x6D
right clipping point (set with gfx_ClipWindow(...)
GFX_CLIP_BOTTOM_VAL
110
0x6E
bottom clipping point (set with gfx_ClipWindow(...)
GFX_CLIP_LEFT
111
0x6F
current clip value (reads full size if clipping turned off)
GFX_CLIP_TOP
112
0x70
current clip value (reads full size if clipping turned off)
GFX_CLIP_RIGHT
113
0x71
current clip value (reads full size if clipping turned off)
GFX_CLIP_BOTTOM
114
0x72
current clip value (reads full size if clipping turned off)
GRAM_PIXEL_COUNT_LO
115
0x73
LO word of count of pixels in the set GRAM area
GRAM_PIXEL_COUNT_HI
116
0x74
HI word of count of pixels in the set GRAM area
NOTE: These registers are accessible with
peekW
and
pokeW
functions.