UoS³ Flight Computer Firmware
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Groups
Pages
src
board
uos3-proto
antenna.c
Go to the documentation of this file.
1
11
#include "board.h"
12
#include "../gpio.h"
13
#include "../delay.h"
14
15
#include "../antenna.h"
16
17
void
Antenna_deploy
(
void
)
18
{
19
GPIO_set
(GPIO_PB5);
20
Delay_ms
(5000);
21
GPIO_reset
(GPIO_PB5);
22
}
23
24
bool
Antenna_read_deployment_switch
(
void
)
25
{
26
return
GPIO_read
(GPIO_PB4);
27
}
Delay_ms
void Delay_ms(uint32_t milliseconds)
Definition:
delay.c:19
Antenna_deploy
void Antenna_deploy(void)
Definition:
antenna.c:17
Antenna_read_deployment_switch
bool Antenna_read_deployment_switch(void)
Definition:
antenna.c:24
GPIO_read
bool GPIO_read(uint8_t gpio_num)
Definition:
gpio.c:29
GPIO_set
void GPIO_set(uint8_t gpio_num)
Definition:
gpio.c:13
GPIO_reset
void GPIO_reset(uint8_t gpio_num)
Definition:
gpio.c:18
Generated by
1.8.6