SuperTinyKernel™ RTOS 1.08.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
Loading...
Searching...
No Matches
c_wrapper.cpp File Reference
#include "led.h"
Include dependency graph for c_wrapper.cpp:

Go to the source code of this file.

Functions

void Led_Init (LedId led, bool init_state)
void Led_Set (LedId led, bool state)
void Led_InitAll (bool state)
void Led_SwitchOnExclusive (LedId led)

Function Documentation

◆ Led_Init()

void Led_Init ( LedId led,
bool init_state )
Examples
sync_c/example.c.

Definition at line 17 of file c_wrapper.cpp.

18{
19 Led::Init(led, init_state);
20}
static void Init(Id led, bool init_state)

References bsp::Led::Init().

Referenced by InitLeds().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Led_InitAll()

void Led_InitAll ( bool state)

◆ Led_Set()

void Led_Set ( LedId led,
bool state )
Examples
blinky-threadx/demo_threadx.c, blinky_c-cmsis-rtos2-prio/example.c, blinky_c-cmsis-rtos2/example.c, blinky_c-cyabs_rtos/example.c, blinky_c-freertos/example.c, blinky_c-threadx/example.c, low_power_c/example.c, sync_c/example.c, and timer_c/example.c.

Definition at line 22 of file c_wrapper.cpp.

23{
24 Led::Set(led, state);
25}
static void Set(Id led, bool state)

References bsp::Led::Set().

Referenced by led_off(), led_on(), led_toggle(), LedSet(), LedTask_Run(), on_led_timer_expired(), Switch_Off(), and Switch_On().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Led_SwitchOnExclusive()

void Led_SwitchOnExclusive ( LedId led)
Examples
blinky_c-pthread/example.c, blinky_c/example.c, and low_power_c/example.c.

Definition at line 32 of file c_wrapper.cpp.

33{
35}
static void SwitchOnExclusive(Id led)
Definition led.h:48

References bsp::Led::SwitchOnExclusive().

Referenced by LedSwitchOnExclusive(), LedThread(), and TaskFunc().

Here is the call graph for this function:
Here is the caller graph for this function: