master board program  v. 2 - 2018
/home/krtko/robocup_2018/robocup_2018/leds.h File Reference
#include "hal.h"
#include "ch.h"
+ Include dependency graph for leds.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FALL_BLICK   1
 
#define STARTUP_BLICK   2
 
#define FIRST_BLICK   3
 
#define SECOND_BLICK   4
 
#define THIRD_BLICK   5
 
#define FOURTH_BLICK   6
 
#define FIRST_ON   7
 
#define SECOND_ON   8
 
#define THIRD_ON   9
 
#define FOURTH_ON   10
 
#define FIRST_OFF   11
 
#define SECOND_OFF   12
 
#define THIRD_OFF   13
 
#define FOURTH_OFF   14
 
#define UP_BLICK   15
 
#define STOP_BLICK   16
 
#define FIRST_LED_INDEX   10
 
#define NUMBER_OF_LEDS   3
 
#define LEDS_QUEUE   16
 

Functions

void leds_init (void)
 
void one_blink (uint8_t led)
 
void led_on (uint8_t led)
 
void led_off (uint8_t led)
 
void fall_blink (uint8_t times)
 
void up_blink (uint8_t times)
 
msg_t led_command (msg_t command)
 

Macro Definition Documentation

#define FALL_BLICK   1
#define FIRST_BLICK   3
#define FIRST_LED_INDEX   10
#define FIRST_OFF   11
#define FIRST_ON   7
#define FOURTH_BLICK   6
#define FOURTH_OFF   14
#define FOURTH_ON   10
#define LEDS_QUEUE   16
#define NUMBER_OF_LEDS   3
#define SECOND_BLICK   4
#define SECOND_OFF   12
#define SECOND_ON   8
#define STARTUP_BLICK   2
#define STOP_BLICK   16
#define THIRD_BLICK   5
#define THIRD_OFF   13
#define THIRD_ON   9
#define UP_BLICK   15

Function Documentation

void fall_blink ( uint8_t  times)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

msg_t led_command ( msg_t  command)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void led_off ( uint8_t  led)

+ Here is the caller graph for this function:

void led_on ( uint8_t  led)

+ Here is the caller graph for this function:

void leds_init ( void  )

+ Here is the caller graph for this function:

void one_blink ( uint8_t  led)

+ Here is the caller graph for this function:

void up_blink ( uint8_t  times)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: