LCM — CH32V003 Light Control Module
Light Control Module, I2C slave
Loading...
Searching...
No Matches
lcm_led.h File Reference
#include <stdint.h>

Go to the source code of this file.

Functions

void LCM_Led_Init (void)
 
void LCM_Led_ErrorOn (void)
 
void LCM_Led_ErrorOff (void)
 
void LCM_Led_ActivityPulse (void)
 
void LCM_Led_Poll (void)
 

Function Documentation

◆ LCM_Led_ActivityPulse()

void LCM_Led_ActivityPulse ( void )

Definition at line 110 of file lcm_led.c.

References LCM_LED_GREEN_MS, LCM_Led_GreenSet(), and s_green_ms_left.

Referenced by LCM_I2C_OnRxData().

◆ LCM_Led_ErrorOff()

void LCM_Led_ErrorOff ( void )

◆ LCM_Led_ErrorOn()

void LCM_Led_ErrorOn ( void )

Definition at line 93 of file lcm_led.c.

References LCM_LED_RED_MIN_MS, LCM_Led_RedSet(), s_red_ms_left, and s_red_off_pending.

Referenced by LCM_SetError().

◆ LCM_Led_Init()

void LCM_Led_Init ( void )

◆ LCM_Led_Poll()

void LCM_Led_Poll ( void )

Definition at line 116 of file lcm_led.c.

References LCM_Led_GreenSet(), LCM_Led_RedSet(), s_green_ms_left, s_red_ms_left, and s_red_off_pending.

Referenced by LCM_Module_Poll().