PIC32CX1025SG41128 DAC registers The 15 registers of DAC (Digital-to-Analog Converter), from 0x43002400, with their reset value and every field. The PIC32CX1025SG41128 has 2953 registers in 69 peripherals, one page each.
DAC Digital-to-Analog Converter CTRLAControl A
Address 0x43002400
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 ENABLE 0 SWRST 2 fields
Field Bits What it does ENABLE 1 Enable DAC Controller SWRST 0 Software Reset
CTRLBControl B
Address 0x43002401
Reset 0x02
Access read/write 7 – 6 – 5 – 4 – 3 – 2 REFSEL1 1 REFSEL0 0 DIFF 2 fields
Field Bits What it does REFSEL 2:1 Reference Selection for DAC0/10 External reference unbuffered1 Analog supply2 External reference buffered3 Internal bandgap reference DIFF 0 Differential mode enable
EVCTRLEvent Control
Address 0x43002402
Reset 0x00
Access read/write 7 – 6 – 5 INVEI1 4 INVEI0 3 EMPTYEO1 2 EMPTYEO0 1 STARTEI1 0 STARTEI0 6 fields
Field Bits What it does INVEI1 5 Enable Invertion of DAC 1 input event INVEI0 4 Enable Invertion of DAC 0 input event EMPTYEO1 3 Data Buffer Empty Event Output DAC 1 EMPTYEO0 2 Data Buffer Empty Event Output DAC 0 STARTEI1 1 Start Conversion Event Input DAC 1 STARTEI0 0 Start Conversion Event Input DAC 0
INTENCLRInterrupt Enable Clear
Address 0x43002404
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 EMPTY1 2 EMPTY0 1 UNDERRUN1 0 UNDERRUN0 4 fields
Field Bits What it does EMPTY1 3 Data Buffer 1 Empty Interrupt Enable EMPTY0 2 Data Buffer 0 Empty Interrupt Enable UNDERRUN1 1 Underrun 1 Interrupt Enable UNDERRUN0 0 Underrun 0 Interrupt Enable
INTENSETInterrupt Enable Set
Address 0x43002405
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 EMPTY1 2 EMPTY0 1 UNDERRUN1 0 UNDERRUN0 4 fields
Field Bits What it does EMPTY1 3 Data Buffer 1 Empty Interrupt Enable EMPTY0 2 Data Buffer 0 Empty Interrupt Enable UNDERRUN1 1 Underrun 1 Interrupt Enable UNDERRUN0 0 Underrun 0 Interrupt Enable
INTFLAGInterrupt Flag Status and Clear
Address 0x43002406
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 EMPTY1 2 EMPTY0 1 UNDERRUN1 0 UNDERRUN0 4 fields
Field Bits What it does EMPTY1 3 Data Buffer 1 Empty EMPTY0 2 Data Buffer 0 Empty UNDERRUN1 1 Result 1 Underrun UNDERRUN0 0 Result 0 Underrun
STATUSStatus
Address 0x43002407
Reset 0x00
Access read only 7 – 6 – 5 – 4 – 3 EOC1 2 EOC0 1 READY1 0 READY0 4 fields
Field Bits What it does EOC1 3 DAC 1 End of Conversion EOC0 2 DAC 0 End of Conversion READY1 1 DAC 1 Startup Ready READY0 0 DAC 0 Startup Ready
SYNCBUSYSynchronization Busy
Address 0x43002408
Reset 0x00000000
Access read only
Size 32-bit 6 fields
Field Bits What it does DATABUF1 5 Data Buffer DAC 1 DATABUF0 4 Data Buffer DAC 0 DATA1 3 Data DAC 1 DATA0 2 Data DAC 0 ENABLE 1 DAC Enable Status SWRST 0 Software Reset
DACCTRL0DAC n Control
Address 0x4300240C
Reset 0x0000
Access read/write
Size 16-bit 5 fields
Field Bits What it does DITHER 7 Dithering Mode RUNSTDBY 6 Run in Standby CCTRL 3:2 Current Control0 100kSPS1 500kSPS2 1MSPS ENABLE 1 Enable DAC0 LEFTADJ 0 Left Adjusted Data
DACCTRL1DAC n Control
Address 0x4300240E
Reset 0x0000
Access read/write
Size 16-bit 5 fields
Field Bits What it does DITHER 7 Dithering Mode RUNSTDBY 6 Run in Standby CCTRL 3:2 Current Control0 100kSPS1 500kSPS2 1MSPS ENABLE 1 Enable DAC0 LEFTADJ 0 Left Adjusted Data
DATA0DAC n Data
Address 0x43002410
Reset 0x0000
Access write only
Size 16-bit 1 field
Field Bits What it does DATA 15:0 DAC0 Data
DATA1DAC n Data
Address 0x43002412
Reset 0x0000
Access write only
Size 16-bit 1 field
Field Bits What it does DATA 15:0 DAC0 Data
DATABUF0DAC n Data Buffer
Address 0x43002414
Reset 0x0000
Access write only
Size 16-bit 1 field
Field Bits What it does DATABUF 15:0 DAC0 Data Buffer
DATABUF1DAC n Data Buffer
Address 0x43002416
Reset 0x0000
Access write only
Size 16-bit 1 field
Field Bits What it does DATABUF 15:0 DAC0 Data Buffer
DBGCTRLDebug Control
Address 0x43002418
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 DBGRUN 1 field
Field Bits What it does DBGRUN 0 Debug Run