add wait for stm, move fake_exit to peripheraks

This commit is contained in:
e.gavrin
2014-07-25 13:18:31 +04:00
parent 7077e42c85
commit 8094de86d1
8 changed files with 195 additions and 126 deletions
+13 -4
View File
@@ -16,11 +16,20 @@
#ifndef COMMON_IO_H
#define COMMON_IO_H
int digital_read(int, int);
void digital_write(int, int);
#include "globals.h"
int analog_read(int, int);
void analog_write(int, int);
int digital_read(uint32_t, uint32_t);
void digital_write(uint32_t, uint32_t);
int analog_read(uint32_t, uint32_t);
void analog_write(uint32_t, uint32_t);
void wait_ms(uint32_t);
#ifdef __TARGET_MCU
void fake_exit(void);
#endif
#endif /* COMMON_IO_H */