PIC32CM2532JH00100 DAC registers The 11 registers of DAC (Digital Analog Converter), from 0x42005000, with their reset value and every field. The PIC32CM2532JH00100 has 1373 registers in 51 peripherals, one page each.
DAC Digital Analog Converter CTRLAControl A
Address 0x42005000
Reset 0x00
Access read/write 7 – 6 RUNSTDBY 5 – 4 – 3 – 2 – 1 ENABLE 0 SWRST 3 fields
Field Bits What it does RUNSTDBY 6 Run in Standby ENABLE 1 Enable SWRST 0 Software Reset
CTRLBControl B
Address 0x42005001
Reset 0x00
Access read/write 7 REFSEL1 6 REFSEL0 5 DITHER 4 – 3 VPD 2 LEFTADJ 1 IOEN 0 EOEN 6 fields
Field Bits What it does REFSEL 7:6 Reference Selection0 Internal Voltage Reference1 Analog Voltage Supply2 External Voltage Reference A (shared with ADC) DITHER 5 Dither Enable VPD 3 Voltage Pump Disable LEFTADJ 2 Left Adjusted Data IOEN 1 Internal Output Enable EOEN 0 External Output Enable
EVCTRLEvent Control
Address 0x42005002
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 INVEI 1 EMPTYEO 0 STARTEI 3 fields
Field Bits What it does INVEI 2 Invert Event Input EMPTYEO 1 Data Buffer Empty Event Output STARTEI 0 Start Conversion Event Input
INTENCLRInterrupt Enable Clear
Address 0x42005004
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 EMPTY 0 UNDERRUN 2 fields
Field Bits What it does EMPTY 1 Data Buffer Empty Interrupt Enable UNDERRUN 0 Underrun Interrupt Enable
INTENSETInterrupt Enable Set
Address 0x42005005
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 EMPTY 0 UNDERRUN 2 fields
Field Bits What it does EMPTY 1 Data Buffer Empty Interrupt Enable UNDERRUN 0 Underrun Interrupt Enable
INTFLAGInterrupt Flag Status and Clear
Address 0x42005006
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 EMPTY 0 UNDERRUN 2 fields
Field Bits What it does EMPTY 1 Data Buffer Empty UNDERRUN 0 Underrun
STATUSStatus
Address 0x42005007
Reset 0x00
Access read only 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 READY 1 field
Field Bits What it does READY 0 DAC Ready
DATAData
Address 0x42005008
Reset 0x0000
Access write only
Size 16-bit 1 field
Field Bits What it does DATA 15:0 Data value to be converted
DATABUFData Buffer
Address 0x4200500C
Reset 0x0000
Access write only
Size 16-bit 1 field
Field Bits What it does DATABUF 15:0 Data Buffer
SYNCBUSYSynchronization Busy
Address 0x42005010
Reset 0x00000000
Access read only
Size 32-bit 4 fields
Field Bits What it does DATABUF 3 Data Buffer DATA 2 Data ENABLE 1 DAC Enable Status SWRST 0 Software Reset
DBGCTRLDebug Control
Address 0x42005014
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