libhal Hardware Interface API Documentation#
Here is the documentation for all of the hardware interfaces libhal has support for along with any accompanying utilities provided by libhal-util. Each page is marked with what headers should be included to use each of the APIs.
- Accelerometer
- Analog Digital Converter (ADC)
- Angular Velocity Sensor
- Controlled Area Network (CAN)
- Digital Analog Converter (DAC)
- Distance Sensor
- Error
- Functional
- Gyroscope
- Inter-integrated Circuit (I2C)
- Input Pin
- Interrupt Pin
- Magnetometer
- Motor
- Output Pin
- Pulse Width Modulation (PWM)
- Rotational Sensor
- Serial
- Servo
- Serial Peripheral Interface (SPI)
- Steady Clock
- Temperature Sensor
- Timeout
- Timer
- Units