Loading...
Searching...
No Matches
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
19#ifndef QMC5883L_INTERNAL_H
20#define QMC5883L_INTERNAL_H
21
22#ifdef __cplusplus
23extern "C"
24{
25#endif
26
31#define QMC5883L_DOXL (0x00)
32#define QMC5883L_DOXH (0x01)
33#define QMC5883L_DOYL (0x02)
34#define QMC5883L_DOYH (0x03)
35#define QMC5883L_DOZL (0x04)
36#define QMC5883L_DOZH (0x05)
37#define QMC5883L_STATUS (0x06)
38#define QMC5883L_TOUTL (0x07)
39#define QMC5883L_TOUTH (0x08)
40#define QMC5883L_CTRL1 (0x09)
41#define QMC5883L_CTRL2 (0x0a)
42#define QMC5883L_SETRESET (0x0b)
49#define QMC5883L_STANDBY (0x00)
50#define QMC5883L_CONT (0x01)
57#define QMC5883L_DRDY (0x01)
58#define QMC5883L_OVL (0x02)
59#define QMC5883L_DOR (0x04)
66#define QMC5883L_INT_ENB (0x01)
67#define QMC5883L_ROL_PNT (0x40)
68#define QMC5883L_SOFT_RST (0x80)
71#ifdef __cplusplus
72}
73#endif
74
75#endif /* QMC5883L_INTERNAL_H */