ICARUS OS (Intelligent Cooperative Architecture for Real-time Unified Systems) 0.1.0
Preemptive Real-Time Operating System for ARM Cortex-M7
Loading...
Searching...
No Matches
retarget_hal.h
Go to the documentation of this file.
1
25#ifndef INC_BSP_RETARGET_HAL_H_
26#define INC_BSP_RETARGET_HAL_H_
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32/* ============================================================================
33 * INCLUDES
34 * ========================================================================= */
35
36// #include "main.h"
37#include "bsp/i2c.h"
38#include "bsp/rtc.h"
39#include "bsp/spi.h"
40#include "bsp/timer.h"
41#include "usb_device.h"
42#include "bsp/gpio.h"
43#include "lcd.h"
44#include "bsp/lsm9ds1_reg.h"
45#include "bsp/config.h"
46#include "bsp/mpu.h"
47
48/* ============================================================================
49 * CONFIGURATION
50 * ========================================================================= */
51
53#define IMU_ADDRESS 0x6B
54
55/* ============================================================================
56 * HAL INITIALIZATION API
57 * ========================================================================= */
58
68void hal_init(void);
69
70/* ============================================================================
71 * LED CONTROL API
72 * ========================================================================= */
73
82void LED_Blink(uint32_t Hdelay, uint32_t Ldelay);
83
87void LED_On(void);
88
92void LED_Off(void);
93
94#ifdef __cplusplus
95}
96#endif
97
98#endif /* INC_BSP_RETARGET_HAL_H_ */
This file contains all the function prototypes for the gpio.c file.
This file contains all the function prototypes for the i2c.c file.
This file contains all the functions prototypes for the lsm9ds1_reg.c driver.
void LED_Blink(uint32_t Hdelay, uint32_t Ldelay)
Blink LED with specified on/off timing.
void LED_On(void)
Turn LED on (active high)
void hal_init(void)
Initialize all hardware abstraction layer components.
void LED_Off(void)
Turn LED off.
This file contains all the function prototypes for the rtc.c file.
This file contains all the function prototypes for the spi.c file.