embedded-software
reusable software modules for embedded systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
laser_comms.h File Reference
#include "timing.h"
#include "uart.h"
#include "project_settings.h"
#include "stdint.h"
Include dependency graph for laser_comms.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FIRE_BAUD_RATE   9600
 
#define SHOTS_PER_BURST   3
 
#define GUN_UART   1
 
#define MIN_LIMIT   100
 

Functions

void LaserComms_Init (uint8_t playerid, void(*hit)(uint8_t), uint32_t limit)
 
void LaserComms_Fire (void)
 
void LaserComms_HitFilter (uint8_t enemyPlayer)
 

Macro Definition Documentation

#define FIRE_BAUD_RATE   9600
#define GUN_UART   1
#define MIN_LIMIT   100
#define SHOTS_PER_BURST   3

Function Documentation

void LaserComms_Fire ( void  )

Here is the call graph for this function:

void LaserComms_HitFilter ( uint8_t  enemyPlayer)

Here is the call graph for this function:

Here is the caller graph for this function:

void LaserComms_Init ( uint8_t  playerid,
void(*)(uint8_t)  hit,
uint32_t  limit 
)

Here is the call graph for this function: