50 #ifndef ti_dl_dl_dac12__include 51 #define ti_dl_dl_dac12__include 56 #include <ti/devices/msp/msp.h> 59 #ifdef __MSPM0_HAS_DAC12__ 105 DAC12_CTL1_REFSN_VEREFN) ,
108 DAC12_CTL1_REFSN_VEREFN),
111 DAC12_CTL1_REFSN_VSSA),
114 DAC12_CTL1_REFSN_VSSA),
202 #define DL_DAC12_INTERRUPT_MODULE_READY (DAC12_GEN_EVENT_IMASK_MODRDYIFG_SET) 207 #define DL_DAC12_INTERRUPT_FIFO_EMPTY (DAC12_GEN_EVENT_IMASK_FIFOEMPTYIFG_SET) 212 #define DL_DAC12_INTERRUPT_FIFO_THREE_QTRS_EMPTY (DAC12_GEN_EVENT_IMASK_FIFO3B4IFG_SET) 217 #define DL_DAC12_INTERRUPT_FIFO_TWO_QTRS_EMPTY (DAC12_GEN_EVENT_IMASK_FIFO1B2IFG_SET) 222 #define DL_DAC12_INTERRUPT_FIFO_ONE_QTR_EMPTY (DAC12_GEN_EVENT_IMASK_FIFO1B4IFG_SET) 227 #define DL_DAC12_INTERRUPT_FIFO_FULL (DAC12_GEN_EVENT_IMASK_FIFOFULLIFG_SET) 233 #define DL_DAC12_INTERRUPT_FIFO_UNDERRUN (DAC12_GEN_EVENT_IMASK_FIFOURUNIFG_SET) 245 #define DL_DAC12_INTERRUPT_DMA_DONE (DAC12_GEN_EVENT_IMASK_DMADONEIFG_SET) 256 #define DL_DAC12_EVENT_MODULE_READY (DAC12_GEN_EVENT_IMASK_MODRDYIFG_SET) 261 #define DL_DAC12_EVENT_FIFO_EMPTY (DAC12_GEN_EVENT_IMASK_FIFOEMPTYIFG_SET) 266 #define DL_DAC12_EVENT_FIFO_THREE_QTRS_EMPTY (DAC12_GEN_EVENT_IMASK_FIFO3B4IFG_SET) 271 #define DL_DAC12_EVENT_FIFO_TWO_QTRS_EMPTY (DAC12_GEN_EVENT_IMASK_FIFO1B2IFG_SET) 276 #define DL_DAC12_EVENT_FIFO_ONE_QTR_EMPTY (DAC12_GEN_EVENT_IMASK_FIFO1B4IFG_SET) 281 #define DL_DAC12_EVENT_FIFO_FULL (DAC12_GEN_EVENT_IMASK_FIFOFULLIFG_SET) 287 #define DL_DAC12_EVENT_FIFO_UNDERRUN (DAC12_GEN_EVENT_IMASK_FIFOURUNIFG_SET) 299 #define DL_DAC12_EVENT_DMA_DONE (DAC12_GEN_EVENT_IMASK_DMADONEIFG_SET) 412 (DAC12_PWREN_KEY_UNLOCK_W | DAC12_PWREN_ENABLE_ENABLE);
429 (DAC12_PWREN_KEY_UNLOCK_W | DAC12_PWREN_ENABLE_DISABLE);
451 return ((dac12->GPRCM.PWREN & DAC12_PWREN_ENABLE_MASK) ==
452 DAC12_PWREN_ENABLE_ENABLE);
462 dac12->GPRCM.RSTCTL =
463 (DAC12_RSTCTL_KEY_UNLOCK_W | DAC12_RSTCTL_RESETSTKYCLR_CLR |
464 DAC12_RSTCTL_RESETASSERT_ASSERT);
478 return ((dac12->GPRCM.STAT & DAC12_STAT_RESETSTKY_MASK) ==
479 DAC12_STAT_RESETSTKY_RESET);
489 dac12->CTL0 |= DAC12_CTL0_ENABLE_SET;
499 dac12->CTL0 &= ~DAC12_CTL0_ENABLE_MASK;
514 uint32_t t = (dac12->CTL0 & DAC12_CTL0_ENABLE_MASK);
515 return (t == DAC12_CTL0_ENABLE_SET);
527 DAC12_Regs *dac12, DL_DAC12_REPRESENTATION rep, DL_DAC12_RESOLUTION res)
530 DAC12_CTL0_RES_MASK | DAC12_CTL0_DFM_MASK);
545 (dac12->CTL1 & (DAC12_CTL1_AMPEN_MASK | DAC12_CTL1_AMPHIZ_MASK));
547 return (DL_DAC12_AMP)(ampVal);
557 DAC12_Regs *dac12, DL_DAC12_AMP ampVal)
560 (DAC12_CTL1_AMPEN_MASK | DAC12_CTL1_AMPHIZ_MASK));
573 const DAC12_Regs *dac12)
576 (dac12->CTL1 & (DAC12_CTL1_REFSP_MASK | DAC12_CTL1_REFSN_MASK));
592 (DAC12_CTL1_REFSP_MASK | DAC12_CTL1_REFSN_MASK));
602 dac12->CTL1 |= DAC12_CTL1_OPS_OUT0;
612 dac12->CTL1 &= ~DAC12_CTL1_OPS_MASK;
627 return ((dac12->CTL1 & DAC12_CTL1_OPS_MASK) == DAC12_CTL1_OPS_OUT0);
640 dac12->CTL2 |= DAC12_CTL2_FIFOEN_SET;
653 dac12->CTL2 &= ~DAC12_CTL2_FIFOEN_MASK;
668 uint32_t t = (dac12->CTL2 & DAC12_CTL2_FIFOEN_MASK);
669 return (t == DAC12_CTL2_FIFOEN_SET);
684 const DAC12_Regs *dac12)
686 uint32_t fifoThreshold = (dac12->CTL2 & DAC12_CTL2_FIFOTH_MASK);
688 return (DL_DAC12_FIFO_THRESHOLD)(fifoThreshold);
705 DAC12_Regs *dac12, DL_DAC12_FIFO_THRESHOLD fifoThreshold)
708 &dac12->CTL2, (uint32_t) fifoThreshold, DAC12_CTL2_FIFOTH_MASK);
723 const DAC12_Regs *dac12)
725 uint32_t fifoTrig = (dac12->CTL2 & DAC12_CTL2_FIFOTRIGSEL_MASK);
727 return (DL_DAC12_FIFO_TRIGGER)(fifoTrig);
742 DAC12_Regs *dac12, DL_DAC12_FIFO_TRIGGER fifoTrig)
745 &dac12->CTL2, (uint32_t) fifoTrig, DAC12_CTL2_FIFOTRIGSEL_MASK);
764 dac12->CTL2 |= DAC12_CTL2_DMATRIGEN_SET;
777 dac12->CTL2 &= ~DAC12_CTL2_DMATRIGEN_MASK;
792 uint32_t t = (dac12->CTL2 & DAC12_CTL2_DMATRIGEN_MASK);
793 return (t == DAC12_CTL2_DMATRIGEN_SET);
808 dac12->CTL3 |= DAC12_CTL3_STIMEN_SET;
821 dac12->CTL3 &= ~DAC12_CTL3_STIMEN_MASK;
835 const DAC12_Regs *dac12)
837 uint32_t t = (dac12->CTL3 & DAC12_CTL3_STIMEN_MASK);
838 return (t == DAC12_CTL3_STIMEN_SET);
851 const DAC12_Regs *dac12)
853 uint32_t sampleRate = (dac12->CTL3 & DAC12_CTL3_STIMCONFIG_MASK);
855 return (DL_DAC12_SAMPLES_PER_SECOND)(sampleRate);
871 DAC12_Regs *dac12, DL_DAC12_SAMPLES_PER_SECOND sampleRate)
874 &dac12->CTL3, (uint32_t) sampleRate, DAC12_CTL3_STIMCONFIG_MASK);
891 uint32_t t = (dac12->CALCTL & DAC12_CALCTL_CALON_MASK);
892 return (t == DAC12_CALCTL_CALON_ACTIVE);
918 (DAC12_CALCTL_CALON_ACTIVE | DAC12_CALCTL_CALSEL_SELFCALIBRATIONTRIM);
936 return (dac12->CALDATA & DAC12_CALDATA_DATA_MASK);
972 dac12->DATA0 = dataValue;
994 dac12->DATA0 = (dataValue & DAC12_DATA0_DATA_VALUE_MASK);
1013 DAC12_Regs *dac12,
const uint8_t *buffer, uint32_t count);
1031 DAC12_Regs *dac12,
const uint16_t *buffer, uint32_t count);
1071 const DAC12_Regs *dac12, uint32_t interruptMask)
1073 return (dac12->CPU_INT.RIS & interruptMask);
1088 DAC12_Regs *dac12, uint32_t interruptMask)
1090 dac12->CPU_INT.ICLR = interruptMask;
1103 DAC12_Regs *dac12, uint32_t interruptMask)
1105 dac12->CPU_INT.IMASK |= interruptMask;
1118 DAC12_Regs *dac12, uint32_t interruptMask)
1120 dac12->CPU_INT.IMASK &= ~interruptMask;
1139 const DAC12_Regs *dac12)
1141 return ((DL_DAC12_IIDX) dac12->CPU_INT.IIDX);
1173 DAC12_Regs *dac12, uint8_t chanID)
1175 dac12->FPUB_1 = (chanID & DAC12_FPUB_1_CHANID_MAXIMUM);
1188 return ((uint8_t)((dac12->FPUB_1) & DAC12_FPUB_1_CHANID_MASK));
1203 volatile uint32_t *pReg = &dac12->FSUB_0;
1205 *(pReg + (uint32_t) index) = (chanID & DAC12_FSUB_0_CHANID_MAXIMUM);
1220 volatile uint32_t *pReg = &dac12->FSUB_0;
1222 return ((uint8_t)(*(pReg + (uint32_t) index) & DAC12_FSUB_0_CHANID_MASK));
1233 DAC12_Regs *dac12, uint32_t eventMask)
1235 dac12->GEN_EVENT.IMASK |= (eventMask);
1246 DAC12_Regs *dac12, uint32_t eventMask)
1248 dac12->GEN_EVENT.IMASK &= ~(eventMask);
1263 const DAC12_Regs *dac12, uint32_t eventMask)
1265 return ((dac12->GEN_EVENT.IMASK) & (eventMask));
1285 const DAC12_Regs *dac12, uint32_t eventMask)
1287 return ((dac12->GEN_EVENT.MIS) & eventMask);
1305 const DAC12_Regs *dac12, uint32_t eventMask)
1307 return ((dac12->GEN_EVENT.RIS) & eventMask);
1318 DAC12_Regs *dac12, uint32_t eventMask)
1320 dac12->GEN_EVENT.ICLR |= (eventMask);
__STATIC_INLINE bool DL_DAC12_isReset(const DAC12_Regs *dac12)
Returns if dac12 peripheral was reset.
Definition: dl_dac12.h:476
DL_DAC12_REPRESENTATION representation
Definition: dl_dac12.h:350
__STATIC_INLINE DL_DAC12_VREF_SOURCE DL_DAC12_getReferenceVoltageSource(const DAC12_Regs *dac12)
Gets the currently configured reference voltage source.
Definition: dl_dac12.h:572
Definition: dl_dac12.h:182
Definition: dl_dac12.h:153
__STATIC_INLINE void DL_Common_updateReg(volatile uint32_t *reg, uint32_t val, uint32_t mask)
Writes value to specified register - retaining bits unaffected by mask.
Definition: dl_common.h:63
DL_DAC12_AMP amplifierSetting
Definition: dl_dac12.h:356
__STATIC_INLINE uint32_t DL_DAC12_getEnabledEventStatus(const DAC12_Regs *dac12, uint32_t eventMask)
Check event flag of enabled DAC event.
Definition: dl_dac12.h:1284
__STATIC_INLINE uint32_t DL_DAC12_getRawEventsStatus(const DAC12_Regs *dac12, uint32_t eventMask)
Check interrupt flag of any DAC event.
Definition: dl_dac12.h:1304
__STATIC_INLINE uint8_t DL_DAC12_getSubscriberChanID(DAC12_Regs *dac12, DL_DAC12_SUBSCRIBER_INDEX index)
Gets the event subscriber channel id.
Definition: dl_dac12.h:1217
Definition: dl_dac12.h:129
__STATIC_INLINE uint32_t DL_DAC12_getCalibrationData(const DAC12_Regs *dac12)
Gets the DAC Calibration offset.
Definition: dl_dac12.h:934
Definition: dl_dac12.h:312
DL_DAC12_FIFO
Definition: dl_dac12.h:151
DL_DAC12_DMA_TRIGGER dmaTriggerEnable
Definition: dl_dac12.h:368
void DL_DAC12_outputBlocking8(DAC12_Regs *dac12, uint8_t data)
Blocking 8-bit output to the DAC FIFO.
Definition: dl_dac12.h:336
__STATIC_INLINE bool DL_DAC12_isPowerEnabled(const DAC12_Regs *dac12)
Returns if the Peripheral Write Enable (PWREN) register for the DAC12 is enabled. ...
Definition: dl_dac12.h:449
DL_DAC12_SAMPLETIMER sampleTimeGeneratorEnable
Definition: dl_dac12.h:378
__STATIC_INLINE void DL_DAC12_setReferenceVoltageSource(DAC12_Regs *dac12, DL_DAC12_VREF_SOURCE refsVal)
Set the reference voltage source of the DAC.
Definition: dl_dac12.h:588
void DL_DAC12_outputBlocking12(DAC12_Regs *dac12, uint16_t data)
Blocking 12-bit output to the DAC FIFO.
__STATIC_INLINE void DL_DAC12_disableFIFO(DAC12_Regs *dac12)
Disables the FIFO.
Definition: dl_dac12.h:650
__STATIC_INLINE void DL_DAC12_enableEvent(DAC12_Regs *dac12, uint32_t eventMask)
Enable DAC event.
Definition: dl_dac12.h:1232
__STATIC_INLINE bool DL_DAC12_isDMATriggerEnabled(const DAC12_Regs *dac12)
Checks whether the DMA trigger generator is enabled.
Definition: dl_dac12.h:790
Definition: dl_dac12.h:145
DL_DAC12_OUTPUT outputEnable
Definition: dl_dac12.h:344
__STATIC_INLINE DL_DAC12_FIFO_THRESHOLD DL_DAC12_getFIFOThreshold(const DAC12_Regs *dac12)
Gets the FIFO threshold.
Definition: dl_dac12.h:683
Configuration struct for DL_DAC12_init.
Definition: dl_dac12.h:342
Definition: dl_dac12.h:310
DL_DAC12_VREF_SOURCE voltageReferenceSource
Definition: dl_dac12.h:353
Definition: dl_dac12.h:143
Definition: dl_dac12.h:70
void DL_DAC12_performSelfCalibrationBlocking(DAC12_Regs *dac12)
Perform calibration sequence.
Definition: dl_dac12.h:78
__STATIC_INLINE bool DL_DAC12_isFIFOEnabled(const DAC12_Regs *dac12)
Checks whether the FIFO is enabled.
Definition: dl_dac12.h:666
Definition: dl_dac12.h:162
__STATIC_INLINE void DL_DAC12_enableSampleTimeGenerator(DAC12_Regs *dac12)
Enables the sample time generator.
Definition: dl_dac12.h:805
Definition: dl_dac12.h:86
__STATIC_INLINE void DL_DAC12_setPublisherChanID(DAC12_Regs *dac12, uint8_t chanID)
Sets the event publisher channel id.
Definition: dl_dac12.h:1172
__STATIC_INLINE uint32_t DL_DAC12_getInterruptStatus(const DAC12_Regs *dac12, uint32_t interruptMask)
Checks the raw interrupt status of one or more interrupts.
Definition: dl_dac12.h:1070
Definition: dl_dac12.h:330
__STATIC_INLINE uint8_t DL_DAC12_getPublisherChanID(const DAC12_Regs *dac12)
Gets the event publisher channel id.
Definition: dl_dac12.h:1186
Definition: dl_dac12.h:324
Definition: dl_dac12.h:96
__STATIC_INLINE void DL_DAC12_disablePower(DAC12_Regs *dac12)
Disables the Peripheral Write Enable (PWREN) register for the DAC12.
Definition: dl_dac12.h:426
Definition: dl_dac12.h:122
Definition: dl_dac12.h:107
__STATIC_INLINE void DL_DAC12_setSubscriberChanID(DAC12_Regs *dac12, DL_DAC12_SUBSCRIBER_INDEX index, uint8_t chanID)
Sets the event subscriber channel id.
Definition: dl_dac12.h:1200
Definition: dl_dac12.h:141
__STATIC_INLINE void DL_DAC12_disableSampleTimeGenerator(DAC12_Regs *dac12)
Disables the sample time generator.
Definition: dl_dac12.h:818
__STATIC_INLINE void DL_DAC12_clearInterruptStatus(DAC12_Regs *dac12, uint32_t interruptMask)
Clears the interrupt status of one or more interrupts.
Definition: dl_dac12.h:1087
__STATIC_INLINE void DL_DAC12_reset(DAC12_Regs *dac12)
Resets dac12 peripheral.
Definition: dl_dac12.h:460
__STATIC_INLINE void DL_DAC12_startCalibration(DAC12_Regs *dac12)
Initiates the DAC offset error calibration sequence.
Definition: dl_dac12.h:915
__STATIC_INLINE void DL_DAC12_setFIFOTriggerSource(DAC12_Regs *dac12, DL_DAC12_FIFO_TRIGGER fifoTrig)
Sets the FIFO read trigger source.
Definition: dl_dac12.h:741
__STATIC_INLINE void DL_DAC12_disableInterrupt(DAC12_Regs *dac12, uint32_t interruptMask)
Disables one or more interrupts.
Definition: dl_dac12.h:1117
void DL_DAC12_init(DAC12_Regs *dac12, const DL_DAC12_Config *config)
Initialize the DAC module.
__STATIC_INLINE bool DL_DAC12_isFIFOFull(const DAC12_Regs *dac12)
Checks if the DAC FIFO is currently full.
Definition: dl_dac12.h:1157
__STATIC_INLINE void DL_DAC12_setFIFOThreshold(DAC12_Regs *dac12, DL_DAC12_FIFO_THRESHOLD fifoThreshold)
Sets the FIFO threshold.
Definition: dl_dac12.h:704
Definition: dl_dac12.h:191
__STATIC_INLINE uint32_t DL_DAC12_getEnabledEvents(const DAC12_Regs *dac12, uint32_t eventMask)
Check which DAC events are enabled.
Definition: dl_dac12.h:1262
Definition: dl_dac12.h:318
DL_DAC12_FIFO_THRESHOLD
Definition: dl_dac12.h:160
DL_DAC12_EVENT_ROUTE
Definition: dl_dac12.h:334
Definition: dl_dac12.h:174
DL_DAC12_REPRESENTATION
Definition: dl_dac12.h:76
__STATIC_INLINE void DL_DAC12_enablePower(DAC12_Regs *dac12)
Enables the Peripheral Write Enable (PWREN) register for the DAC12.
Definition: dl_dac12.h:409
__STATIC_INLINE void DL_DAC12_disableEvent(DAC12_Regs *dac12, uint32_t eventMask)
Disable DAC event.
Definition: dl_dac12.h:1245
__STATIC_INLINE bool DL_DAC12_isEnabled(const DAC12_Regs *dac12)
Checks the enable bit of the DAC.
Definition: dl_dac12.h:512
Definition: dl_dac12.h:113
Definition: dl_dac12.h:322
Definition: dl_dac12.h:88
#define DL_DAC12_INTERRUPT_FIFO_FULL
Interrupt raised when the FIFO is full.
Definition: dl_dac12.h:227
Definition: dl_dac12.h:133
Definition: dl_dac12.h:131
__STATIC_INLINE bool DL_DAC12_isCalibrationRunning(const DAC12_Regs *dac12)
Checks whether a calibration sequence is currently running.
Definition: dl_dac12.h:889
__STATIC_INLINE void DL_DAC12_configDataFormat(DAC12_Regs *dac12, DL_DAC12_REPRESENTATION rep, DL_DAC12_RESOLUTION res)
Sets all elements of the input data format at once.
Definition: dl_dac12.h:526
Definition: dl_dac12.h:155
Definition: dl_dac12.h:80
Definition: dl_dac12.h:147
__STATIC_INLINE void DL_DAC12_disable(DAC12_Regs *dac12)
Disables the DAC Module.
Definition: dl_dac12.h:497
Definition: dl_dac12.h:135
DL_DAC12_SAMPLETIMER
Definition: dl_dac12.h:118
__STATIC_INLINE void DL_DAC12_output8(DAC12_Regs *dac12, uint8_t dataValue)
Outputs an 8-bit data value.
Definition: dl_dac12.h:970
DL_DAC12_CALIBRATION
Definition: dl_dac12.h:186
Definition: dl_dac12.h:172
DL_DAC12_AMP
Definition: dl_dac12.h:92
Definition: dl_dac12.h:320
Definition: dl_dac12.h:139
Definition: dl_dac12.h:316
__STATIC_INLINE void DL_DAC12_output12(DAC12_Regs *dac12, uint32_t dataValue)
Outputs a 12-bit Data Value.
Definition: dl_dac12.h:992
DL_DAC12_RESOLUTION resolution
Definition: dl_dac12.h:347
__STATIC_INLINE void DL_DAC12_enableOutputPin(DAC12_Regs *dac12)
Enables the DAC output by connecting it to the OUT0 pin.
Definition: dl_dac12.h:600
__STATIC_INLINE void DL_DAC12_disableOutputPin(DAC12_Regs *dac12)
Disable the DAC output by disconnecting it from the OUT0 pin.
Definition: dl_dac12.h:610
uint32_t DL_DAC12_fillFIFO12(DAC12_Regs *dac12, const uint16_t *buffer, uint32_t count)
Fills the DAC fifo with 12-bit data values from the buffer.
Definition: dl_dac12.h:120
Definition: dl_dac12.h:104
__STATIC_INLINE void DL_DAC12_setAmplifier(DAC12_Regs *dac12, DL_DAC12_AMP ampVal)
Sets the DAC and output amplifer setting.
Definition: dl_dac12.h:556
__STATIC_INLINE void DL_DAC12_enableDMATrigger(DAC12_Regs *dac12)
Enables the DMA trigger generator.
Definition: dl_dac12.h:761
__STATIC_INLINE void DL_DAC12_enableFIFO(DAC12_Regs *dac12)
Enables the FIFO module.
Definition: dl_dac12.h:637
DL_DAC12_FIFO_THRESHOLD dmaTriggerThreshold
Definition: dl_dac12.h:373
Definition: dl_dac12.h:189
Definition: dl_dac12.h:166
Definition: dl_dac12.h:308
__STATIC_INLINE DL_DAC12_AMP DL_DAC12_getAmplifier(const DAC12_Regs *dac12)
Gets the currently configured amplifier setting.
Definition: dl_dac12.h:542
Definition: dl_dac12.h:94
Definition: dl_dac12.h:98
Definition: dl_dac12.h:137
DL_DAC12_FIFO_TRIGGER fifoTriggerSource
Definition: dl_dac12.h:362
Definition: dl_dac12.h:72
__STATIC_INLINE DL_DAC12_SAMPLES_PER_SECOND DL_DAC12_getSampleRate(const DAC12_Regs *dac12)
Gets the sample trigger rate of the sample time generator.
Definition: dl_dac12.h:850
__STATIC_INLINE bool DL_DAC12_isSampleTimeGeneratorEnabled(const DAC12_Regs *dac12)
Checks whether the sample time trigger generator is enabled.
Definition: dl_dac12.h:834
DL_DAC12_SAMPLES_PER_SECOND
Definition: dl_dac12.h:127
__STATIC_INLINE void DL_DAC12_disableDMATrigger(DAC12_Regs *dac12)
Disables the DMA trigger generator.
Definition: dl_dac12.h:774
DL_DAC12_VREF_SOURCE
Definition: dl_dac12.h:102
__STATIC_INLINE void DL_DAC12_setSampleRate(DAC12_Regs *dac12, DL_DAC12_SAMPLES_PER_SECOND sampleRate)
Sets the sample triggering rate of the sample time generator.
Definition: dl_dac12.h:870
uint32_t DL_DAC12_fillFIFO8(DAC12_Regs *dac12, const uint8_t *buffer, uint32_t count)
Fills the DAC fifo with 8-bit data values from the buffer.
DL_DAC12_FIFO_TRIGGER
Definition: dl_dac12.h:170
DL_DAC12_RESOLUTION
Definition: dl_dac12.h:84
__STATIC_INLINE void DL_DAC12_clearEventsStatus(DAC12_Regs *dac12, uint32_t eventMask)
Clear pending DAC events.
Definition: dl_dac12.h:1317
DL_DAC12_DMA_TRIGGER
Definition: dl_dac12.h:178
__STATIC_INLINE DL_DAC12_FIFO_TRIGGER DL_DAC12_getFIFOTriggerSource(const DAC12_Regs *dac12)
Gets the FIFO read trigger source.
Definition: dl_dac12.h:722
DL_DAC12_IIDX
Definition: dl_dac12.h:306
DL_DAC12_FIFO fifoEnable
Definition: dl_dac12.h:359
Definition: dl_dac12.h:314
__STATIC_INLINE DL_DAC12_IIDX DL_DAC12_getPendingInterrupt(const DAC12_Regs *dac12)
Gets the highest priority pending interrupt.
Definition: dl_dac12.h:1138
Definition: dl_dac12.h:110
__STATIC_INLINE void DL_DAC12_enable(DAC12_Regs *dac12)
Enables the DAC module.
Definition: dl_dac12.h:487
DL_DAC12_SUBSCRIBER_INDEX
Definition: dl_dac12.h:328
Definition: dl_dac12.h:180
__STATIC_INLINE void DL_DAC12_enableInterrupt(DAC12_Regs *dac12, uint32_t interruptMask)
Enables one or more interrupts.
Definition: dl_dac12.h:1102
DL_DAC12_SAMPLES_PER_SECOND sampleRate
Definition: dl_dac12.h:383
__STATIC_INLINE bool DL_DAC12_isOutputPinEnabled(const DAC12_Regs *dac12)
Checks to see whether the output is connected.
Definition: dl_dac12.h:625
DL_DAC12_OUTPUT
Definition: dl_dac12.h:68
Definition: dl_dac12.h:164