Implementation
Run the Shell
The Shell is continuously run through the function
runShellInterface()
called inside the infinite while loop in
the
Cpu0_Main.c
file.
It continuously reads the incoming data and evaluates them when the carriage return character is entered.
Configure and control the LEDs
The LEDs are toggled by
controlling the port pins
to which they are connected using methods from the iLLD
headers
IfxPort.h
.
The LED port pins have to be
configured to output push-pull mode
using the function
IfxPort_setPinMode()
.
During program execution, the LEDs are
switched on and off
using the function
IfxPort_setPinState()
.
7
2019-10-17
Copyright © Infineon Technologies AG 2019. All rights reserved.