mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-06-17 10:59:21 -04:00
Added bluetooth and user I/O drivers
This commit is contained in:
parent
4df7a7d781
commit
f1a951e508
14 changed files with 541 additions and 58 deletions
31
hardware/UserIO.h
Normal file
31
hardware/UserIO.h
Normal file
|
@ -0,0 +1,31 @@
|
|||
#ifndef USRIO_H
|
||||
#define USRIO_H
|
||||
|
||||
#include <avr/io.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
#include "device.h"
|
||||
|
||||
void usrio_init(void);
|
||||
|
||||
bool usrio_1(void);
|
||||
bool usrio_2(void);
|
||||
bool usrio_3(void);
|
||||
bool usrio_4(void);
|
||||
|
||||
void usrio_1_on(void);
|
||||
void usrio_2_on(void);
|
||||
void usrio_3_on(void);
|
||||
void usrio_4_on(void);
|
||||
|
||||
void usrio_1_off(void);
|
||||
void usrio_2_off(void);
|
||||
void usrio_3_off(void);
|
||||
void usrio_4_off(void);
|
||||
|
||||
void usrio_1_toggle(void);
|
||||
void usrio_2_toggle(void);
|
||||
void usrio_3_toggle(void);
|
||||
void usrio_4_toggle(void);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue