Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
qmc5883l_internal.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2019 Freie Universität Berlin
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
9
#pragma once
10
21
#ifdef __cplusplus
22
extern
"C"
23
{
24
#endif
25
30
#define QMC5883L_DOXL (0x00)
31
#define QMC5883L_DOXH (0x01)
32
#define QMC5883L_DOYL (0x02)
33
#define QMC5883L_DOYH (0x03)
34
#define QMC5883L_DOZL (0x04)
35
#define QMC5883L_DOZH (0x05)
36
#define QMC5883L_STATUS (0x06)
37
#define QMC5883L_TOUTL (0x07)
38
#define QMC5883L_TOUTH (0x08)
39
#define QMC5883L_CTRL1 (0x09)
40
#define QMC5883L_CTRL2 (0x0a)
41
#define QMC5883L_SETRESET (0x0b)
48
#define QMC5883L_STANDBY (0x00)
49
#define QMC5883L_CONT (0x01)
56
#define QMC5883L_DRDY (0x01)
57
#define QMC5883L_OVL (0x02)
58
#define QMC5883L_DOR (0x04)
65
#define QMC5883L_INT_ENB (0x01)
66
#define QMC5883L_ROL_PNT (0x40)
67
#define QMC5883L_SOFT_RST (0x80)
70
#ifdef __cplusplus
71
}
72
#endif
73
Generated on Thu Jun 26 2025 14:14:45 by
1.9.1