iLLD_TC29x
1.0
|
VADC basic functionality. More...
#include "IfxVadc.h"
Go to the source code of this file.
Functions | |
void | IfxVadc_configExternalMultiplexerMode (Ifx_VADC *vadc, Ifx_VADC_G *vadcG, IfxVadc_ExternalMultiplexerMode mode, uint8 channels, IfxVadc_EmuxSelectValue startChannel, IfxVadc_EmuxCodingScheme code, IfxVadc_EmuxSampleTimeControl sampleTimeControl, IfxVadc_ChannelSelectionStyle channelSelectionStyle) |
void | IfxVadc_disableAccess (Ifx_VADC *vadc, IfxVadc_Protection protectionSet) |
Disable write access to the VADC config/control registers. More... | |
void | IfxVadc_disablePostCalibration (Ifx_VADC *vadc, IfxVadc_GroupId group, boolean disable) |
Disables the post calibration. More... | |
void | IfxVadc_enableAccess (Ifx_VADC *vadc, IfxVadc_Protection protectionSet) |
Enable write access to the VADC config/control registers. More... | |
float32 | IfxVadc_getAdcAnalogFrequency (Ifx_VADC *vadc) |
Returns the configured Fadci VADC analog clock frequency in Hz. More... | |
float32 | IfxVadc_getAdcDigitalFrequency (Ifx_VADC *vadc) |
Returns the configured Fadcd VADC digital clock frequency in Hz. More... | |
float32 | IfxVadc_getAdcModuleFrequency (void) |
Module Frequency in Hz. More... | |
IfxVadc_Status | IfxVadc_getBackgroundScanStatus (Ifx_VADC *vadc) |
Gives the background scan status for a group. More... | |
float32 | IfxVadc_getChannelConversionTime (Ifx_VADC *vadc, IfxVadc_GroupId group, IfxVadc_InputClasses inputClass, float32 analogFrequency, float32 moduleFrequency, IfxVadc_ConversionType conversionMode) |
get channel conversion timing More... | |
IfxVadc_Status | IfxVadc_getQueueStatus (Ifx_VADC_G *group) |
Gives the status of the Queue of a group by returning non zero value if the Queue is full. More... | |
Ifx_VADC_RES | IfxVadc_getResultBasedOnRequestSource (Ifx_VADC *vadc, Ifx_VADC_G *group, IfxVadc_ChannelId channel, IfxVadc_RequestSource sourceType) |
Get conversion result (Function does not care about the alignment) value = raw * gain + offset. More... | |
IfxVadc_Status | IfxVadc_getScanStatus (Ifx_VADC_G *group) |
Gives the scan status for a group. More... | |
volatile Ifx_SRC_SRCR * | IfxVadc_getSrcAddress (IfxVadc_GroupId group, IfxVadc_SrcNr index) |
Gives the SRC source address. More... | |
void | IfxVadc_initialiseAdcArbiterClock (Ifx_VADC *vadc, uint32 arbiterClockDivider) |
Initialises ADC arbiter clock. More... | |
void | IfxVadc_initialiseAdcConverterClock (Ifx_VADC *vadc, uint32 converterClockDivider) |
Initialises the ADC Converter clock. More... | |
uint32 | IfxVadc_initializeFAdcD (Ifx_VADC *vadc, uint32 fAdcD) |
Configure the FadcD vadc digital clock. More... | |
uint32 | IfxVadc_initializeFAdcI (Ifx_VADC *vadc, uint32 fAdcI) |
Configure the ADC analog clock. More... | |
boolean | IfxVadc_isPostCalibration (Ifx_VADC *vadc, IfxVadc_GroupId group) |
Return the post calibration status. More... | |
void | IfxVadc_resetKernel (Ifx_VADC *vadc) |
Resets the kernel. More... | |
void | IfxVadc_setArbiterPriority (Ifx_VADC_G *vadcG, boolean slotEnable, IfxVadc_RequestSlotPriority prio, IfxVadc_RequestSlotStartMode mode, IfxVadc_RequestSource slot) |
Sets the Arbiter slot configurations. More... | |
void | IfxVadc_setScan (Ifx_VADC_G *group, uint32 channels, uint32 mask) |
Configures an (auto-)scan. More... | |
void | IfxVadc_startupCalibration (Ifx_VADC *vadc) |
Starts ADC calibration and wait for the end of the calibration process. More... | |
VADC basic functionality.
IMPORTANT NOTICE
Infineon Technologies AG (Infineon) is supplying this file for use exclusively with Infineon's microcontroller products. This file can be freely distributed within development tools that are supporting such microcontroller products.
THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
Definition in file IfxVadc.c.