Open qutefox opened 8 months ago
The
sizeof(lps22hb_fifo_output_data_t)
might cause issues on other micros when padding is added to the lps22hb_fifo_output_data_t struct.
For example sizeof(lps22hb_fifo_output_data_t) returns 8, out of which 5 bytes are the data, 3 bytes are padding.
On my board (MAX32660) this is not an issue.
PR: https://github.com/STMicroelectronics/lps22hb-pid/pull/3 Added some other stuff too.
I am unable to find any methods to burst read fifo stored data.
The datasheet mentions it here:
So I would add the following methods: lps22hb_reg.h
lps22hb_reg.c
This way the end user can: