EasyManua.ls Logo

Allwinner A20 - LRADC Block Diagram; LRADC Register List

Allwinner A20
812 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A20 User Manual (Revision 1.2) Copyright © 2013 Allwinner Technology Co., Ltd. All Rights Reserved. Page 191 / 812
1.14.2. LRADC Block Diagram
The LRADC converted data can by accessed by interrupt and polling method. If software can’t
access the last converted data instantly, the new converted data would update the old one at new
sampling data.
Hold Key and General Key Function Introduction
R
22
23
A D C _R E F
A D C _R E F
A D C _R E F
+
_
_
+
C o ntro l L og ic
KEY_D O W N _IR Q
H O LD _KEY_IR Q
A LR EA DY _H O LD _IR Q
24
25
26
LR AD C _IN
When ADC_IN Signal change from ADC_REF to 2/3 ADC_REF (Level A), the comparator24 sends
first interrupt to control logic; When ADC_IN Signal changes from 2/3 ADC_REF to certain level
(configurable), the comparator25 gives the second interrupt. If the control Logic gets the first interrupt,
in a certain time range (program can set), doesn’t get second interrupt, it will send hold key interrupt
to the host; If the control Logic get the first interrupt, In a certain time range (program can set), get
second interrupt, it will send key down interrupt to the host; If the control logic only get the second
interrupt, doesn’t get the first interrupt, it will send already hold interrupt to the host.
1.14.3. LRADC Register List
Module Name
Base Address
LRADC
0x01C22800

Table of Contents