SLAU927B June 2024 – November 2024 MSPM0G3507
DAC control registers defines configurations for monitoring the Real Time Algorithm and Hardware Register data on scope using the 12 bit DAC available on MSPM0G. Please refer to section Real Time Variable Tracking for a detailed example on how to monitor an algorithm variable using DAC.
Variables | Type | Reset | Description |
---|---|---|---|
DAC_EN | Unsigned Short (RW) | 0h | 0h = Disable DAC 1h = Enable DAC |
DAC_SHIFT | short (RW) | 0h | +ve value specifies the number of left bit shifts before loading
the value to 12bit DAC register. -ve value specifies the number of right bit shifts before loading the value to 12bit DAC register. DAC Shift is used for monitoring unsigned integer values and Registers |
DAC_SCALING_FACTOR | int(RW) | 0x00000000h | Non zero scaling factor is used for numbers represented in IQ
format to be monitored in DAC. To monitor the Global IQ(27) format
variables DAC scaling factor of _IQ(1.0) is used. To represent other IQx format variables, set DAC scaling factor to IQx/IQGlobal. |
DACOUT_ADDRESS | unsigned int(RW) | 0x00000000h | Defines the address of 32 bit variable that is to be monitored through DAC. |