User manual

...the world's most energy friendly microcontrollers
2012-04-24 - Giant Gecko Family - d0053_Rev0.96 632
www.energymicro.com
Offset Name Type Description
0x3B8 LESENSE_CH15_EVAL RW Scan configuration
25.5 Register Description
25.5.1 LESENSE_CTRL - Control Register (Async Reg)
For more information about Asynchronous Registers please see Section 5.3 (p. 20) .
Offset Bit Position
0x000
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reset
0
0x0
0
0
0
0
0
0
0
0x0
0x0
0x0
Access
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
Name
DEBUGRUN
DMAWU
BUFIDL
STRSCANRES
BUFOW
DUALSAMPLE
ALTEXMAP
ACMP1INV
ACMP0INV
SCANCONF
PRSSEL
SCANMODE
Bit Name Reset Access Description
31:23 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
22 DEBUGRUN 0 RW Debug Mode Run Enable
Set to keep LESENSE running in debug mode.
Value Description
0 LESENSE can not start new scans in debug mode
1 LESENSE can start new scans in debug mode
21:20 DMAWU 0x0 RW DMA wakeup from EM2
Value Mode Description
0 DISABLE No DMA wakeup from EM2
1 BUFDATAV DMA wakeup from EM2 when data is valid in the result buffer
2 BUFLEVEL DMA wakeup from EM2 when the result buffer is full/halffull depending on BUFIDL
configuration
19 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
18 BUFIDL 0 RW Result buffer interrupt and DMA trigger level
Value Mode Description
0 HALFFULL DMA and interrupt flags set when result buffer is halffull
1 FULL DMA and interrupt flags set when result buffer is full
17 STRSCANRES 0 RW Enable storing of SCANRES
When set, SCANRES will be stored in the result buffer after each scan
16 BUFOW 0 RW Result buffer overwrite
If set, LESENSE will always write to the result buffer, even if it is full
15:14 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
13 DUALSAMPLE 0 RW Enable dual sample mode
When set, both ACMPs will be sampled simultaneously.
12 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
11 ALTEXMAP 0 RW Alternative excitation map