iLLD_TC29x
1.0
|
ASCLIN ASC details. More...
#include "Asclin/Std/IfxAsclin.h"
#include "_Lib/DataHandling/Ifx_Fifo.h"
#include "SysSe/Bsp/Bsp.h"
#include "StdIf/IfxStdIf_DPipe.h"
Go to the source code of this file.
Data Structures | |
struct | IfxAsclin_Asc_ErrorFlags |
Structure for Error Flags. More... | |
struct | IfxAsclin_Asc_BaudRate |
Structure for baudrate. More... | |
struct | IfxAsclin_Asc_BitTimingControl |
Structure for bit timings. More... | |
struct | IfxAsclin_Asc_FifoControl |
Structure for FIFO control. More... | |
struct | IfxAsclin_Asc_FrameControl |
Structure for frame control. More... | |
struct | IfxAsclin_Asc_InterruptConfig |
Structure for interrupt configuration. More... | |
struct | IfxAsclin_Asc_Pins |
Structure for ASC pin configuration. More... | |
union | IfxAsclin_Asc_ErrorFlagsUnion |
This union contains the error flags. In addition it allows to write and read to/from all flags as once via the ALL member. More... | |
struct | IfxAsclin_Asc |
Module Handle. More... | |
struct | IfxAsclin_Asc_Config |
Configuration structure of the module. More... | |
ASCLIN ASC details.
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.h.
struct IfxAsclin_Asc_ErrorFlags |
Structure for Error Flags.
Definition at line 232 of file IfxAsclin_Asc.h.
Data Fields | ||
---|---|---|
uint8 | frameError: 1 | transmit complete/pending error |
uint8 | parityError: 1 | parity error |
uint8 | rxFifoOverflow: 1 | receive FIFO overflow error |
uint8 | rxFifoUnderflow: 1 | receive FIFO underflow error |
uint8 | txFifoOverflow: 1 | transmit FIFO overflow error |
union IfxAsclin_Asc_ErrorFlagsUnion |
This union contains the error flags. In addition it allows to write and read to/from all flags as once via the ALL member.
Definition at line 313 of file IfxAsclin_Asc.h.
Data Fields | ||
---|---|---|
uint8 | ALL | |
IfxAsclin_Asc_ErrorFlags | flags |
IFX_EXTERN void IfxAsclin_Asc_initiateTransmission | ( | IfxAsclin_Asc * | asclin) |
Initiate the data transmission.
asclin | module handle |
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().
IFX_EXTERN boolean IfxAsclin_Asc_stdIfDPipeInit | ( | IfxStdIf_DPipe * | stdif, |
IfxAsclin_Asc * | asclin | ||
) |
Initialize the standard interface to the device driver.
stdif | standard interface object, will be initialized by the function |
asclin | device driver object used by the standard interface. must be initialised separately |
Definition at line 553 of file IfxAsclin_Asc.c.