objc

hw.h
Go to the documentation of this file.
1 
9 #pragma once
10 #include "adc.h"
11 #include "gpio.h"
12 #include "i2c.h"
13 #include "infrared.h"
14 #include "led.h"
15 #include "power.h"
16 #include "pwm.h"
17 #include "spi.h"
18 #include "watchdog.h"
19 #include "wifi.h"
20 
22 // LIFECYCLE
23 
31 extern void hw_init(void);
32 
40 extern void hw_exit(void);
41 
49 extern void hw_poll(void);
Power management interface.
Pulse Width Modulation (PWM) interface.
GPIO (General Purpose Input/Output) interface.
Infrared (IR) receiver interface.
Hardware Watchdog Timer Abstraction Layer.
ADC (Analog-to-Digital Converter) interface.
SPI (Serial Peripheral Interface) interface.
void hw_poll(void)
Occasional polling function for the hardware system.
void hw_exit(void)
Cleans up the hardware system on shutdown.
Wi-Fi management interface.
LED control interface.
void hw_init(void)
Initializes the hardware system on startup.
I2C (Inter-Integrated Circuit) interface.