Implementation
Configure and control the LED
The LED is toggled by controlling the port pin to which it is connected using functions
from the iLLD header
IfxPort.h
.
Inside the function
initPeripherals()
, the port pin is configured to push-pull output
mode using the function
IfxPort_setPinMode()
.
During program execution, inside the interrupt service routine
isrSTM()
, the LED is
switched on and off using the function
IfxPort_setPinState()
.
5
2019-10-17
Copyright © Infineon Technologies AG 2019. All rights reserved.