iLLD_TC27xC  1.0
Send Functions
Collaboration diagram for Send Functions:

Functions

IFX_EXTERN void IfxMsc_Msc_sendCommand (IfxMsc_Msc *msc, uint32 command)
 send downstream command More...
 
IFX_EXTERN void IfxMsc_Msc_sendData (IfxMsc_Msc *msc, uint16 dataLow, uint16 dataHigh)
 send complete downstream data, both high and low More...
 
IFX_EXTERN void IfxMsc_Msc_sendDataExtension (IfxMsc_Msc *msc, uint32 data, uint32 dataExtension)
 Send downstream data extension (64bit) More...
 
IFX_EXTERN void IfxMsc_Msc_sendDataHigh (IfxMsc_Msc *msc, uint16 data)
 send high downstream data More...
 
IFX_EXTERN void IfxMsc_Msc_sendDataLow (IfxMsc_Msc *msc, uint16 data)
 send high downstream data More...
 

Detailed Description

Function Documentation

IFX_EXTERN void IfxMsc_Msc_sendCommand ( IfxMsc_Msc msc,
uint32  command 
)

send downstream command

Parameters
mscpointer to the MSC module handle
commandtransmit command
Returns
None

Definition at line 579 of file IfxMsc_Msc.c.

IFX_EXTERN void IfxMsc_Msc_sendData ( IfxMsc_Msc msc,
uint16  dataLow,
uint16  dataHigh 
)

send complete downstream data, both high and low

Parameters
mscpointer to the MSC module handle
dataLowlow data to be transmitted
dataHighhigh data to be transmitted
Returns
None
for(int n=0; n<10; ++n) {
// clear IRQ flag of previous transfer
for(int i=0; i<IFXMSC_COUNT; ++i) {
msc[i].msc->ISC.B.CDEDI = 1; // missing function!
}
// new transfer
for(int i=0; i<IFXMSC_COUNT; ++i) {
const unsigned dataL = i*0x1000 + n;
const unsigned dataH = i*0x1000 + 0x0100 + n;
IfxMsc_Msc_sendData(&msc[i], dataL, dataH);
}
}

Definition at line 588 of file IfxMsc_Msc.c.

IFX_EXTERN void IfxMsc_Msc_sendDataExtension ( IfxMsc_Msc msc,
uint32  data,
uint32  dataExtension 
)

Send downstream data extension (64bit)

Parameters
mscpointer to the MSC module handle
dataData to send
dataExtensionData extension to send
Returns
None

Definition at line 606 of file IfxMsc_Msc.c.

IFX_EXTERN void IfxMsc_Msc_sendDataHigh ( IfxMsc_Msc msc,
uint16  data 
)

send high downstream data

Parameters
mscpointer to the MSC module handle
datahigh downstream data to be transmitted
Returns
None

Definition at line 619 of file IfxMsc_Msc.c.

IFX_EXTERN void IfxMsc_Msc_sendDataLow ( IfxMsc_Msc msc,
uint16  data 
)

send high downstream data

Parameters
mscpointer to the MSC module handle
datalow downstream data to be transmitted
Returns
None

Definition at line 631 of file IfxMsc_Msc.c.