dac_sync_enable_channel

Enable DAC channel.

int32_t dac_sync_enable_channel(
    struct dac_sync_descriptor *const descr,
    const uint8_t ch
)

Parameters

descr

Type: struct dac_sync_descriptor Struct *const

Pointer to the HAL DAC descriptor

ch

Type: const uint8_t

Channel number

Returns

Type: int32_t

Operation status.