PIC32CM5164LS60048 DAC registers The 15 registers of DAC (Digital-to-Analog Converter), from 0x42003C00, with their reset value and every field. The PIC32CM5164LS60048 has 2318 registers in 56 peripherals, one page each.
DAC Digital-to-Analog Converter CTRLAControl A
Address 0x42003C00
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 0x42003C01
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 Unbuffered External Voltage Reference (not buffered in DAC, direct connection)1 Analog Voltage Supply2 Buffered External Voltage Reference (buffered in DAC)3 Internal Voltage Reference DIFF 0 Differential mode enable
EVCTRLEvent Control
Address 0x42003C02
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 0x42003C04
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 Interrupt Enable for DAC 1 UNDERRUN0 0 Underrun Interrupt Enable for DAC 0
INTENSETInterrupt Enable Set
Address 0x42003C05
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 Interrupt Enable for DAC 1 UNDERRUN0 0 Underrun Interrupt Enable for DAC 0
INTFLAGInterrupt Flag Status and Clear
Address 0x42003C06
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 DAC 1 Underrun UNDERRUN0 0 DAC 0 Underrun
STATUSStatus
Address 0x42003C07
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 0x42003C08
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 0x42003C0C
Reset 0x0000
Access read/write
Size 16-bit 6 fields
Field Bits What it does REFRESH 11:8 Refresh period0 Do not Refresh2 Refresh every 60US3 Refresh every 90US4 Refresh every 120US5 Refresh every 150US6 Refresh every 180US7 Refresh every 210US8 Refresh every 240US9 Refresh every 270US10 Refresh every 300US11 Refresh every 330US12 Refresh every 360US13 Refresh every 390US14 Refresh every 420US15 Refresh every 450US DITHER 7 Dithering Mode RUNSTDBY 6 Run in Standby CCTRL 3:2 Current Control0 GCLK_DAC <= 1.2MHz (100kSPS)1 1.2MHz < GCLK_DAC <= 6MHz (500kSPS)2 6MHz < GCLK_DAC <= 12MHz (1MSPS) ENABLE 1 Enable DAC0 LEFTADJ 0 Left Adjusted Data
DACCTRL1DAC n Control
Address 0x42003C0E
Reset 0x0000
Access read/write
Size 16-bit 6 fields
Field Bits What it does REFRESH 11:8 Refresh period0 Do not Refresh2 Refresh every 60US3 Refresh every 90US4 Refresh every 120US5 Refresh every 150US6 Refresh every 180US7 Refresh every 210US8 Refresh every 240US9 Refresh every 270US10 Refresh every 300US11 Refresh every 330US12 Refresh every 360US13 Refresh every 390US14 Refresh every 420US15 Refresh every 450US DITHER 7 Dithering Mode RUNSTDBY 6 Run in Standby CCTRL 3:2 Current Control0 GCLK_DAC <= 1.2MHz (100kSPS)1 1.2MHz < GCLK_DAC <= 6MHz (500kSPS)2 6MHz < GCLK_DAC <= 12MHz (1MSPS) ENABLE 1 Enable DAC0 LEFTADJ 0 Left Adjusted Data
DATA0DAC n Data
Address 0x42003C10
Reset 0x0000
Access write only
Size 16-bit 1 field
Field Bits What it does DATA 15:0 DAC0 Data
DATA1DAC n Data
Address 0x42003C12
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 0x42003C14
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 0x42003C16
Reset 0x0000
Access write only
Size 16-bit 1 field
Field Bits What it does DATABUF 15:0 DAC0 Data Buffer
DBGCTRLDebug Control
Address 0x42003C18
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