1.41.4.4 DACC_ChannelSelect Function
C
void DACC_ChannelSelect(DACC_CHANNEL_NUM channel)
Summary
Select the channel of DACC module for new conversion request
Description
This function selects the channel of DACC module for new conversion request.
Precondition
DACC_Initialize must have been called for the associated DACC instance.
Parameters
Param | Description |
---|---|
channel | Points to DACC Channel |
Returns
None.
Example
bool status = false; DACC_ChannelSelect(DACC_CHANNEL_0); if (true == DACC_IsReady()) { DACC_DataWrite (0xff); } else { //DACC is not ready to accept new conversion request //User Application code }
Remarks
None.