ds3231reg.h (279399) | ds3231reg.h (300421) |
---|---|
1/*- 2 * Copyright (c) 2014-2015 Luiz Otavio O Souza <loos@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2014-2015 Luiz Otavio O Souza <loos@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/dev/iicbus/ds3231reg.h 279399 2015-02-28 19:02:44Z loos $ | 26 * $FreeBSD: head/sys/dev/iicbus/ds3231reg.h 300421 2016-05-22 13:58:32Z loos $ |
27 */ 28 29/* 30 * Maxim DS3231 RTC registers. 31 */ 32 33#ifndef _DS3231REG_H_ 34#define _DS3231REG_H_ --- 33 unchanged lines hidden (view full) --- 68#define DS3231_STATUS_A2F (1 << 1) 69#define DS3231_STATUS_A1F (1 << 0) 70#define DS3231_TEMP 0x11 71#define DS3231_TEMP_MASK 0xffc0 72#define DS3231_0500C 0x80 73#define DS3231_0250C 0x40 74#define DS3231_MSB 0x8000 75#define DS3231_NEG_BIT DS3231_MSB | 27 */ 28 29/* 30 * Maxim DS3231 RTC registers. 31 */ 32 33#ifndef _DS3231REG_H_ 34#define _DS3231REG_H_ --- 33 unchanged lines hidden (view full) --- 68#define DS3231_STATUS_A2F (1 << 1) 69#define DS3231_STATUS_A1F (1 << 0) 70#define DS3231_TEMP 0x11 71#define DS3231_TEMP_MASK 0xffc0 72#define DS3231_0500C 0x80 73#define DS3231_0250C 0x40 74#define DS3231_MSB 0x8000 75#define DS3231_NEG_BIT DS3231_MSB |
76#define TZ_ZEROC 2732 | 76#define TZ_ZEROC 2731 |
77 78#endif /* _DS3231REG_H_ */ | 77 78#endif /* _DS3231REG_H_ */ |