2015-12-17 13:19:17 -07:00
|
|
|
|
|
|
|
#ifndef WOLFSSL_ROWLEY_HW_H
|
|
|
|
#define WOLFSSL_ROWLEY_HW_H
|
|
|
|
|
2015-10-06 10:45:46 -07:00
|
|
|
|
|
|
|
#include <__cross_studio_io.h>
|
|
|
|
#include <__libc.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
// Generic HW API
|
|
|
|
void hw_init(void);
|
|
|
|
uint32_t hw_get_time_sec(void);
|
|
|
|
uint32_t hw_get_time_msec(void);
|
|
|
|
void hw_uart_printchar(int c);
|
|
|
|
void hw_watchdog_disable(void);
|
2015-11-06 09:41:16 -08:00
|
|
|
uint32_t hw_rand(void);
|
2015-12-17 13:19:17 -07:00
|
|
|
|
2016-05-05 09:43:11 -07:00
|
|
|
// Delay functions
|
|
|
|
void delay_us(uint32_t microseconds);
|
|
|
|
|
2015-12-17 13:19:17 -07:00
|
|
|
|
|
|
|
#endif /* WOLFSSL_ROWLEY_HW_H */
|
|
|
|
|