\n
address_offset : 0x0 Bytes (0x0)
size : 0x38 byte (0x0)
mem_usage : registers
protection :
address_offset : 0x40 Bytes (0x0)
size : 0x8 byte (0x0)
mem_usage : registers
protection :
address_offset : 0x50 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection :
address_offset : 0x60 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection :
CSCAN Control Register
address_offset : 0x0 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
DEBOUNCE : CSCAN Debounce Time
It is in units of HIRC clock period and gives debounce of 4, 8, 16, 32, 40, 48, 56, 64, 80, 96, 112, 128, 168, 232, 256 periods for settings 1,..,15. Setting 0 is no debounce time.
bits : 0 - 3 (4 bit)
access : read-write
CURRENT : CSCAN Oscillator Current
Controls the analog bais current of the capacitive relaxation oscillator.
0:300nA 1:450nA 2:600nA 3:1200nA
bits : 16 - 17 (2 bit)
access : read-write
INTEN : CSCAN Enable Interrupt
bits : 20 - 20 (1 bit)
access : read-write
Enumeration:
#0 : 0
Interrupt disabled
#1 : 1
Interrupt enabled
End of enumeration elements list.
SLOWCLK : CSCAN Slow Clock
**Notes:
In low speed mode, for CYCLE_CNT <5, the minimum frequency of oscillation of a CAPSENSE GPIO must be > 2*Fclk. Where Fclk is the frequency of LXT or LIRC depending which is selected as reference.
bits : 21 - 21 (1 bit)
access : read-write
Enumeration:
#0 : 0
Timebase clock is HIRC
#1 : 1
Timebase clock is LIRC (XTAL32K_EN = 0) or XTAL (XTAL32K_EN = 1)
End of enumeration elements list.
MODE0 : CSCAN Mode0
bits : 22 - 22 (1 bit)
access : read-write
Enumeration:
#0 : 0
Single shot Capacitive sense
#1 : 1
Scans each channel set in SCAN_MASK and stores in Register
End of enumeration elements list.
MODE1 : CSCAN Mode1
bits : 23 - 23 (1 bit)
access : read-write
Enumeration:
#0 : 0
Interrupt when scan finished
#1 : 1
Interrupt when DUR_CNT delay occurs
End of enumeration elements list.
DURCNT : CSCAN Duration Count
This counter is used to set a wakeup time after a capacitive sensing scan is complete. It is in units of low frewquency clock period (either LXT or LIRC clock) and gives delay of 160, 320, 480,640, 800, 960, 1120, 1280, 1440,1600, 1920, 2240, 2560, 2880,3200 3840 periods for settings 0,..,15.
bits : 24 - 27 (4 bit)
access : read-write
CMPEN : Compare Enable
Note: When disable Compare function , the touch will always issue an interrupt if
bits : 28 - 28 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Compare function
#1 : 1
Enable Compare function
End of enumeration elements list.
TOINTEN : Timeout Interrupt Enable
bits : 29 - 29 (1 bit)
access : read-write
Enumeration:
#0 : 0
Timeout Interrupt disabled
#1 : 1
Timeout Interrupt enabled
End of enumeration elements list.
EN : CSCAN Enable
Write 1 to start. Reset by hardware when operation finished.
bits : 30 - 30 (1 bit)
access : read-write
PD : Power Down
0: Enable analog circuit
1: Power down analog circuit and block.
bits : 31 - 31 (1 bit)
access : read-write
CSCAN Counter Result Register 0
address_offset : 0x10 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CNT0 : Channel 0 Counter result register
bits : 0 - 15 (16 bit)
access : read-write
CNT1 : Channel 1 Counter result register
bits : 16 - 31 (16 bit)
access : read-write
CSCAN Counter Result Register 1
address_offset : 0x14 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CNT2 : Channel 2 Counter result register
bits : 0 - 15 (16 bit)
access : read-write
CNT3 : Channel 3 Counter result register
bits : 16 - 31 (16 bit)
access : read-write
CSCAN Counter Result Register 2
address_offset : 0x18 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CNT4 : Channel 4 Counter result register
bits : 0 - 15 (16 bit)
access : read-write
CNT5 : Channel 5 Counter result register
bits : 16 - 31 (16 bit)
access : read-write
CSCAN Counter Result Register 3
address_offset : 0x1C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CNT6 : Channel 6 Counter result register
bits : 0 - 15 (16 bit)
access : read-write
CNT7 : Channel 7 Counter result register
bits : 16 - 31 (16 bit)
access : read-write
CSCAN Compare Threshold Register 0
address_offset : 0x20 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CTH0 : Channel 0 Compare Threshold Setting
A 16 bits threshold value can be set by user
bits : 0 - 15 (16 bit)
access : read-write
CTH1 : Channel 1 Compare Threshold Setting
A 16 bits threshold value can be set by user
bits : 16 - 31 (16 bit)
access : read-write
CSCAN Compare Threshold Register 1
address_offset : 0x24 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CTH2 : Channel 2 Compare Threshold Setting
A 16 bits threshold value can be set by user
bits : 0 - 15 (16 bit)
access : read-write
CTH3 : Channel 3 Compare Threshold Setting
A 16 bits threshold value can be set by user
bits : 16 - 31 (16 bit)
access : read-write
CSCAN Compare Threshold Register 2
address_offset : 0x28 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CTH4 : Channel 4 Compare Threshold Setting
A 16 bits threshold value can be set by user
bits : 0 - 15 (16 bit)
access : read-write
CTH5 : Channel 5 Compare Threshold Setting
A 16 bits threshold value can be set by user
bits : 16 - 31 (16 bit)
access : read-write
CSCAN Compare Threshold Register 3
address_offset : 0x2C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CTH6 : Channel 6 Compare Threshold Setting
A 16 bits threshold value can be set by user
bits : 0 - 15 (16 bit)
access : read-write
CTH7 : Channel 7 Compare Threshold Setting
A 16 bits threshold value can be set by user
bits : 16 - 31 (16 bit)
access : read-write
CSCAN Counter Result Register 4
address_offset : 0x30 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CNT8 : Channel 8 Counter result register
bits : 0 - 15 (16 bit)
access : read-write
CNT9 : Channel 9 Counter result register
bits : 16 - 31 (16 bit)
access : read-write
CSCAN Counter Result Register 5
address_offset : 0x34 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CNT10 : Channel 10 Counter result register
bits : 0 - 15 (16 bit)
access : read-write
CNT11 : Channel 11 Counter result register
bits : 16 - 31 (16 bit)
access : read-write
CSCAN Cycle Count Control Register
address_offset : 0x4 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CYCCNT : CSCAN Cycle Count
bits : 0 - 3 (4 bit)
access : read-write
MASK : Scan Mask Register
If MASK[n] is set then touch channel[n] is included in scan of capacitive sensing.
bits : 16 - 27 (12 bit)
access : read-write
CSCAN Compare Threshold Register 4
address_offset : 0x40 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CTH8 : Channel 8 Compare Threshold Setting
A 16 bits threshold value can be set by user
bits : 0 - 15 (16 bit)
access : read-write
CTH9 : Channel 9 Compare Threshold Setting
A 16 bits threshold value can be set by user
bits : 16 - 31 (16 bit)
access : read-write
CSCAN Compare Threshold Register 5
address_offset : 0x44 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CTH10 : Channel 10 Compare Threshold Setting
A 16 bits threshold value can be set by user
bits : 0 - 15 (16 bit)
access : read-write
CTH11 : Channel 11 Compare Threshold Setting
A 16 bits threshold value can be set by user
bits : 16 - 31 (16 bit)
access : read-write
CSCAN Compare Threshold Register 6
address_offset : 0x50 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CTHS : A 16 bits threshold value can be set by user
bits : 16 - 31 (16 bit)
access : read-write
CSCAN Select Register
address_offset : 0x60 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SEL : CSCAN Select
In single mode selects the channel to perform measurement on.
bits : 0 - 11 (12 bit)
access : read-write
CMPLOW :
bits : 16 - 27 (12 bit)
access : read-write
Enumeration:
0 : 0
Counter result higher than threshold will issue interrupt when CMP_EN = 1'b
1 : 1
Counter result lower than threshold will issue interrupt when CMP_EN = 1'b
End of enumeration elements list.
CMPLOWS :
bits : 31 - 31 (1 bit)
access : read-write
Enumeration:
#0 : 0
Counter result higher than threshold will issue interrupt when CMP_EN = 1'b
#1 : 1
Counter result lower than threshold will issue interrupt when CMP_EN = 1'b
End of enumeration elements list.
CSCAN Count Status Register
address_offset : 0x8 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
COUNT : CSCAN Count
Count result of single scan.
bits : 0 - 15 (16 bit)
access : read-write
CSCAN Interrupt Register
address_offset : 0xC Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
TOINT : If the the touch channel[n] is timeout, the [n] bit will set to 1'b.
bits : 0 - 11 (12 bit)
access : read-write
TOINTS : If the the touch channel[n] is timeout, the [n] bit will set to 1'b.
bits : 14 - 14 (1 bit)
access : read-write
CMPINT :
bits : 16 - 27 (12 bit)
access : read-write
CMPINTS :
bits : 30 - 30 (1 bit)
access : read-write
INT : CSCAN Flag Active
Write '1' to clear.
bits : 31 - 31 (1 bit)
access : read-write
Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !
This website is sponsored by Embeetle, an IDE designed from scratch for embedded software developers.