CROSS Technical Documentation User Manual and Technical Doc.
INFN Milano Bicocca
Loading...
Searching...
No Matches
Led.c File Reference
#include "tutti_gli_header.h"

Go to the source code of this file.

Functions

void LED_RED_lampeggio (void)
 This function toggles the Red LED and it is launched by SysTick_Handler() every time LED_rosso_tempo equals LED_rosso_fondo_scala. Count enable needs LED_rosso_attivo to be true.
 
void LED_VERDE_lampeggio (void)
 This function toggles the green LED and it is launched by SysTick_Handler() every time LED_verde_tempo equals LED_verde_fondo_scala. Count enable needs LED_verde_attivo to be true.
 
void LED_accendi_spegni (uint8_t LED, uint8_t accendi_1_spegni_0)
 This function turns ON or OFF any of the selcted LED.
 
void instr_LED_ON_OFF_function (void)
 LEDs can be set ON/OFF.
 
void LED_remote_ON_OFF (void)
 LEDs can be set ON/OFF from remote.
 

Variables

volatile uint16_t LED_rosso_tempo =0
 
volatile uint16_t LED_rosso_fondo_scala =1000
 
volatile uint8_t LED_rosso_attivo =0
 
volatile uint8_t prolungamento =0
 
volatile uint8_t acceso =1
 
volatile uint8_t LED_verde_attivo =0
 
volatile uint16_t LED_verde_tempo =0
 
volatile uint16_t LED_verde_fondo_scala =500
 
volatile bool LED_remote_control =false
 
volatile uint8_t LED_remote_control_setting =0