ChibiOS/HAL
6.1.0
|
Generic accelerometer interface header. More...
#include "hal_sensors.h"
Go to the source code of this file.
Data Structures | |
struct | BaseAccelerometerVMT |
BaseAccelerometer virtual methods table. More... | |
struct | BaseAccelerometer |
Base accelerometer class. More... | |
Macros | |
#define | _base_accelerometer_methods_alone |
BaseAccelerometer specific methods. More... | |
#define | _base_accelerometer_methods |
BaseAccelerometer specific methods with inherited ones. More... | |
#define | _base_accelerometer_data _base_sensor_data |
BaseAccelerometer specific data. More... | |
Macro Functions (BaseAccelerometer) | |
#define | accelerometerGetAxesNumber(ip) (ip)->vmt->get_channels_number(ip) |
Accelerometer get axes number. More... | |
#define | accelerometerReadRaw(ip, dp) (ip)->vmt->read_raw(ip, dp) |
Accelerometer read raw data. More... | |
#define | accelerometerReadCooked(ip, dp) (ip)->vmt->read_cooked(ip, dp) |
Accelerometer read cooked data. More... | |
#define | accelerometerSetBias(ip, bp) (ip)->vmt->set_bias(ip, bp) |
Updates accelerometer bias data from received buffer. More... | |
#define | accelerometerResetBias(ip) (ip)->vmt->reset_bias(ip) |
Reset accelerometer bias data restoring it to zero. More... | |
#define | accelerometerSetSensitivity(ip, sp) (ip)->vmt->set_sensitivity(ip, sp) |
Updates accelerometer sensitivity data from received buffer. More... | |
#define | accelerometerResetSensitivity(ip) (ip)->vmt->reset_sensitivity(ip) |
Reset accelerometer sensitivity data restoring it to its typical value. More... | |
Generic accelerometer interface header.
Definition in file hal_accelerometer.h.