master board program  v. 2 - 2018
/home/krtko/robocup_2018/robocup_2018/config.c File Reference
#include "config.h"
+ Include dependency graph for config.c:

Functions

msg_t check_main_mailbox (void)
 
void send_to_main_mailbox (msg_t sending_command)
 
msg_t check_ultrasonic_mailbox (void)
 
void send_to_ultrasonic_mailbox (msg_t sending_command)
 
void set_pins (void)
 
void init_drivers (void)
 
void board_init (void)
 

Variables

static msg_t main_commands_queue [MAIN_QUEUE]
 
static mailbox_t main_commands
 
static msg_t ultrasonic_commands_queue [ULTRASONIC_QUEUE]
 
static mailbox_t ultrasonic_commands
 
static const SerialConfig usart_1_cfg
 
static const SerialConfig usart_2_cfg
 
static const SerialConfig usart_3_cfg
 
static const SerialConfig usart_4_cfg
 
static const SerialConfig usart_6_cfg
 

Function Documentation

void board_init ( void  )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

msg_t check_main_mailbox ( void  )

+ Here is the caller graph for this function:

msg_t check_ultrasonic_mailbox ( void  )

+ Here is the caller graph for this function:

void init_drivers ( void  )

+ Here is the caller graph for this function:

void send_to_main_mailbox ( msg_t  sending_command)

+ Here is the caller graph for this function:

void send_to_ultrasonic_mailbox ( msg_t  sending_command)

+ Here is the caller graph for this function:

void set_pins ( void  )

+ Here is the caller graph for this function:

Variable Documentation

mailbox_t main_commands
static
msg_t main_commands_queue[MAIN_QUEUE]
static
mailbox_t ultrasonic_commands
static
msg_t ultrasonic_commands_queue[ULTRASONIC_QUEUE]
static
const SerialConfig usart_1_cfg
static
Initial value:
= {
115200,
0,
0,
0
}
const SerialConfig usart_2_cfg
static
Initial value:
= {
115200,
0,
0,
0
}
const SerialConfig usart_3_cfg
static
Initial value:
= {
115200,
0,
0,
0
}
const SerialConfig usart_4_cfg
static
Initial value:
= {
57600,
0,
0,
0
}
const SerialConfig usart_6_cfg
static
Initial value:
= {
115200,
0,
0,
0
}