Myriota UltraLite SDK 2.4.0
Loading...
Searching...
No Matches
LED control

Status LED control for system indication. More...

Functions

void BoardLEDInit (void)
 Initialise the status LED.
 
void BoardLEDDeinit (void)
 Deinitialise the status LED.
 
void BoardLEDTurnOn (void)
 Turn on the status LED.
 
void BoardLEDTurnOff (void)
 Turn off the status LED.
 
void BoardLEDToggle (void)
 Toggle the status LED state.
 

Detailed Description

Status LED control for system indication.

Function Documentation

◆ BoardLEDInit()

void BoardLEDInit ( void  )

Initialise the status LED.

Configures GPIO and peripheral settings for the status LED. Must be called before using BoardLEDTurnOn(), BoardLEDTurnOff(), or BoardLEDToggle().

◆ BoardLEDDeinit()

void BoardLEDDeinit ( void  )

Deinitialise the status LED.

Disables the LED and releases associated GPIO resources.

◆ BoardLEDTurnOn()

void BoardLEDTurnOn ( void  )

Turn on the status LED.

Powers on the status LED.

◆ BoardLEDTurnOff()

void BoardLEDTurnOff ( void  )

Turn off the status LED.

Powers off the status LED.

◆ BoardLEDToggle()

void BoardLEDToggle ( void  )

Toggle the status LED state.

Switches the LED to the opposite state: if on, turns it off; if off, turns it on. Useful for visual feedback without tracking the LED state manually.