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

Go to the source code of this file.

Macros

#define KICK_PIN   2
 
#define KICK_GPIO   GPIOD
 
#define READY_PIN   12
 
#define READY_GPIO   GPIOC
 
#define KICK_DURATION   100
 
#define BALL_DETECT_PIN   15
 
#define BALL_DETECT_GPIO   GPIOD
 

Functions

void kick (void)
 
int8_t kicker_is_ready (void)
 
int8_t i_have_ball (void)
 

Macro Definition Documentation

#define BALL_DETECT_GPIO   GPIOD
#define BALL_DETECT_PIN   15
#define KICK_DURATION   100
#define KICK_GPIO   GPIOD
#define KICK_PIN   2
#define READY_GPIO   GPIOC
#define READY_PIN   12

Function Documentation

int8_t i_have_ball ( void  )

+ Here is the caller graph for this function:

void kick ( void  )

+ Here is the caller graph for this function:

int8_t kicker_is_ready ( void  )