CROSS Technical Documentation User Manual and Technical Doc.
INFN Milano Bicocca
Loading...
Searching...
No Matches

◆ LED_VERDE_lampeggio()

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.

Returns
No Parameters
100void LED_VERDE_lampeggio(void){
101 static uint8_t acceso=1;
102
103 if (acceso) {
104 acceso=0;
105 }else{
106 acceso=1;
107 }
108
109 GPIO_PinWrite(LED_Green.porta_num, LED_Green.pin_num, acceso);
110}
const porta_pin_def LED_Green
Green LED.
Definition: Gpio.c:160
void LED_VERDE_lampeggio(void)
This function toggles the green LED and it is launched by SysTick_Handler() every time LED_verde_temp...
Definition: Led.c:100

Definition at line 100 of file Led.c.

Referenced by SysTick_Handler().