DAC converts digital data to analog output.
int32_t dac_sync_write( struct dac_sync_descriptor *const descr, const uint8_t ch, uint16_t * buffer, uint32_t length )
Type: struct dac_sync_descriptor Struct *const
Pointer to the HAL DAC descriptor
Type: const uint8_t
the Channel selected to output
Type: uint16_t *
Pointer to digital data or buffer
Type: uint32_t
The number of elements in the buffer
Type: int32_t
Operation status.