make LCD display memory an array
This commit is contained in:
parent
b7d299d2a8
commit
521417bbb0
@ -19,30 +19,13 @@ block/LCD:
|
||||
byte_offset: 12
|
||||
access: Write
|
||||
fieldset: CLR
|
||||
- name: RAM_COM0
|
||||
- name: RAM_COM
|
||||
description: display memory
|
||||
array:
|
||||
len: 8
|
||||
stride: 8
|
||||
byte_offset: 20
|
||||
- name: RAM_COM1
|
||||
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: RAM_COM
|
||||
fieldset/CLR:
|
||||
description: clear register
|
||||
fields:
|
||||
@ -151,3 +134,12 @@ fieldset/SR:
|
||||
description: LCD Frame Control Register Synchronization flag
|
||||
bit_offset: 5
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user