#include <string.h>
#include <stdio.h>
#include "compiler.h"
#include "FreeRTOS.h"
#include "board.h"
#include "cpled.h"
Functions | |
bool | b_ledm1_get_value (char *buf) |
Get the ledm1 current value. More... | |
bool | b_ledm2_get_value (char *buf) |
Get the ledm2 current value. More... | |
bool | b_ledm3_get_value (char *buf) |
Get the ledm3 current value. More... | |
bool | b_ledm4_get_value (char *buf) |
Get the ledm4 current value. More... | |
bool | e_ledm1_set_value (char *cmd, char *buf) |
bool | e_ledm2_set_value (char *cmd, char *buf) |
bool | e_ledm3_set_value (char *cmd, char *buf) |
bool | e_ledm4_set_value (char *cmd, char *buf) |
bool | e_ledm_refresh_intensity (U32 intensity) |
Variables | |
const signed portCHAR *const | CPLED_OFF_STR = (signed portCHAR *)"off" |
const signed portCHAR *const | CPLED_ON_STR = (signed portCHAR *)"on" |
bool b_ledm1_get_value | ( | char * | buf | ) |
Get the ledm1 current value.
buf | char buffer in which the ledm1 state is stored. |
References CPLED_OFF_STR, CPLED_ON_STR, LED_MONO0_GREEN, LED_Test(), and sprintf().
Referenced by device_full_custom_task().
bool b_ledm2_get_value | ( | char * | buf | ) |
Get the ledm2 current value.
buf | char buffer in which the ledm2 state is stored. |
References CPLED_OFF_STR, CPLED_ON_STR, LED_MONO1_GREEN, LED_Test(), and sprintf().
Referenced by device_full_custom_task().
bool b_ledm3_get_value | ( | char * | buf | ) |
Get the ledm3 current value.
buf | char buffer in which the ledm3 state is stored. |
References CPLED_OFF_STR, CPLED_ON_STR, LED_MONO2_GREEN, LED_Test(), and sprintf().
Referenced by device_full_custom_task().
bool b_ledm4_get_value | ( | char * | buf | ) |
Get the ledm4 current value.
buf | char buffer in which the ledm4 state is stored. |
References CPLED_OFF_STR, CPLED_ON_STR, LED_MONO3_GREEN, LED_Test(), and sprintf().
Referenced by device_full_custom_task().
bool e_ledm1_set_value | ( | char * | cmd, |
char * | buf | ||
) |
References CPLED_OFF_STR, CPLED_ON_STR, LED_MONO0_GREEN, LED_Off(), LED_On(), and sprintf().
Referenced by device_full_custom_task().
bool e_ledm2_set_value | ( | char * | cmd, |
char * | buf | ||
) |
References CPLED_OFF_STR, CPLED_ON_STR, LED_MONO1_GREEN, LED_Off(), LED_On(), and sprintf().
Referenced by device_full_custom_task().
bool e_ledm3_set_value | ( | char * | cmd, |
char * | buf | ||
) |
References CPLED_OFF_STR, CPLED_ON_STR, LED_MONO2_GREEN, LED_Off(), LED_On(), and sprintf().
Referenced by device_full_custom_task().
bool e_ledm4_set_value | ( | char * | cmd, |
char * | buf | ||
) |
References CPLED_OFF_STR, CPLED_ON_STR, LED_MONO3_GREEN, LED_Off(), LED_On(), and sprintf().
Referenced by device_full_custom_task().
References LED_MONO0_GREEN, LED_MONO1_GREEN, LED_MONO2_GREEN, LED_MONO3_GREEN, LED_Set_Intensity(), and LED_Test().
Referenced by device_full_custom_task().
const signed portCHAR* const CPLED_OFF_STR = (signed portCHAR *)"off" |
const signed portCHAR* const CPLED_ON_STR = (signed portCHAR *)"on" |