iLLD_TC27xD  1.0
Module Functions
Collaboration diagram for Module Functions:

Functions

IFX_INLINE void IfxSrc_deinit (volatile Ifx_SRC_SRCR *src)
 DeInitializes the service request control register. More...
 
IFX_INLINE void IfxSrc_disable (volatile Ifx_SRC_SRCR *src)
 Disables a specific interrupt service request. More...
 
IFX_INLINE void IfxSrc_enable (volatile Ifx_SRC_SRCR *src)
 Enables a specific interrupt service request. More...
 
IFX_INLINE void IfxSrc_init (volatile Ifx_SRC_SRCR *src, IfxSrc_Tos typOfService, Ifx_Priority priority)
 Initializes the service request control register. More...
 

Detailed Description

Function Documentation

IFX_INLINE void IfxSrc_deinit ( volatile Ifx_SRC_SRCR *  src)

DeInitializes the service request control register.

Parameters
srcpointer to the Service Request Control register which should be deinitialised.
Returns
None

Usage example: see IfxSrc_init

Definition at line 236 of file IfxSrc.h.

IFX_INLINE void IfxSrc_disable ( volatile Ifx_SRC_SRCR *  src)

Disables a specific interrupt service request.

Parameters
srcpointer to the Service Request Control register for which the interrupt has to be disabled.
Returns
None

Usage example: see IfxSrc_init

Definition at line 242 of file IfxSrc.h.

Referenced by IfxMultican_Can_initModule().

IFX_INLINE void IfxSrc_init ( volatile Ifx_SRC_SRCR *  src,
IfxSrc_Tos  typOfService,
Ifx_Priority  priority 
)

Initializes the service request control register.

Parameters
srcpointer to the Service Request Control register which should be initialised.
typOfServicetype of interrupt service provider.
priorityInterrupt priority.
Returns
None

Get the peripheral service control register which request need to be serviced and assign this service to any of service providers.

//define the interrupt priority
#define IFXASCLIN0_TX_INTPRIO 2
//get the service request
volatile Ifx_SRC_SRCR *src = IfxAsclin_getSrcPointerRx( &MODULE_ASCLIN0 );
//initlaise the service request
IfxSrc_init( src, IfxSrc_Tos_cpu0, IFXASCLIN0_TX_INTPRIO );
// enable the service
//check for service request flags and clear if they occur
if ( IfxSrc_isRequested( src ) == TRUE )
{
}
if ( IfxSrc_isOverrun( src ) == TRUE )
{
}
// Atlast deinitialise the service control

Definition at line 254 of file IfxSrc.h.

Referenced by IfxAsclin_Asc_initModule(), IfxAsclin_Spi_initModule(), IfxCcu6_Icu_initChannel(), IfxCcu6_PwmBc_initModule(), IfxCcu6_Timer_initModule(), IfxCcu6_TimerWithTrigger_init(), IfxCcu6_TPwm_initModule(), IfxDma_Dma_initChannel(), IfxDts_Dts_initModule(), IfxEray_Eray_initModule(), IfxEth_init(), IfxFce_Crc_initModule(), IfxGpt12_IncrEnc_init(), IfxGtm_Atom_Pwm_init(), IfxGtm_Atom_Timer_init(), IfxGtm_Tom_Pwm_init(), IfxGtm_Tom_Timer_init(), IfxHssl_enableHsctInterrupt(), IfxHssl_enableHsslCOKInterrupt(), IfxHssl_enableHsslERRInterrupt(), IfxHssl_enableHsslEXIInterrupt(), IfxHssl_enableHsslRDIInterrupt(), IfxHssl_enableHsslTRGInterrupt(), IfxI2c_enableBurstDataTransferInterrupt(), IfxI2c_enableErrorInterrupt(), IfxI2c_enableLastBurstDataTransferInterrupt(), IfxI2c_enableLastSingleDataTransferInterrupt(), IfxI2c_enableProtocolInterrupt(), IfxI2c_enableSingleDataTransferInterrupt(), IfxMultican_Can_initModule(), IfxQspi_SpiMaster_initModule(), IfxQspi_SpiSlave_initModule(), IfxSent_Sent_initChannel(), IfxStm_initCompare(), and IfxVadc_Adc_initChannel().