MAX31341/2 RTC Driver

Max31342_regs.h

Committer:
Mahir Ozturk
Date:
2019-04-10
Revision:
0:1efa49a69ff8

File content as of revision 0:1efa49a69ff8:

/*******************************************************************************
 * Copyright (C) 2018 Maxim Integrated Products, Inc., All Rights Reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included
 * in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
 * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 *
 * Except as contained in this notice, the name of Maxim Integrated
 * Products, Inc. shall not be used except as stated in the Maxim Integrated
 * Products, Inc. Branding Policy.
 *
 * The mere transfer of this software does not imply any licenses
 * of trade secrets, proprietary technology, copyrights, patents,
 * trademarks, maskwork rights, or any other form of intellectual
 * property whatsoever. Maxim Integrated Products, Inc. retains all
 * ownership rights.
 *******************************************************************************
 */

#ifndef MAX31342_REGS_H_
#define MAX31342_REGS_H_

enum max31342_register_address {
	MAX31342_REG_CONFIG_REG1_ADDR		= 0x00,
	MAX31342_REG_CONFIG_REG2_ADDR		= 0x01,
	MAX31342_REG_SLEEP_CONFIG_ADDR		= 0x02,
	MAX31342_REG_TIMER_CONFIG_ADDR		= 0x03,
	MAX31342_REG_INT_EN_REG_ADDR		= 0x04,
	MAX31342_REG_INT_STATUS_REG_ADDR	= 0x05,
	MAX31342_REG_SECONDS_ADDR			= 0x06,
	MAX31342_REG_MINUTES_ADDR			= 0x07,
	MAX31342_REG_HOURS_ADDR				= 0x08,
	MAX31342_REG_DAY_ADDR				= 0x09,
	MAX31342_REG_DATE_ADDR				= 0x0A,
	MAX31342_REG_MONTH_ADDR				= 0x0B,
	MAX31342_REG_YEAR_ADDR				= 0x0C,
	MAX31342_REG_ALM1_SEC_ADDR			= 0x0D,
	MAX31342_REG_ALM1_MIN_ADDR			= 0x0E,
	MAX31342_REG_ALM1_HRS_ADDR			= 0x0F,
	MAX31342_REG_ALM1DAY_DATE_ADDR		= 0x10,
	MAX31342_REG_ALM1_MON_ADDR			= 0x11,
	MAX31342_REG_ALM1_YEAR_ADDR			= 0x12,
	MAX31342_REG_ALM2_MIN_ADDR			= 0x13,
	MAX31342_REG_ALM2_HRS_ADDR			= 0x14,
	MAX31342_REG_ALM2DAY_DATE_ADDR		= 0x15,
	MAX31342_REG_TIMER_COUNT_ADDR		= 0x16,
	MAX31342_REG_TIMER_INIT_ADDR		= 0x17,
	MAX31342_REG_CLOCK_SYNC_REG			= 0x58,
	MAX31342_REG_END,
 };

#endif /* MAX31342_REGS_H_ */