make LCD display memory an array

This commit is contained in:
Jensenn 2022-05-06 14:26:20 -06:00
parent b7d299d2a8
commit 521417bbb0

View File

@ -19,30 +19,13 @@ block/LCD:
byte_offset: 12 byte_offset: 12
access: Write access: Write
fieldset: CLR fieldset: CLR
- name: RAM_COM0 - name: RAM_COM
description: display memory description: display memory
array:
len: 8
stride: 8
byte_offset: 20 byte_offset: 20
- name: RAM_COM1 fieldset: RAM_COM
description: display memory
byte_offset: 28
- name: RAM_COM2
description: display memory
byte_offset: 36
- name: RAM_COM3
description: display memory
byte_offset: 44
- name: RAM_COM4
description: display memory
byte_offset: 52
- name: RAM_COM5
description: display memory
byte_offset: 60
- name: RAM_COM6
description: display memory
byte_offset: 68
- name: RAM_COM7
description: display memory
byte_offset: 76
fieldset/CLR: fieldset/CLR:
description: clear register description: clear register
fields: fields:
@ -151,3 +134,12 @@ fieldset/SR:
description: LCD Frame Control Register Synchronization flag description: LCD Frame Control Register Synchronization flag
bit_offset: 5 bit_offset: 5
bit_size: 1 bit_size: 1
fieldset/RAM_COM:
description: "display memory"
fields:
- name: LOW
description: display memory low word
byte_offset: 0
- name: HIGH
description: display memory high word
byte_offset: 4