Extract I2C_WATCHDOG_INTERVAL_USEC.

This commit is contained in:
László Monda
2017-09-29 01:01:29 +02:00
parent 7313d8d87e
commit d6254b6903
2 changed files with 3 additions and 1 deletions

View File

@@ -3,6 +3,8 @@
// Macros:
#define I2C_WATCHDOG_INTERVAL_USEC 100000
#define PIT_I2C_WATCHDOG_HANDLER PIT0_IRQHandler
#define PIT_I2C_WATCHDOG_IRQ_ID PIT0_IRQn
#define PIT_SOURCE_CLOCK CLOCK_GetFreq(kCLOCK_BusClk)