
Implementation
LED configuration
›
The port pin with the connected LED is configured to push-pull output mode by calling the function
IfxPort_setPinMode()
with the parameter
IfxPort_Mode_outputPushPullGeneral
(enumerated
type value).
›
With the function
IfxPort_setPinState()
, using the enumerated type value
IfxPort_State_high
,
the LED is turned off as default state
.
All functions above are provided by the iLLD header
IfxPort.h
.
Triggering of the alarm
›
The Software Alarm 0 can be triggered with the function
IfxSmu_triggerAlarm()
provided by the
iLLD header
IfxSmu.h
.
6
2019-10-17
Copyright © Infineon Technologies AG 2019. All rights reserved.