iLLD_TC29x  1.0
IfxAsclin_Asc.c File Reference

ASCLIN ASC details. More...

#include "IfxAsclin_Asc.h"
#include "string.h"

Go to the source code of this file.

Functions

uint8 IfxAsclin_Asc_blockingRead (IfxAsclin_Asc *asclin)
 Reads data from the Rx FIFO. More...
 
boolean IfxAsclin_Asc_blockingWrite (IfxAsclin_Asc *asclin, uint8 data)
 Writes data into the Tx FIFO. More...
 
boolean IfxAsclin_Asc_canReadCount (IfxAsclin_Asc *asclin, Ifx_SizeT count, Ifx_TickTime timeout)
 
boolean IfxAsclin_Asc_canWriteCount (IfxAsclin_Asc *asclin, Ifx_SizeT count, Ifx_TickTime timeout)
 
void IfxAsclin_Asc_clearRx (IfxAsclin_Asc *asclin)
 
void IfxAsclin_Asc_clearTx (IfxAsclin_Asc *asclin)
 
void IfxAsclin_Asc_disableModule (IfxAsclin_Asc *asclin)
 Disables the module. More...
 
boolean IfxAsclin_Asc_flushTx (IfxAsclin_Asc *asclin, Ifx_TickTime timeout)
 
sint32 IfxAsclin_Asc_getReadCount (IfxAsclin_Asc *asclin)
 
IfxStdIf_DPipe_ReadEvent IfxAsclin_Asc_getReadEvent (IfxAsclin_Asc *asclin)
 
uint32 IfxAsclin_Asc_getSendCount (IfxAsclin_Asc *asclin)
 
Ifx_TickTime IfxAsclin_Asc_getTxTimeStamp (IfxAsclin_Asc *asclin)
 
sint32 IfxAsclin_Asc_getWriteCount (IfxAsclin_Asc *asclin)
 
IfxStdIf_DPipe_WriteEvent IfxAsclin_Asc_getWriteEvent (IfxAsclin_Asc *asclin)
 
IfxAsclin_Status IfxAsclin_Asc_initModule (IfxAsclin_Asc *asclin, const IfxAsclin_Asc_Config *config)
 Initialises the module. More...
 
void IfxAsclin_Asc_initModuleConfig (IfxAsclin_Asc_Config *config, Ifx_ASCLIN *asclin)
 Fills the config structure with default values. More...
 
void IfxAsclin_Asc_initiateTransmission (IfxAsclin_Asc *asclin)
 Initiate the data transmission. More...
 
void IfxAsclin_Asc_isrError (IfxAsclin_Asc *asclin)
 ISR error routine. More...
 
void IfxAsclin_Asc_isrReceive (IfxAsclin_Asc *asclin)
 ISR receive routine. More...
 
void IfxAsclin_Asc_isrTransmit (IfxAsclin_Asc *asclin)
 ISR transmit routine. More...
 
boolean IfxAsclin_Asc_read (IfxAsclin_Asc *asclin, void *data, Ifx_SizeT *count, Ifx_TickTime timeout)
 
void IfxAsclin_Asc_resetSendCount (IfxAsclin_Asc *asclin)
 
boolean IfxAsclin_Asc_stdIfDPipeInit (IfxStdIf_DPipe *stdif, IfxAsclin_Asc *asclin)
 Initialize the standard interface to the device driver. More...
 
boolean IfxAsclin_Asc_write (IfxAsclin_Asc *asclin, void *data, Ifx_SizeT *count, Ifx_TickTime timeout)
 

Detailed Description

ASCLIN ASC details.

Version
iLLD_1_0_0_11_0
                            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 IfxAsclin_Asc.c.

Function Documentation

void IfxAsclin_Asc_initiateTransmission ( IfxAsclin_Asc asclin)

Initiate the data transmission.

Parameters
asclinmodule handle
Returns
None

A coding example can be found in How to use the ASCLIN ASC Interface driver?

Definition at line 383 of file IfxAsclin_Asc.c.

Referenced by IfxAsclin_Asc_write().

boolean IfxAsclin_Asc_stdIfDPipeInit ( IfxStdIf_DPipe stdif,
IfxAsclin_Asc asclin 
)

Initialize the standard interface to the device driver.

Parameters
stdifstandard interface object, will be initialized by the function
asclindevice driver object used by the standard interface. must be initialised separately
Returns
TRUE on success, else FALSE

Definition at line 553 of file IfxAsclin_Asc.c.