Wrong Bitmask definition
Define:#define LSM6DSM_60_7F_READ_BITMASK 0xFF3FFE07U /**< read bitmask for bytes 96..127 **/
should not be 0xFF3FFE07U → 0x003F8FC3
and following write one is also wrong → 0x003F8003
also: "static uint32_t lsm6dsl_writable_regs[4] = {LSM6DSL_00_1F_WRITE_BITMASK" in lsm6dms.c should be const