1.2.2.18 1.9.1.18 ADC_SyncTriggerCounterSet Function

C

void ADC_SyncTriggerCounterSet(uint16_t counterVal)

Summary

Configures the value of CTRLC.CNT register

Description

The Synchronous Trigger (STRIG) is driven by a counter at the ADC Control Clock (CTL_CLK) frequency and fires when the counter reaches the value defined by CTRLC.CNT[7:0]. Use this API to set the value of CTRLC.CNT register.

Precondition

ADCx_Initialize() function must have been called first for the associated instance.

Parameters

Param Description
counterVal value of the CTRLC.CNT

Returns

None

Example

ADC_SyncTriggerCounterSet(0x300);

Remarks

None