SAM Digital-to-Analog Interrupt Driver.
Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
Callback Configuration and Initialization | |
enum status_code | dac_chan_write_buffer_job (struct dac_module *const module_inst, const enum dac_channel channel, uint16_t *buffer, uint32_t buffer_size) |
Convert a specific number digital data to analog through DAC. More... | |
enum status_code | dac_chan_write_job (struct dac_module *const module_inst, const enum dac_channel channel, uint16_t data) |
Convert one digital data job. More... | |
enum status_code | dac_register_callback (struct dac_module *const module, const enum dac_channel channel, const dac_callback_t callback, const enum dac_callback type) |
Registers an asynchronous callback function with the driver. More... | |
enum status_code | dac_unregister_callback (struct dac_module *const module, const enum dac_channel channel, const enum dac_callback type) |
Unregisters an asynchronous callback function with the driver. More... | |
Callback Enabling and Disabling (Channel) | |
enum status_code | dac_chan_enable_callback (struct dac_module *const module, const enum dac_channel channel, const enum dac_callback type) |
Enables asynchronous callback generation for a given channel and type. More... | |
enum status_code | dac_chan_disable_callback (struct dac_module *const module, const enum dac_channel channel, const enum dac_callback type) |
Disables asynchronous callback generation for a given channel and type. More... | |
enum status_code | dac_chan_get_job_status (struct dac_module *module_inst, const enum dac_channel channel) |
Gets the status of a job. More... | |
void | dac_chan_abort_job (struct dac_module *module_inst, const enum dac_channel channel) |
Aborts an ongoing job. More... | |