LG G4F-AD3A User Manual

Page 51

Advertising
background image

Chapter 6 Buffer memory

6 - 4

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 bit10 bit9

bit8

bit7

bit6

bit5

bit4

bit3

bit2

bit1

bit0

Ch3

Ch2

Ch1

Ch0

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

Description

03

The number of averaging count of channel 0.

04

The number of averaging count of channel 1.

05

The number of averaging count of channel 2.

06

The number of averaging count of channel 3.

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 bit11 bit10 bit9

bit8

bit7

bit6

bit5

bit4

bit3

bit2

bit1

bit0

DE

average processing enable
0 : sampling processing
1 : average processing

Ignored

Data enable

0 : Ignore new data
1 : Validate new data

Ignored

Advertising
This manual is related to the following products: