\n
address_offset : 0x0 Bytes (0x0)
size : 0x400 byte (0x0)
mem_usage : registers
protection : not protected
Control
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EN : CSEN Enable
bits : 1 - 1 (1 bit)
access : read-write
CMPPOL : CSEN Digital Comparator Polarity Select
bits : 2 - 2 (1 bit)
access : read-write
CM : CSEN Conversion Mode Select
bits : 4 - 5 (2 bit)
access : read-write
Enumeration:
0x00000000 : SGL
Single Channel Mode: One conversion of a single channel (when MCE = 0) or set of bonded channels (when MCE = 1) per conversion trigger.
0x00000001 : SCAN
Scan Mode: Scans multiple selected channels once per conversion trigger.
0x00000002 : CONTSGL
Continuous Single Channel: Continuous conversion of a single channel (when MCE = 0) or set of bonded channels (when MCE = 1).
0x00000003 : CONTSCAN
Continuous Scan Mode: Continuously scans multiple selected channels.
End of enumeration elements list.
SARCR : SAR Conversion Resolution.
bits : 8 - 9 (2 bit)
access : read-write
Enumeration:
0x00000000 : CLK10
Conversions last 10 internal CSEN clocks and are 10-bits in length.
0x00000001 : CLK12
Conversions last 12 internal CSEN clocks and are 12-bits in length.
0x00000002 : CLK14
Conversions last 14 internal CSEN clocks and are 14-bits in length.
0x00000003 : CLK16
Conversions last 16 internal CSEN clocks and are 16-bits in length.
End of enumeration elements list.
ACU : CSEN Accumulator Mode Select
bits : 12 - 14 (3 bit)
access : read-write
Enumeration:
0x00000000 : ACC1
Accumulate 1 sample.
0x00000001 : ACC2
Accumulate 2 sample.
0x00000002 : ACC4
Accumulate 4 sample.
0x00000003 : ACC8
Accumulate 8 sample.
0x00000004 : ACC16
Accumulate 16 sample.
0x00000005 : ACC32
Accumulate 32 sample.
0x00000006 : ACC64
Accumulate 64 sample.
End of enumeration elements list.
MCEN : CSEN Multiple Channel Enable
bits : 15 - 15 (1 bit)
access : read-write
STM : Start Trigger Select
bits : 16 - 17 (2 bit)
access : read-write
Enumeration:
0x00000000 : PRS
PRS Triggering. Conversions are triggered by the PRS channel selected in PRSSEL.
0x00000001 : TIMER
Timer Triggering. Conversions are triggered by a local CSEN timer reload.
0x00000002 : START
Software Triggering. Conversions are triggered by writing a 1 to the START field of the CMD register.
End of enumeration elements list.
CMPEN : CSEN Digital Comparator Enable
bits : 18 - 18 (1 bit)
access : read-write
DRSF : CSEN Disable Right-Shift
bits : 19 - 19 (1 bit)
access : read-write
DMAEN : CSEN DMA Enable Bit
bits : 20 - 20 (1 bit)
access : read-write
CONVSEL : CSEN Converter Select
bits : 21 - 21 (1 bit)
access : read-write
CHOPEN : CSEN Chop Enable
bits : 22 - 22 (1 bit)
access : read-write
AUTOGND : CSEN Automatic Ground Enable
bits : 23 - 23 (1 bit)
access : read-write
MXUC : CSEN Mux Disconnect
bits : 24 - 24 (1 bit)
access : read-write
EMACMPEN : Greater and Less Than Comparison Using the Exponential Moving Average (EMA) is Enabled
bits : 25 - 25 (1 bit)
access : read-write
WARMUPMODE : Select Warmup Mode for CSEN
bits : 26 - 26 (1 bit)
access : read-write
LOCALSENS : Local Sensing Enable
bits : 27 - 27 (1 bit)
access : read-write
CPACCURACY : Charge Pump Accuracy
bits : 28 - 28 (1 bit)
access : read-write
PRS Select
address_offset : 0x10 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
PRSSEL : PRS Channel Select
bits : 0 - 3 (4 bit)
access : read-write
Enumeration:
0x00000000 : PRSCH0
PRS Channel 0 selected as the start trigger
0x00000001 : PRSCH1
PRS Channel 1 selected as the start trigger
0x00000002 : PRSCH2
PRS Channel 2 selected as the start trigger
0x00000003 : PRSCH3
PRS Channel 3 selected as the start trigger
0x00000004 : PRSCH4
PRS Channel 4 selected as the start trigger
0x00000005 : PRSCH5
PRS Channel 5 selected as the start trigger
0x00000006 : PRSCH6
PRS Channel 6 selected as the start trigger
0x00000007 : PRSCH7
PRS Channel 7 selected as the start trigger
0x00000008 : PRSCH8
PRS Channel 8 selected as the start trigger
0x00000009 : PRSCH9
PRS Channel 9 selected as the start trigger
0x0000000A : PRSCH10
PRS Channel 10 selected as the start trigger
0x0000000B : PRSCH11
PRS Channel 11 selected as the start trigger
0x0000000C : PRSCH12
PRS Channel 12 selected as the start trigger
0x0000000D : PRSCH13
PRS Channel 13 selected as the start trigger
0x0000000E : PRSCH14
PRS Channel 14 selected as the start trigger
0x0000000F : PRSCH15
PRS Channel 15 selected as the start trigger
End of enumeration elements list.
Output Data
address_offset : 0x14 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
DATA : Output Data
bits : 0 - 31 (32 bit)
access : read-write
Scan Channel Mask 0
address_offset : 0x18 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SCANINPUTEN : Scan Channel Mask
bits : 0 - 31 (32 bit)
access : read-write
Scan Input Selection 0
address_offset : 0x1C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
INPUT0TO7SEL : CSEN_INPUT0-7 Select
bits : 0 - 3 (4 bit)
access : read-write
Enumeration:
0x00000004 : APORT1CH0TO7
None
0x00000005 : APORT1CH8TO15
None
0x00000006 : APORT1CH16TO23
None
0x00000007 : APORT1CH24TO31
None
0x0000000C : APORT3CH0TO7
None
0x0000000D : APORT3CH8TO15
None
0x0000000E : APORT3CH16TO23
None
0x0000000F : APORT3CH24TO31
None
End of enumeration elements list.
INPUT8TO15SEL : CSEN_INPUT8-15 Select
bits : 8 - 11 (4 bit)
access : read-write
Enumeration:
0x00000004 : APORT1CH0TO7
None
0x00000005 : APORT1CH8TO15
None
0x00000006 : APORT1CH16TO23
None
0x00000007 : APORT1CH24TO31
None
0x0000000C : APORT3CH0TO7
None
0x0000000D : APORT3CH8TO15
None
0x0000000E : APORT3CH16TO23
None
0x0000000F : APORT3CH24TO31
None
End of enumeration elements list.
INPUT16TO23SEL : CSEN_INPUT16-23 Select
bits : 16 - 19 (4 bit)
access : read-write
Enumeration:
0x00000004 : APORT1CH0TO7
None
0x00000005 : APORT1CH8TO15
None
0x00000006 : APORT1CH16TO23
None
0x00000007 : APORT1CH24TO31
None
0x0000000C : APORT3CH0TO7
None
0x0000000D : APORT3CH8TO15
None
0x0000000E : APORT3CH16TO23
None
0x0000000F : APORT3CH24TO31
None
End of enumeration elements list.
INPUT24TO31SEL : CSEN_INPUT24-31 Select
bits : 24 - 27 (4 bit)
access : read-write
Enumeration:
0x00000004 : APORT1CH0TO7
None
0x00000005 : APORT1CH8TO15
None
0x00000006 : APORT1CH16TO23
None
0x00000007 : APORT1CH24TO31
None
0x0000000C : APORT3CH0TO7
None
0x0000000D : APORT3CH8TO15
None
0x0000000E : APORT3CH16TO23
None
0x0000000F : APORT3CH24TO31
None
End of enumeration elements list.
Scan Channel Mask 1
address_offset : 0x20 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SCANINPUTEN : Scan Channel Mask.
bits : 0 - 31 (32 bit)
access : read-write
Scan Input Selection 1
address_offset : 0x24 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
INPUT32TO39SEL : CSEN_INPUT32-39 Select
bits : 0 - 3 (4 bit)
access : read-write
Enumeration:
0x00000004 : APORT1CH0TO7
None
0x00000005 : APORT1CH8TO15
None
0x00000006 : APORT1CH16TO23
None
0x00000007 : APORT1CH24TO31
None
0x0000000C : APORT3CH0TO7
None
0x0000000D : APORT3CH8TO15
None
0x0000000E : APORT3CH16TO23
None
0x0000000F : APORT3CH24TO31
None
End of enumeration elements list.
INPUT40TO47SEL : CSEN_INPUT40-47 Select
bits : 8 - 11 (4 bit)
access : read-write
Enumeration:
0x00000004 : APORT1CH0TO7
None
0x00000005 : APORT1CH8TO15
None
0x00000006 : APORT1CH16TO23
None
0x00000007 : APORT1CH24TO31
None
0x0000000C : APORT3CH0TO7
None
0x0000000D : APORT3CH8TO15
None
0x0000000E : APORT3CH16TO23
None
0x0000000F : APORT3CH24TO31
None
End of enumeration elements list.
INPUT48TO55SEL : CSEN_INPUT48-55 Select
bits : 16 - 19 (4 bit)
access : read-write
Enumeration:
0x00000004 : APORT1CH0TO7
None
0x00000005 : APORT1CH8TO15
None
0x00000006 : APORT1CH16TO23
None
0x00000007 : APORT1CH24TO31
None
0x0000000C : APORT3CH0TO7
None
0x0000000D : APORT3CH8TO15
None
0x0000000E : APORT3CH16TO23
None
0x0000000F : APORT3CH24TO31
None
End of enumeration elements list.
INPUT56TO63SEL : CSEN_INPUT56-63 Select
bits : 24 - 27 (4 bit)
access : read-write
Enumeration:
0x00000004 : APORT1CH0TO7
None
0x00000005 : APORT1CH8TO15
None
0x00000006 : APORT1CH16TO23
None
0x00000007 : APORT1CH24TO31
None
0x0000000C : APORT3CH0TO7
None
0x0000000D : APORT3CH8TO15
None
0x0000000E : APORT3CH16TO23
None
0x0000000F : APORT3CH24TO31
None
End of enumeration elements list.
APORT Request Status
address_offset : 0x28 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
APORT1XREQ : 1 If the Bus Connected to APORT2X is Requested
bits : 2 - 2 (1 bit)
access : read-only
APORT1YREQ : 1 If the Bus Connected to APORT1X is Requested
bits : 3 - 3 (1 bit)
access : read-only
APORT2XREQ : 1 If the Bus Connected to APORT2X is Requested
bits : 4 - 4 (1 bit)
access : read-only
APORT2YREQ : 1 If the Bus Connected to APORT2Y is Requested
bits : 5 - 5 (1 bit)
access : read-only
APORT3XREQ : 1 If the Bus Connected to APORT3X is Requested
bits : 6 - 6 (1 bit)
access : read-only
APORT3YREQ : 1 If the Bus Connected to APORT3Y is Requested
bits : 7 - 7 (1 bit)
access : read-only
APORT4XREQ : 1 If the Bus Connected to APORT4X is Requested
bits : 8 - 8 (1 bit)
access : read-only
APORT4YREQ : 1 If the Bus Connected to APORT4Y is Requested
bits : 9 - 9 (1 bit)
access : read-only
APORT Request Conflict
address_offset : 0x2C Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
APORT1XCONFLICT : 1 If the Bus Connected to APORT1X is in Conflict With Another Peripheral
bits : 2 - 2 (1 bit)
access : read-only
APORT1YCONFLICT : 1 If the Bus Connected to APORT1Y is in Conflict With Another Peripheral
bits : 3 - 3 (1 bit)
access : read-only
APORT2XCONFLICT : 1 If the Bus Connected to APORT2X is in Conflict With Another Peripheral
bits : 4 - 4 (1 bit)
access : read-only
APORT2YCONFLICT : 1 If the Bus Connected to APORT2Y is in Conflict With Another Peripheral
bits : 5 - 5 (1 bit)
access : read-only
APORT3XCONFLICT : 1 If the Bus Connected to APORT3X is in Conflict With Another Peripheral
bits : 6 - 6 (1 bit)
access : read-only
APORT3YCONFLICT : 1 If the Bus Connected to APORT3Y is in Conflict With Another Peripheral
bits : 7 - 7 (1 bit)
access : read-only
APORT4XCONFLICT : 1 If the Bus Connected to APORT4X is in Conflict With Another Peripheral
bits : 8 - 8 (1 bit)
access : read-only
APORT4YCONFLICT : 1 If the Bus Connected to APORT4Y is in Conflict With Another Peripheral
bits : 9 - 9 (1 bit)
access : read-only
Comparator Threshold
address_offset : 0x30 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CMPTHR : Comparator Threshold.
bits : 0 - 15 (16 bit)
access : read-write
Exponential Moving Average
address_offset : 0x34 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EMA : Calculated Exponential Moving Average
bits : 0 - 21 (22 bit)
access : read-write
Exponential Moving Average Control
address_offset : 0x38 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EMASAMPLE : EMA Sample Weight
bits : 0 - 2 (3 bit)
access : read-write
Enumeration:
0x00000000 : W1
EMA weight (N) is 1.
0x00000001 : W2
EMA weight (N) is 2.
0x00000002 : W4
EMA weight (N) is 4.
0x00000003 : W8
EMA weight (N) is 8.
0x00000004 : W16
EMA weight (N) is 16.
0x00000005 : W32
EMA weight (N) is 32.
0x00000006 : W64
EMA weight (N) is 64.
End of enumeration elements list.
Single Conversion Control
address_offset : 0x3C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SINGLESEL : Single Channel Input Select
bits : 4 - 10 (7 bit)
access : read-write
Enumeration:
0x00000020 : APORT1XCH0
None
0x00000021 : APORT1YCH1
None
0x00000022 : APORT1XCH2
None
0x00000023 : APORT1YCH3
None
0x00000024 : APORT1XCH4
None
0x00000025 : APORT1YCH5
None
0x00000026 : APORT1XCH6
None
0x00000027 : APORT1YCH7
None
0x00000028 : APORT1XCH8
None
0x00000029 : APORT1YCH9
None
0x0000002A : APORT1XCH10
None
0x0000002B : APORT1YCH11
None
0x0000002C : APORT1XCH12
None
0x0000002D : APORT1YCH13
None
0x0000002E : APORT1XCH14
None
0x0000002F : APORT1YCH15
None
0x00000030 : APORT1XCH16
None
0x00000031 : APORT1YCH17
None
0x00000032 : APORT1XCH18
None
0x00000033 : APORT1YCH19
None
0x00000034 : APORT1XCH20
None
0x00000035 : APORT1YCH21
None
0x00000036 : APORT1XCH22
None
0x00000037 : APORT1YCH23
None
0x00000038 : APORT1XCH24
None
0x00000039 : APORT1YCH25
None
0x0000003A : APORT1XCH26
None
0x0000003B : APORT1YCH27
None
0x0000003C : APORT1XCH28
None
0x0000003D : APORT1YCH29
None
0x0000003E : APORT1XCH30
None
0x0000003F : APORT1YCH31
None
0x00000060 : APORT3XCH0
None
0x00000061 : APORT3YCH1
None
0x00000062 : APORT3XCH2
None
0x00000063 : APORT3YCH3
None
0x00000064 : APORT3XCH4
None
0x00000065 : APORT3YCH5
None
0x00000066 : APORT3XCH6
None
0x00000067 : APORT3YCH7
None
0x00000068 : APORT3XCH8
None
0x00000069 : APORT3YCH9
None
0x0000006A : APORT3XCH10
None
0x0000006B : APORT3YCH11
None
0x0000006C : APORT3XCH12
None
0x0000006D : APORT3YCH13
None
0x0000006E : APORT3XCH14
None
0x0000006F : APORT3YCH15
None
0x00000070 : APORT3XCH16
None
0x00000071 : APORT3YCH17
None
0x00000072 : APORT3XCH18
None
0x00000073 : APORT3YCH19
None
0x00000074 : APORT3XCH20
None
0x00000075 : APORT3YCH21
None
0x00000076 : APORT3XCH22
None
0x00000077 : APORT3YCH23
None
0x00000078 : APORT3XCH24
None
0x00000079 : APORT3YCH25
None
0x0000007A : APORT3XCH26
None
0x0000007B : APORT3YCH27
None
0x0000007C : APORT3XCH28
None
0x0000007D : APORT3YCH29
None
0x0000007E : APORT3XCH30
None
0x0000007F : APORT3YCH31
None
End of enumeration elements list.
Timing Control
address_offset : 0x4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
PCPRESC : Period Counter Prescaler
bits : 0 - 2 (3 bit)
access : read-write
Enumeration:
0x00000000 : DIV1
The period counter clock frequency is LFBCLKCSEN/1
0x00000001 : DIV2
The period counter clock frequency is LFBCLKCSEN/2
0x00000002 : DIV4
The period counter clock frequency is LFBCLKCSEN/4
0x00000003 : DIV8
The period counter clock frequency is LFBCLKCSEN/8
0x00000004 : DIV16
The period counter clock frequency is LFBCLKCSEN/16
0x00000005 : DIV32
The period counter clock frequency is LFBCLKCSEN/32
0x00000006 : DIV64
The period counter clock frequency is LFBCLKCSEN/64
0x00000007 : DIV128
The period counter clock frequency is LFBCLKCSEN/128
End of enumeration elements list.
PCTOP : Period Counter Top Value
bits : 8 - 15 (8 bit)
access : read-write
WARMUPCNT : Warmup Period Counter
bits : 16 - 17 (2 bit)
access : read-write
Delta Modulation Baseline
address_offset : 0x40 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
BASELINEUP : Delta Modulator Integrator Initial Value
bits : 0 - 15 (16 bit)
access : read-write
BASELINEDN : Delta Modulator Integrator Initial Value
bits : 16 - 31 (16 bit)
access : read-write
Delta Modulation Configuration
address_offset : 0x44 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
DMG : Delta Modulator Gain Step
bits : 0 - 7 (8 bit)
access : read-write
DMR : Delta Modulator Gain Reduction Interval
bits : 8 - 11 (4 bit)
access : read-write
DMCR : Delta Modulator Conversion Rate
bits : 16 - 19 (4 bit)
access : read-write
CRMODE : Delta Modulator Conversion Resolution.
bits : 20 - 21 (2 bit)
access : read-write
Enumeration:
0x00000000 : DM10
10-bit delta modulator
0x00000001 : DM12
12-bit delta modulator
0x00000002 : DM14
14-bit delta modulator
0x00000003 : DM16
16-bit delta modulator
End of enumeration elements list.
DMGRDIS : Delta Modulation Gain Step Reduction Disable
bits : 28 - 28 (1 bit)
access : read-write
Analog Control
address_offset : 0x48 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
IREFPROG : Reference Current Control.
bits : 4 - 6 (3 bit)
access : read-write
IDACIREFS : Current DAC and Reference Current Scale
bits : 8 - 10 (3 bit)
access : read-write
TRSTPROG : Reset Timing
bits : 20 - 22 (3 bit)
access : read-write
Interrupt Flag
address_offset : 0x54 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
CMP : Digital Comparator Interrupt Flag
bits : 0 - 0 (1 bit)
access : read-only
CONV : Conversion Done Interrupt Flag
bits : 1 - 1 (1 bit)
access : read-only
EOS : End of Scan Interrupt Flag.
bits : 2 - 2 (1 bit)
access : read-only
DMAOF : DMA Overflow Interrupt Flag.
bits : 3 - 3 (1 bit)
access : read-only
APORTCONFLICT : APORT Conflict Interrupt Flag
bits : 4 - 4 (1 bit)
access : read-only
Interrupt Flag Set
address_offset : 0x58 Bytes (0x0)
size : 32 bit
access : write-only
reset_value : 0x0
reset_Mask : 0x0
CMP : Set CMP Interrupt Flag
bits : 0 - 0 (1 bit)
access : write-only
CONV : Set CONV Interrupt Flag
bits : 1 - 1 (1 bit)
access : write-only
EOS : Set EOS Interrupt Flag
bits : 2 - 2 (1 bit)
access : write-only
DMAOF : Set DMAOF Interrupt Flag
bits : 3 - 3 (1 bit)
access : write-only
APORTCONFLICT : Set APORTCONFLICT Interrupt Flag
bits : 4 - 4 (1 bit)
access : write-only
Interrupt Flag Clear
address_offset : 0x5C Bytes (0x0)
size : 32 bit
access : write-only
reset_value : 0x0
reset_Mask : 0x0
CMP : Clear CMP Interrupt Flag
bits : 0 - 0 (1 bit)
access : write-only
CONV : Clear CONV Interrupt Flag
bits : 1 - 1 (1 bit)
access : write-only
EOS : Clear EOS Interrupt Flag
bits : 2 - 2 (1 bit)
access : write-only
DMAOF : Clear DMAOF Interrupt Flag
bits : 3 - 3 (1 bit)
access : write-only
APORTCONFLICT : Clear APORTCONFLICT Interrupt Flag
bits : 4 - 4 (1 bit)
access : write-only
Interrupt Enable
address_offset : 0x60 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CMP : CMP Interrupt Enable
bits : 0 - 0 (1 bit)
access : read-write
CONV : CONV Interrupt Enable
bits : 1 - 1 (1 bit)
access : read-write
EOS : EOS Interrupt Enable
bits : 2 - 2 (1 bit)
access : read-write
DMAOF : DMAOF Interrupt Enable
bits : 3 - 3 (1 bit)
access : read-write
APORTCONFLICT : APORTCONFLICT Interrupt Enable
bits : 4 - 4 (1 bit)
access : read-write
Command
address_offset : 0x8 Bytes (0x0)
size : 32 bit
access : write-only
reset_value : 0x0
reset_Mask : 0x0
START : Start Software-Triggered Conversions
bits : 0 - 0 (1 bit)
access : write-only
Status
address_offset : 0xC Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
CSENBUSY : Busy Flag
bits : 0 - 0 (1 bit)
access : read-only
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.