iLLD_TC27xD  1.0
Channel Functions
Collaboration diagram for Channel Functions:

Functions

IFX_INLINE void IfxPsi5s_Psi5s_enableAscReceiver (IfxPsi5s_Psi5s *psi5s)
 Enable ASC interface receiver. More...
 
IFX_INLINE void IfxPsi5s_Psi5s_enableDisableChannelTriggerCounters (IfxPsi5s_Psi5s *psi5s, uint32 channels, uint32 mask)
 Access function to enable/disable any combination of channel trigger counters selected by mask parameter. More...
 
IFX_INLINE void IfxPsi5s_Psi5s_enableDisableChannels (IfxPsi5s_Psi5s *psi5s, uint32 channels, uint32 mask)
 Access function to enable/disable any combination of channels selected by mask parameter. More...
 
IFX_INLINE void IfxPsi5s_Psi5s_startAscTransactions (IfxPsi5s_Psi5s *psi5s)
 Start ASC transactions. More...
 
IFX_EXTERN boolean IfxPsi5s_Psi5s_initChannel (IfxPsi5s_Psi5s_Channel *channel, const IfxPsi5s_Psi5s_ChannelConfig *config)
 Initialize the channel with the supplied configuration. More...
 
IFX_EXTERN void IfxPsi5s_Psi5s_initChannelConfig (IfxPsi5s_Psi5s_ChannelConfig *config, IfxPsi5s_Psi5s *psi5s)
 Initialise buffer with default channel configuration. More...
 
IFX_EXTERN void IfxPsi5s_Psi5s_readFrame (IfxPsi5s_Psi5s_Channel *channel, IfxPsi5s_Psi5s_Frame *frame)
 Get the received psi5s frame for the channel. More...
 
IFX_EXTERN boolean IfxPsi5s_Psi5s_sendChannelData (IfxPsi5s_Psi5s_Channel *channel, uint32 data)
 Transmit the data through the channel. More...
 

Detailed Description

Function Documentation

IFX_INLINE void IfxPsi5s_Psi5s_enableAscReceiver ( IfxPsi5s_Psi5s psi5s)

Enable ASC interface receiver.

Parameters
psi5spointer to the PSI5S module
Returns
None

Usage Example: How to use the PSI5S PSI5S Interface driver?

Definition at line 535 of file IfxPsi5s_Psi5s.h.

IFX_INLINE void IfxPsi5s_Psi5s_enableDisableChannels ( IfxPsi5s_Psi5s psi5s,
uint32  channels,
uint32  mask 
)

Access function to enable/disable any combination of channels selected by mask parameter.

Parameters
psi5spointer to the PSI5S module
channelsspecifies the channels which should be enabled/disabled
maskspecifies the channels which should be modified
Returns
None

Usage Example: How to use the PSI5S PSI5S Interface driver?

Definition at line 547 of file IfxPsi5s_Psi5s.h.

IFX_INLINE void IfxPsi5s_Psi5s_enableDisableChannelTriggerCounters ( IfxPsi5s_Psi5s psi5s,
uint32  channels,
uint32  mask 
)

Access function to enable/disable any combination of channel trigger counters selected by mask parameter.

Parameters
psi5spointer to the PSI5S module
channelsspecifies the channel trigger counters which should be enabled/disabled
maskspecifies the channel trigger counters which should be modified
Returns
None

Usage Example: How to use the PSI5S PSI5S Interface driver?

Definition at line 541 of file IfxPsi5s_Psi5s.h.

IFX_EXTERN boolean IfxPsi5s_Psi5s_initChannel ( IfxPsi5s_Psi5s_Channel channel,
const IfxPsi5s_Psi5s_ChannelConfig config 
)

Initialize the channel with the supplied configuration.

Parameters
channelpointer to the PSI5S channel
configpointer to the PSI5S channel configuration
Returns
TRUE on success & FALSE if configuration not valid (e.g. missing resource)

Usage Example: How to use the PSI5S PSI5S Interface driver?

Definition at line 117 of file IfxPsi5s_Psi5s.c.

IFX_EXTERN void IfxPsi5s_Psi5s_initChannelConfig ( IfxPsi5s_Psi5s_ChannelConfig config,
IfxPsi5s_Psi5s psi5s 
)

Initialise buffer with default channel configuration.

Parameters
configpointer to the PSI5S channel configuration
psi5spointer to the PSI5S module
Returns
None

Usage Example: How to use the PSI5S PSI5S Interface driver?

Definition at line 207 of file IfxPsi5s_Psi5s.c.

IFX_EXTERN void IfxPsi5s_Psi5s_readFrame ( IfxPsi5s_Psi5s_Channel channel,
IfxPsi5s_Psi5s_Frame frame 
)

Get the received psi5s frame for the channel.

Parameters
channelpointer to the PSI5S module
framepointer to the PSI5S frame buffer
Returns
None

Usage Example: How to use the PSI5S PSI5S Interface driver?

Definition at line 532 of file IfxPsi5s_Psi5s.c.

IFX_EXTERN boolean IfxPsi5s_Psi5s_sendChannelData ( IfxPsi5s_Psi5s_Channel channel,
uint32  data 
)

Transmit the data through the channel.

Parameters
channelpointer to the PSI5S channel
datadata to be sent
Returns
TRUE if Sends data otherwise FALSE

Usage Example: How to use the PSI5S PSI5S Interface driver?

Definition at line 559 of file IfxPsi5s_Psi5s.c.

IFX_INLINE void IfxPsi5s_Psi5s_startAscTransactions ( IfxPsi5s_Psi5s psi5s)

Start ASC transactions.

Parameters
psi5spointer to the PSI5S module
Returns
None

Usage Example: How to use the PSI5S PSI5S Interface driver?

Definition at line 553 of file IfxPsi5s_Psi5s.h.