Proyecto Final – Medición de Inclinación
0.0.1
Este proyecto utiliza la placa NUCLEO-STM32F446RE y permite detectar y visualizar en tiempo real la inclinación mediante el sensor MPU-6050.
Cargando...
Buscando...
Nada coincide
ds3231_registers.h
Ir a la documentación de este archivo.
1
8
9
#ifndef DS3231_REGISTERS_H
10
#define DS3231_REGISTERS_H
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
19
20
/* Tamaños definidos para buffers. */
21
#define DS3231_MAX_BLOCK_WRITE (8)
22
#define DS3231_MAX_BLOCK_READ (7)
23
24
/* -------------------------------------------------------------------------- */
25
/* Direcciones de Registros del DS3231 */
26
/* -------------------------------------------------------------------------- */
30
#define DS3231_REG_SECONDS (0x00)
31
#define DS3231_REG_MINUTES (0x01)
32
#define DS3231_REG_HOURS (0x02)
33
#define DS3231_REG_DAY (0x03)
/* 1..7 */
34
#define DS3231_REG_DATE (0x04)
/* 1..31 */
35
#define DS3231_REG_MONTH (0x05)
/* bit7 = Centenas */
36
#define DS3231_REG_YEAR (0x06)
/* (00..99) */
37
38
39
#ifdef __cplusplus
40
}
41
#endif
42
43
#endif
/* DS3231_REGISTERS_H */
Devices
DS3231
Inc
ds3231_registers.h
Generado por
1.14.0