mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-15 04:42:15 -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
|
@ -6,9 +6,21 @@
|
|||
#include <stdlib.h>
|
||||
#include "device.h"
|
||||
#include "util/time.h"
|
||||
#include "hardware/UserIO.h"
|
||||
#include "hardware/sdcard/ff.h"
|
||||
|
||||
#define SD_STATUS_READY 0x00
|
||||
#define SD_STATUS_NOINIT 0x01
|
||||
#define SD_STATUS_NODISK 0x02
|
||||
#define SD_STATUS_WRITEPROTECTED 0x04
|
||||
#define SD_STATUS_UNKNOWN 0xFF
|
||||
|
||||
void sd_init(void);
|
||||
void sd_test(void);
|
||||
void sd_scheduler(void);
|
||||
void sd_jobs(void);
|
||||
void sd_automount(void);
|
||||
void sd_autounmount(void);
|
||||
void sd_statuschange_indication(uint8_t pattern);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue