2.24 Digital-to-Analog Converter Controller (DACC)
This Plib implements software abstraction for DACC Peripheral.
Library Interface
Digital-to-Analog Converter Controller peripheral library provides the following interfaces:
Functions
Name | Description |
---|---|
DACC_Initialize | Initializes DACC module of the device |
DACC_IsReady | Returns the status of readiness of DACC module for new conversion request |
DACC_ChannelDataWrite | Converts a Digital data to Analog value |
DACC_ChannelSelect | Select the channel of DACC module for new conversion request |
DACC_DataWrite | Converts a Digital data to Analog value |
Data types and constants
Name | Type | Description |
---|---|---|
DACC_CHANNEL_NUM | Enum | Identifies the Channel index of DACC module |
Note: Not all APIs maybe implemented. See the specific device family
section for available APIs.