\n

CTDAC0

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x10000 byte (0x0)
mem_usage : registers
protection : not protected

Registers

CTDAC_CTRL

CTDAC_VAL

CTDAC_VAL_NXT

INTR

INTR_SET

INTR_MASK

INTR_MASKED

CTDAC_SW

CTDAC_SW_CLEAR


CTDAC_CTRL

Global CTDAC control
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CTDAC_CTRL CTDAC_CTRL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DEGLITCH_CNT DEGLITCH_CO6 DEGLITCH_COS OUT_EN CTDAC_RANGE CTDAC_MODE DISABLED_MODE DSI_STROBE_EN DSI_STROBE_LEVEL DEEPSLEEP_ON ENABLED

DEGLITCH_CNT : To prevent glitches after VALUE changes from propagating the output switch can be opened for DEGLITCH_CNT+1 clk_peri clock cycles.
bits : 0 - 5 (6 bit)
access : read-write

DEGLITCH_CO6 : Force CTDAC.CO6 switch open after each VALUE change for the set number of clock cycles.
bits : 8 - 16 (9 bit)
access : read-write

DEGLITCH_COS : Force CTB.COS switch open after each VALUE change for the set number of clock cycles.
bits : 9 - 18 (10 bit)
access : read-write

OUT_EN : Output enable, intended to be used during the Hold phase of the Sample and Hold when power cycling : 0: output disabled, the output is either: - Tri-state (DISABLED_MODE=0) - or Vssa (DISABLED_MODE=1 && CTDAC_RANGE=0) - or Vref (DISABLED_MODE=1 && CTDAC_RANGE=1) 1: output enabled, CTDAC output drives the programmed VALUE
bits : 22 - 44 (23 bit)
access : read-write

CTDAC_RANGE : By closing the bottom switch in the R2R network the output is lifted by one LSB, effectively adding 1 0: Range is [0, 4095] * Vref / 4096 1: Range is [1, 4096] * Vref / 4096
bits : 23 - 46 (24 bit)
access : read-write

CTDAC_MODE : DAC mode, this determines the Value decoding
bits : 24 - 49 (26 bit)
access : read-write

Enumeration:

0 : UNSIGNED12

Unsigned 12-bit VDAC, i.e. no value decoding.

1 : VIRT_SIGNED12

Virtual signed 12-bits' VDAC. Value decoding: add 0x800 to the 12-bit Value (=invert MSB), to convert the lowest signed number 0x800 to the lowest unsigned number 0x000. This is the same as the SAR handles 12-bit 'virtual' signed numbers.

2 : RSVD2

N/A

3 : RSVD3

N/A

End of enumeration elements list.

DISABLED_MODE : Select the output value when the output is disabled (OUT_EN=0) (for risk mitigation) 0: Tri-state CTDAC output when disabled 1: output Vssa or Vref when disabled (see OUT_EN description)
bits : 27 - 54 (28 bit)
access : read-write

DSI_STROBE_EN : DSI strobe input Enable. This enables CTDAC updates to be further throttled by DSI. 0: Ignore DSI strobe input 1: Only do a CTDAC update if alllowed by the DSI stobe (throttle), see below for level or edge
bits : 28 - 56 (29 bit)
access : read-write

DSI_STROBE_LEVEL : Select level or edge detect for DSI strobe - 0: DSI strobe signal is a pulse input, after a positive edge is detected on the DSI strobe signal the next DAC value update is done on the next CTDAC clock - 1: DSI strobe signal is a level input, as long as the DSI strobe signal remains high the CTDAC will do a next DAC value update on each CTDAC clock.
bits : 29 - 58 (30 bit)
access : read-write

DEEPSLEEP_ON : - 0: CTDAC IP disabled off during DeepSleep power mode - 1: CTDAC IP remains enabled during DeepSleep power mode (if ENABLED=1)
bits : 30 - 60 (31 bit)
access : read-write

ENABLED : 0: CTDAC IP disabled (put analog in power down, open all switches) 1: CTDAC IP enabled
bits : 31 - 62 (32 bit)
access : read-write


CTDAC_VAL

DAC Value
address_offset : 0x100 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CTDAC_VAL CTDAC_VAL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 VALUE

VALUE : Value, in CTDAC_MODE 1 this value is decoded
bits : 0 - 11 (12 bit)
access : read-write


CTDAC_VAL_NXT

Next DAC value (double buffering)
address_offset : 0x104 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CTDAC_VAL_NXT CTDAC_VAL_NXT read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 VALUE

VALUE : Next value fpr CTDAC_VAL.VALUE
bits : 0 - 11 (12 bit)
access : read-write


INTR

Interrupt request register
address_offset : 0x20 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

INTR INTR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 VDAC_EMPTY

VDAC_EMPTY : VDAC Interrupt: hardware sets this interrupt when VDAC next value field is empty, i.e. was copied to the current VALUE. Write with '1' to clear bit.
bits : 0 - 0 (1 bit)
access : read-write


INTR_SET

Interrupt request set register
address_offset : 0x24 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

INTR_SET INTR_SET read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 VDAC_EMPTY_SET

VDAC_EMPTY_SET : Write with '1' to set corresponding bit in interrupt request register.
bits : 0 - 0 (1 bit)
access : read-write


INTR_MASK

Interrupt request mask
address_offset : 0x28 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

INTR_MASK INTR_MASK read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 VDAC_EMPTY_MASK

VDAC_EMPTY_MASK : Mask bit for corresponding bit in interrupt request register.
bits : 0 - 0 (1 bit)
access : read-write


INTR_MASKED

Interrupt request masked
address_offset : 0x2C Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

INTR_MASKED INTR_MASKED read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 VDAC_EMPTY_MASKED

VDAC_EMPTY_MASKED : Logical and of corresponding request and mask bits.
bits : 0 - 0 (1 bit)
access : read-only


CTDAC_SW

CTDAC switch control
address_offset : 0xB0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CTDAC_SW CTDAC_SW read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CTDD_CVD CTDO_CO6

CTDD_CVD : VDDA supply to ctdrefdrive
bits : 0 - 0 (1 bit)
access : read-write

CTDO_CO6 : ctdvout to P6 pin. Note this switch will temporarily be opened for deglitching if DEGLITCH_CO6 is set
bits : 8 - 16 (9 bit)
access : read-write


CTDAC_SW_CLEAR

CTDAC switch control clear
address_offset : 0xB4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CTDAC_SW_CLEAR CTDAC_SW_CLEAR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CTDD_CVD CTDO_CO6

CTDD_CVD : see corresponding bit in CTD_SW
bits : 0 - 0 (1 bit)
access : read-write

CTDO_CO6 : see corresponding bit in CTD_SW
bits : 8 - 16 (9 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 EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.