Go to the documentation of this file.
33 #ifndef __SELFTEST_EXAMPLE_MAIN_H__
34 #define __SELFTEST_EXAMPLE_MAIN_H__
Header file of ADXL38X Driver.
enum adxl38x_id dev_type
Definition: adxl38x.h:337
uint32_t value
Definition: adxl38x.h:398
@ ADXL382_RANGE_60G
Definition: adxl38x.h:256
#define pr_info(fmt, args...)
Definition: no_os_print_log.h:115
Main header for example eval-adxl38x project.
int adxl38x_get_deviceID(struct adxl38x_dev *dev, enum adxl38x_id *devID)
Gets the current device type.
Definition: adxl38x.c:390
int adxl38x_soft_reset(struct adxl38x_dev *dev)
Performs a soft reset of the device.
Definition: adxl38x.c:270
ADXL38X Device structure.
Definition: adxl38x.h:335
int adxl38x_get_sts_reg(struct adxl38x_dev *dev, union adxl38x_sts_reg_flags *status_flags)
Reads the status registers.
Definition: adxl38x.c:466
int selftest_example_main()
Example main execution.
Definition: selftest_example_main.c:50
@ ADXL38X_MODE_HP
Definition: adxl38x.h:274
Definition: adxl38x.h:396
int adxl38x_set_range(struct adxl38x_dev *dev, enum adxl38x_range range_val)
Sets the measurement range register value.
Definition: adxl38x.c:345
int selftest_example_main()
Example main execution.
Definition: selftest_example_main.c:50
int adxl38x_selftest(struct adxl38x_dev *dev, enum adxl38x_op_mode op_mode, bool *st_x, bool *st_y, bool *st_z)
Executed Selftest on the sensing axes and returns the outcome of the test.
Definition: adxl38x.c:759
int adxl38x_get_range(struct adxl38x_dev *dev, enum adxl38x_range *range_val)
Gets the current range setting of the device.
Definition: adxl38x.c:366
@ ID_ADXL382
Definition: adxl38x.h:238
int adxl38x_init(struct adxl38x_dev **device, struct adxl38x_init_param init_param)
Initializes the device and checks for valid peripheral communication.
Definition: adxl38x.c:167
struct adxl38x_init_param adxl38x_ip
Definition: common_data.c:64
Error macro definition for ARM Compiler.