- blocking delay_01us using timer13 (need to check peripheral frequencies)
- eeprom working
This commit is contained in:
bernet.andre@gmail.com
2013-01-06 18:09:27 +00:00
parent 6c4193f158
commit 78efc5f0f0
7 changed files with 104 additions and 3 deletions
+2 -1
View File
@@ -44,6 +44,7 @@
#include "aspi.h"
#include "i2c_ee.h"
#include "audio_driver.h"
#include "delays.h"
// TODO elsewhere
#if !defined(SIMU)
@@ -111,7 +112,7 @@ uint32_t check_soft_power();
#define IS_BACKLIGHT_ON() GPIO_IsSet(GPIOB, GPIO_Pin_BL)
#define udelay(x) do { uint32_t temp; temp=((x+0)<<3); while(--temp); } while (0)
#define delayUsec(x) udelay(x)
#define delayUsec(x) CoTickDelay(1);
#if !defined(SIMU)
#define eeprom_read_block I2C_EE_BufferRead