|
ICARUS OS (Intelligent Cooperative Architecture for Real-time Unified Systems) 0.1.0
Preemptive Real-Time Operating System for ARM Cortex-M7
|
#include <stdint.h>Go to the source code of this file.
Functions | |
| void | LED_On (void) |
| Turn LED on. | |
| void | LED_Off (void) |
| Turn LED off. | |
| void | LED_Toggle (void) |
| Toggle LED state. | |
| void | LED_Blink (uint32_t on_ticks, uint32_t off_ticks) |
| Blink LED with specified timing. | |
| void LED_Blink | ( | uint32_t | Hdelay, |
| uint32_t | Ldelay | ||
| ) |
Blink LED with specified timing.
| [in] | on_ticks | Duration LED is on (in OS ticks) |
| [in] | off_ticks | Duration LED is off (in OS ticks) |
Blink LED with specified timing.
Turns LED on for specified duration, then off for specified duration. Uses task_active_sleep() for non-blocking delays.
| [in] | Hdelay | LED on duration in OS ticks |
| [in] | Ldelay | LED off duration in OS ticks |
Definition at line 93 of file retarget_hal.c.
References E3_GPIO_Port, E3_Pin, and task_active_sleep().
Referenced by main(), and os_heartbeat_task().
| void LED_Off | ( | void | ) |
Turn LED off.
Sets PE3 GPIO pin low to turn off the onboard LED.
Definition at line 118 of file retarget_hal.c.
References E3_GPIO_Port, and E3_Pin.
Referenced by os_heartbeat_task().
| void LED_On | ( | void | ) |
Turn LED on.
Turn LED on.
Sets PE3 GPIO pin high to illuminate the onboard LED.
Definition at line 107 of file retarget_hal.c.
References E3_GPIO_Port, and E3_Pin.
Referenced by os_heartbeat_task().
| void LED_Toggle | ( | void | ) |
Toggle LED state.