Jump to main content

##

# 3.8.10 mcHalI_AdcEnable

## C

    /* Enable ADC peripheral */
    void mcHal_AdcEnable( void )

## Summary

Enables the ADC peripheral

## Description

This function enables the Analog-to-Digital Converter (ADC) peripheral with the specific ADC configuration set in the Harmony QSpin GUI for motor control applications.

## Precondition

None.

## Parameters

Param | Description
--- | ---
void | None.

## Returns

None

## Example

    /* Set direction indication */
    mcHal_AdcEnable();

## Remarks

None.