PIC32CM1602GV00032 DAC registers The 9 registers of DAC (Digital Analog Converter), from 0x42004800, with their reset value and every field. The PIC32CM1602GV00032 has 608 registers in 29 peripherals, one page each.
DAC Digital Analog Converter CTRLAControl A
Address 0x42004800
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 RUNSTDBY 1 ENABLE 0 SWRST 3 fields
Field Bits What it does RUNSTDBY 2 Run in Standby ENABLE 1 Enable SWRST 0 Software Reset
CTRLBControl B
Address 0x42004801
Reset 0x00
Access read/write 7 REFSEL1 6 REFSEL0 5 – 4 – 3 VPD 2 LEFTADJ 1 IOEN 0 EOEN 5 fields
Field Bits What it does REFSEL 7:6 Reference Selection0 Internal 1.0V reference1 AVCC2 External reference VPD 3 Voltage Pump Disable LEFTADJ 2 Left Adjusted Data IOEN 1 Internal Output Enable EOEN 0 External Output Enable
EVCTRLEvent Control
Address 0x42004802
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 EMPTYEO 0 STARTEI 2 fields
Field Bits What it does EMPTYEO 1 Data Buffer Empty Event Output STARTEI 0 Start Conversion Event Input
INTENCLRInterrupt Enable Clear
Address 0x42004804
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 SYNCRDY 1 EMPTY 0 UNDERRUN 3 fields
Field Bits What it does SYNCRDY 2 Synchronization Ready Interrupt Enable EMPTY 1 Data Buffer Empty Interrupt Enable UNDERRUN 0 Underrun Interrupt Enable
INTENSETInterrupt Enable Set
Address 0x42004805
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 SYNCRDY 1 EMPTY 0 UNDERRUN 3 fields
Field Bits What it does SYNCRDY 2 Synchronization Ready Interrupt Enable EMPTY 1 Data Buffer Empty Interrupt Enable UNDERRUN 0 Underrun Interrupt Enable
INTFLAGInterrupt Flag Status and Clear
Address 0x42004806
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 SYNCRDY 1 EMPTY 0 UNDERRUN 3 fields
Field Bits What it does SYNCRDY 2 Synchronization Ready EMPTY 1 Data Buffer Empty UNDERRUN 0 Underrun
STATUSStatus
Address 0x42004807
Reset 0x00
Access read only 7 SYNCBUSY 6 – 5 – 4 – 3 – 2 – 1 – 0 – 1 field
Field Bits What it does SYNCBUSY 7 Synchronization Busy Status
DATAData
Address 0x42004808
Reset 0x0000
Access read/write
Size 16-bit 1 field
Field Bits What it does DATA 15:0 Data to be converted
DATABUFData Buffer
Address 0x4200480C
Reset 0x0000
Access read/write
Size 16-bit 1 field
Field Bits What it does DATABUF 15:0 Data Buffer