Ch6_buffer memory.pdf – LG G4F-AD3A User Manual
Page 48
Chapter 6 Buffer memory
6 - 1
6 Buffer memory
The A/D module has buffer memory used for data exchange with CPU module. This chapter
describes the configuration and contents of buffer memory.
6.1 The configuration of buffer memory
6.1.1 G6F-AD2A
Address
(decimal)
Name
Description
Default
value
Remark
00
Channel enable
Enable / disable channel operation
h00
R / W
1
01
Output data range
Assign the range of digital output value
h00
R / W
02
Average count
processing enable
Enable / disable average count processing
per each channel
h00
R / W
03
Avg. count of Ch0
Assign the count of Avg. processing of Ch0
h02
R / W
04
Avg. count of Ch1
Assign the count of Avg. processing of Ch1
h02
R / W
05
Avg. count of Ch2
Assign the count of Avg. processing of Ch2
h02
R / W
06
Avg. count of Ch3
Assign the count of Avg. processing of Ch3
h02
R / W
07
Data enable
Make enable the new setting of buffer 0 ~ 6
h00
R / W
08
Ch0 digital output value
Digital output value of channel 0
-
R
2
09
Ch1 digital output value
Digital output value of channel 1
-
R
10
Ch2 digital output value
Digital output value of channel 2
-
R
11
Ch3 digital output value
Digital output value of channel 3
-
R
12
Channel status
Indicate run/stop of each channel
-
R
13
Ch0 error code
Shows error code when an error occurred
on channel 0
-
R
14
Ch1 error code
Shows error code when an error occurred
on channel 1
-
R
15
Ch2 error code
Shows error code when an error occurred
on channel 2
-
R
16
Ch3 error code
Shows error code when an error occurred
on channel 3
-
R
* All 16-bit data
1
R/W
: Read and write are both available
2
R
: Read only