Chapter 6 Buffer memory
3) Average processing enable (Address 02)
- To use the average processing, set the corresponding bit as '1'.
- The default value is 0 (sampling processing).
bit15 bit14 bit13 bit12 bit11
–
–
–
4) Averaging count (Address 03 ~ 06)
- Assign the number of count that is used for the calculation of average value.
- Each channel can be set with different values.
- If the channel is not designated as average processing in address 02, the setting of
averaging count is ignored.
Address
03
04
05
06
5) Data enable (Address 07)
- By turning on the bit 0 of address 07, the contents of address 00 ~ 06 are validated.
- While the bit 0 of address 07 is off, the A/D module operates according to the previous
value of address 00 ~ 06 (channel enable, average processing enable, etc.) even if the
contents of address 00 ~ 06 is changed by CPU module.
bit15 bit14 bit13 bit12
–
–
–
bit10
bit9
bit8
–
–
–
–
–
Ignored
Description
The number of averaging count of channel 0.
The number of averaging count of channel 1.
The number of averaging count of channel 2.
The number of averaging count of channel 3.
bit11
bit10
bit9
bit8
–
–
–
–
–
Ignored
6 - 4
bit7
bit6
bit5
bit4
bit3
–
–
–
–
Ch3
average processing enable
0 : sampling processing
1 : average processing
bit7
bit6
bit5
bit4
bit3
–
–
–
–
bit2
bit1
bit0
Ch2
Ch1
Ch0
bit2
bit1
bit0
–
–
–
DE
Data enable
0 : Ignore new data
1 : Validate new data