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

◆ LED_RED_lampeggio()

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.

Returns
No Parameters
77void LED_RED_lampeggio(void){
78
79
80 if (acceso) {
81 acceso=0;
82 }else{
83 acceso=1;
84 }
85 GPIO_PinWrite(LED_Red.porta_num, LED_Red.pin_num, acceso);
86}
const porta_pin_def LED_Red
Green LED.
Definition: Gpio.c:161
void LED_RED_lampeggio(void)
This function toggles the Red LED and it is launched by SysTick_Handler() every time LED_rosso_tempo ...
Definition: Led.c:77

Definition at line 77 of file Led.c.

Referenced by SysTick_Handler().