Download Print this page

Infineon UART VCOM 1 Manual page 5

Uart communication between pc and device, aurix tc2xx microcontroller training

Advertisement

Implementation
Configure the ASCLIN
Configuration of the ASCLIN module for UART communication is done in the setup
phase by initializing an instance of the IfxAsclin_Asc_Config structure with the
following parameters:
baudrate – structure to set the actual communication speed in bit/s
interrupt – structure to set:
transmit interrupt priority (txPriority)
typeOfService – defines which service provider is responsible for handling the
interrupt, which can be any of the available CPUs, or the DMA
pins – structure to set which GPIO port pins are used for the communication
txBuffer, txBufferSize – to configure the buffer that will hold the outgoing data
The function IfxAsclin_Asc_initModuleConfig() fills the configuration structure with
default values and IfxAsclin_Asc_initModule() initializes the module with the user
configuration.
All the above functions can be found in the iLLD header IfxAsclin_Asc.h.
2019-10-17
Copyright © Infineon Technologies AG 2019. All rights reserved.
5

Advertisement

loading
Need help?

Need help?

Do you have a question about the UART VCOM 1 and is the answer not in the manual?

Questions and answers