Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
max3133x_regs.hpp
00001 /******************************************************************************* 00002 * Copyright(C) Analog Devices Inc., All Rights Reserved. 00003 * 00004 * Permission is hereby granted, free of charge, to any person obtaining a 00005 * copy of this software and associated documentation files(the "Software"), 00006 * to deal in the Software without restriction, including without limitation 00007 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 00008 * and/or sell copies of the Software, and to permit persons to whom the 00009 * Software is furnished to do so, subject to the following conditions: 00010 * 00011 * The above copyright notice and this permission notice shall be included 00012 * in all copies or substantial portions of the Software. 00013 * 00014 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00015 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00016 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 00017 * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES 00018 * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 00019 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 00020 * OTHER DEALINGS IN THE SOFTWARE. 00021 * 00022 * Except as contained in this notice, the name of Analog Devices Inc. 00023 * shall not be used except as stated in the Analog Devices Inc. 00024 * Branding Policy. 00025 * 00026 * The mere transfer of this software does not imply any licenses 00027 * of trade secrets, proprietary technology, copyrights, patents, 00028 * trademarks, maskwork rights, or any other form of intellectual 00029 * property whatsoever. Analog Devices Inc.retains all ownership rights. 00030 ******************************************************************************* 00031 */ 00032 00033 #ifndef MAX3133X_REGS_HPP_ 00034 #define MAX3133X_REGS_HPP_ 00035 00036 #define REG_NOT_AVAILABLE 0xFF 00037 00038 /** 00039 * @brief STATUS Register 00040 */ 00041 typedef union { 00042 unsigned char raw; 00043 struct { 00044 unsigned char a1f : 1; 00045 unsigned char a2f : 1; 00046 unsigned char tif : 1; 00047 unsigned char dif : 1; 00048 unsigned char vbatlow : 1; 00049 unsigned char pfail : 1; 00050 unsigned char osf : 1; 00051 unsigned char psdect : 1; 00052 } bits; 00053 } max3133x_status_reg_t; 00054 00055 /** 00056 * @brief ENT_EN Register 00057 */ 00058 typedef union { 00059 unsigned char raw; 00060 struct { 00061 unsigned char a1ie : 1; 00062 unsigned char a2ie : 1; 00063 unsigned char tie : 1; 00064 unsigned char die : 1; 00065 unsigned char vbatlowie : 1; 00066 unsigned char pfaile : 1; 00067 unsigned char dosf : 1; 00068 unsigned char : 1; 00069 } bits; 00070 } max3133x_int_en_reg_t; 00071 00072 /** 00073 * @brief RTC_RESET Register 00074 */ 00075 typedef union { 00076 unsigned char raw; 00077 struct { 00078 unsigned char swrst : 1; 00079 unsigned char : 7; 00080 } bits; 00081 } max3133x_rtc_reset_reg_t; 00082 00083 /** 00084 * @brief RTC_CONFIG1 Register 00085 */ 00086 typedef union { 00087 unsigned char raw; 00088 struct { 00089 unsigned char en_osc : 1; 00090 unsigned char i2c_timeout : 1; 00091 unsigned char data_ret : 1; 00092 unsigned char dip : 1; 00093 unsigned char a1ac : 2; 00094 unsigned char : 2; 00095 } bits; 00096 } max3133x_rtc_config1_reg_t; 00097 00098 /** 00099 * @brief RTC_CONFIG2 Register 00100 */ 00101 typedef union { 00102 unsigned char raw; 00103 struct { 00104 unsigned char clko_hz : 2; 00105 unsigned char enclko : 1; 00106 unsigned char : 5; 00107 } bits; 00108 } max31331_rtc_config2_reg_t; 00109 00110 /** 00111 * @brief RTC_CONFIG2 Register 00112 */ 00113 typedef union { 00114 unsigned char raw; 00115 struct { 00116 unsigned char clko_hz : 2; 00117 unsigned char enclko : 1; 00118 unsigned char ddb : 1; 00119 unsigned char dse : 1; 00120 unsigned char : 2; 00121 unsigned char slst : 1; 00122 } bits; 00123 } max31334_rtc_config2_reg_t; 00124 00125 /** 00126 * @brief TIMESTAMP_CONFIG Register 00127 */ 00128 typedef union { 00129 unsigned char raw; 00130 struct { 00131 unsigned char tse : 1; 00132 unsigned char tsr : 1; 00133 unsigned char tsow : 1; 00134 unsigned char tsdin : 1; 00135 unsigned char tspwm : 1; 00136 unsigned char tsvlow : 1; 00137 unsigned char : 2; 00138 } bits; 00139 } max3133x_timestamp_config_reg_t; 00140 00141 /** 00142 * @brief TIMER_CONFIG Register 00143 */ 00144 typedef union { 00145 unsigned char raw; 00146 struct { 00147 unsigned char tfs : 2; 00148 unsigned char trpt : 1; 00149 unsigned char tpause : 1; 00150 unsigned char te : 1; 00151 unsigned char : 3; 00152 00153 } bits; 00154 } max3133x_timer_config_reg_t; 00155 00156 /** 00157 * @brief SLEEP_CONFIG Register 00158 */ 00159 typedef union { 00160 unsigned char raw; 00161 struct { 00162 unsigned char a1we : 1; 00163 unsigned char a2we : 1; 00164 unsigned char twe : 1; 00165 unsigned char dwe : 1; 00166 unsigned char wsto : 3; 00167 unsigned char slp : 1; 00168 } bits; 00169 } max31334_sleep_config_reg_t; 00170 00171 /** 00172 * @brief SECONDS_1_128 Register 00173 */ 00174 typedef union { 00175 unsigned char raw; 00176 struct { 00177 unsigned char _1_128s : 1; 00178 unsigned char _1_64s : 1; 00179 unsigned char _1_32s : 1; 00180 unsigned char _1_16s : 1; 00181 unsigned char _1_8s : 1; 00182 unsigned char _1_4s : 1; 00183 unsigned char _1_2s : 1; 00184 unsigned char : 1; 00185 } bits; 00186 } max3133x_seconds_1_128_reg_t; 00187 00188 /** 00189 * @brief SECONDS Register 00190 */ 00191 typedef union { 00192 unsigned char raw; 00193 struct { 00194 unsigned char seconds : 4; 00195 unsigned char sec_10 : 3; 00196 unsigned char : 1; 00197 } bits; 00198 struct { 00199 unsigned char value : 7; 00200 unsigned char : 1; 00201 } bcd; 00202 } max3133x_seconds_reg_t; 00203 00204 /** 00205 * @brief MINUTES Register 00206 */ 00207 typedef union { 00208 unsigned char raw; 00209 struct { 00210 unsigned char minutes : 4; 00211 unsigned char min_10 : 3; 00212 unsigned char : 1; 00213 } bits; 00214 struct { 00215 unsigned char value : 7; 00216 unsigned char : 1; 00217 } bcd; 00218 } max3133x_minutes_reg_t; 00219 00220 /** 00221 * @brief HOURS Register 00222 */ 00223 typedef union { 00224 unsigned char raw; 00225 struct { 00226 unsigned char hour : 4; 00227 unsigned char hr_10 : 1; 00228 unsigned char am_pm : 1; 00229 unsigned char f_24_12 : 1; 00230 unsigned char : 1; 00231 } bits_12hr; 00232 struct { 00233 unsigned char value : 5; 00234 unsigned char : 3; 00235 } bcd_12hr; 00236 struct { 00237 unsigned char hour : 4; 00238 unsigned char hr_10 : 2; 00239 unsigned char f_24_12 : 1; 00240 unsigned char : 1; 00241 } bits_24hr; 00242 struct { 00243 unsigned char value : 6; 00244 unsigned char : 2; 00245 } bcd_24hr; 00246 } max3133x_hours_reg_t; 00247 00248 /** 00249 * @brief DAY Register 00250 */ 00251 typedef union { 00252 unsigned char raw; 00253 struct { 00254 unsigned char day : 3; 00255 unsigned char : 5; 00256 } bits; 00257 struct { 00258 unsigned char value : 3; 00259 unsigned char : 5; 00260 } bcd; 00261 } max3133x_day_reg_t; 00262 00263 /** 00264 * @brief DATE Register 00265 */ 00266 typedef union { 00267 unsigned char raw; 00268 struct { 00269 unsigned char date : 4; 00270 unsigned char date_10 : 2; 00271 unsigned char : 2; 00272 } bits; 00273 struct { 00274 unsigned char value : 6; 00275 unsigned char : 2; 00276 } bcd; 00277 } max3133x_date_reg_t; 00278 00279 /** 00280 * @brief MONTH Register 00281 */ 00282 typedef union { 00283 unsigned char raw; 00284 struct { 00285 unsigned char month : 4; 00286 unsigned char month_10 : 1; 00287 unsigned char : 2; 00288 unsigned char century : 1; 00289 } bits; 00290 struct { 00291 unsigned char value : 5; 00292 unsigned char : 3; 00293 } bcd; 00294 } max3133x_month_reg_t; 00295 00296 /** 00297 * @brief YEAR Register 00298 */ 00299 typedef union { 00300 unsigned char raw; 00301 struct { 00302 unsigned char year : 4; 00303 unsigned char year_10 : 4; 00304 } bits; 00305 struct { 00306 unsigned char value : 8; 00307 } bcd; 00308 } max3133x_year_reg_t; 00309 00310 /** 00311 * @brief ALM_SEC Register 00312 */ 00313 typedef union { 00314 unsigned char raw; 00315 struct { 00316 unsigned char seconds : 4; 00317 unsigned char sec_10 : 3; 00318 unsigned char am1 : 1; 00319 } bits; 00320 struct { 00321 unsigned char value : 7; 00322 unsigned char : 1; 00323 } bcd; 00324 } max3133x_alm_sec_reg_t; 00325 00326 /** 00327 * @brief ALM_MIN Register 00328 */ 00329 typedef union { 00330 unsigned char raw; 00331 struct { 00332 unsigned char minutes : 4; 00333 unsigned char min_10 : 3; 00334 unsigned char am2 : 1; 00335 } bits; 00336 struct { 00337 unsigned char value : 7; 00338 unsigned char : 1; 00339 } bcd; 00340 } max3133x_alm_min_reg_t; 00341 00342 /** 00343 * @brief ALM_HRS Register 00344 */ 00345 typedef union { 00346 unsigned char raw; 00347 struct { 00348 unsigned char hour : 4; 00349 unsigned char hr_10 : 1; 00350 unsigned char am_pm : 1; 00351 unsigned char : 1; 00352 unsigned char am3 : 1; 00353 } bits_12hr; 00354 struct { 00355 unsigned char value : 5; 00356 unsigned char : 3; 00357 } bcd_12hr; 00358 struct { 00359 unsigned char hour : 4; 00360 unsigned char hr_10 : 2; 00361 unsigned char : 1; 00362 unsigned char am3 : 1; 00363 } bits_24hr; 00364 struct { 00365 unsigned char value : 6; 00366 unsigned char : 2; 00367 } bcd_24hr; 00368 } max3133x_alm_hrs_reg_t; 00369 00370 /** 00371 * @brief ALM_DAY_DATE Register 00372 */ 00373 typedef union { 00374 unsigned char raw; 00375 struct { 00376 unsigned char day_date : 4; 00377 unsigned char date_10 : 2; 00378 unsigned char dy_dt_match : 1; 00379 unsigned char am4 : 1; 00380 } bits; 00381 struct { 00382 unsigned char value : 3; 00383 unsigned char : 5; 00384 } bcd_day; 00385 struct { 00386 unsigned char value : 6; 00387 unsigned char : 2; 00388 } bcd_date; 00389 } max3133x_alm_day_date_reg_t; 00390 00391 /** 00392 * @brief ALM_MON Register 00393 */ 00394 typedef union { 00395 unsigned char raw; 00396 struct { 00397 unsigned char month : 4; 00398 unsigned char month_10 : 1; 00399 unsigned char : 1; 00400 unsigned char am6 : 1; 00401 unsigned char am5 : 1; 00402 } bits; 00403 struct { 00404 unsigned char value : 5; 00405 unsigned char : 3; 00406 } bcd; 00407 } max3133x_alm_mon_reg_t; 00408 00409 /** 00410 * @brief ALM_YEAR Register 00411 */ 00412 typedef union { 00413 unsigned char raw; 00414 struct { 00415 unsigned char year : 4; 00416 unsigned char year_10 : 4; 00417 } bits; 00418 struct { 00419 unsigned char value : 8; 00420 } bcd; 00421 } max3133x_alm_year_reg_t; 00422 00423 /** 00424 * @brief PWR_MGMT Register 00425 */ 00426 typedef union { 00427 unsigned char raw; 00428 struct { 00429 unsigned char manual_sel : 1; 00430 unsigned char vback_sel : 1; 00431 unsigned char : 1; 00432 unsigned char en_vbat_detect : 1; 00433 unsigned char : 4; 00434 } bits; 00435 } max3133x_pwr_mgmt_reg_t; 00436 00437 /** 00438 * @brief TRICKLE_REG Register 00439 */ 00440 typedef union { 00441 unsigned char raw; 00442 struct { 00443 unsigned char en_trickle : 1; 00444 unsigned char trickle : 3; 00445 unsigned char : 4; 00446 } bits; 00447 } max3133x_trickle_reg_reg_t; 00448 00449 /** 00450 * @brief OFFSET_HIGH Register 00451 */ 00452 typedef union { 00453 unsigned char raw; 00454 struct { 00455 unsigned char compword; 00456 } bits; 00457 } max3133x_offset_high_reg_t; 00458 00459 /** 00460 * @brief OFFSET_LOW Register 00461 */ 00462 typedef union { 00463 unsigned char raw; 00464 struct { 00465 unsigned char compword; 00466 } bits; 00467 } max3133x_offset_low_reg_t; 00468 00469 /** 00470 * @brief TS_SEC_1_128 Register 00471 */ 00472 typedef union { 00473 unsigned char raw; 00474 struct { 00475 unsigned char _1_128s : 1; 00476 unsigned char _1_64s : 1; 00477 unsigned char _1_32s : 1; 00478 unsigned char _1_16s : 1; 00479 unsigned char _1_8s : 1; 00480 unsigned char _1_4s : 1; 00481 unsigned char _1_2s : 1; 00482 unsigned char : 1; 00483 } bits; 00484 } max3133x_ts_sec_1_128_reg_t; 00485 00486 /** 00487 * @brief TS_SEC Register 00488 */ 00489 typedef union { 00490 unsigned char raw; 00491 struct { 00492 unsigned char sec : 4; 00493 unsigned char sec_10 : 3; 00494 unsigned char : 1; 00495 } bits; 00496 struct { 00497 unsigned char value : 7; 00498 unsigned char : 1; 00499 } bcd; 00500 } max3133x_ts_sec_reg_t; 00501 00502 /** 00503 * @brief TS_MIN Register 00504 */ 00505 typedef union { 00506 unsigned char raw; 00507 struct { 00508 unsigned char min : 4; 00509 unsigned char min_10 : 3; 00510 unsigned char : 1; 00511 } bits; 00512 struct { 00513 unsigned char value : 7; 00514 unsigned char : 1; 00515 } bcd; 00516 } max3133x_ts_min_reg_t; 00517 00518 /** 00519 * @brief TS_HOUR Register 00520 */ 00521 typedef union { 00522 unsigned char raw; 00523 struct { 00524 unsigned char hour : 4; 00525 unsigned char hr_10 : 1; 00526 unsigned char am_pm : 1; 00527 unsigned char f_24_12 : 1; 00528 unsigned char : 1; 00529 } bits_12hr; 00530 struct { 00531 unsigned char value : 5; 00532 unsigned char : 3; 00533 } bcd_12hr; 00534 struct { 00535 unsigned char hour : 4; 00536 unsigned char hr_10 : 2; 00537 unsigned char f_24_12 : 1; 00538 unsigned char : 1; 00539 } bits_24hr; 00540 struct { 00541 unsigned char value : 6; 00542 unsigned char : 2; 00543 } bcd_24hr; 00544 } max3133x_ts_hour_reg_t; 00545 00546 /** 00547 * @brief TS_DATE Register 00548 */ 00549 typedef union { 00550 unsigned char raw; 00551 struct { 00552 unsigned char date : 4; 00553 unsigned char date_10 : 2; 00554 unsigned char : 2; 00555 } bits; 00556 struct { 00557 unsigned char value : 6; 00558 unsigned char : 2; 00559 } bcd; 00560 } max3133x_ts_date_reg_t; 00561 00562 /** 00563 * @brief TS_MONTH Register 00564 */ 00565 typedef union { 00566 unsigned char raw; 00567 struct { 00568 unsigned char month : 4; 00569 unsigned char month_10 : 1; 00570 unsigned char : 2; 00571 unsigned char century : 1; 00572 } bits; 00573 struct { 00574 unsigned char value : 5; 00575 unsigned char : 3; 00576 } bcd; 00577 } max3133x_ts_month_reg_t; 00578 00579 /** 00580 * @brief TS_YEAR Register 00581 */ 00582 typedef union { 00583 unsigned char raw; 00584 struct { 00585 unsigned char year : 4; 00586 unsigned char year_10 : 4; 00587 } bits; 00588 struct { 00589 unsigned char value : 8; 00590 } bcd; 00591 } max3133x_ts_year_reg_t; 00592 00593 /** 00594 * @brief TS_FLAGS Register 00595 */ 00596 typedef union { 00597 unsigned char raw; 00598 struct { 00599 unsigned char dinf : 1; 00600 unsigned char vccf : 1; 00601 unsigned char vbatf : 1; 00602 unsigned char vlowf : 1; 00603 unsigned char : 4; 00604 } bits; 00605 } max3133x_ts_flags_reg_t; 00606 00607 typedef struct { 00608 max3133x_seconds_1_128_reg_t seconds_1_128_reg; 00609 max3133x_seconds_reg_t seconds_reg; 00610 max3133x_minutes_reg_t minutes_reg; 00611 max3133x_hours_reg_t hours_reg; 00612 max3133x_day_reg_t day_reg; 00613 max3133x_date_reg_t date_reg; 00614 max3133x_month_reg_t month_reg; 00615 max3133x_year_reg_t year_reg; 00616 } max3133x_rtc_time_regs_t; 00617 00618 typedef struct { 00619 max3133x_alm_sec_reg_t sec; 00620 max3133x_alm_min_reg_t min; 00621 max3133x_alm_hrs_reg_t hrs; 00622 max3133x_alm_day_date_reg_t day_date; 00623 max3133x_alm_mon_reg_t mon; 00624 max3133x_alm_year_reg_t year; 00625 }max3133x_alarm_regs_t; 00626 00627 typedef struct { 00628 max3133x_ts_sec_1_128_reg_t ts_sec_1_128_reg; 00629 max3133x_ts_sec_reg_t ts_sec_reg; 00630 max3133x_ts_min_reg_t ts_min_reg; 00631 max3133x_ts_hour_reg_t ts_hour_reg; 00632 max3133x_ts_date_reg_t ts_date_reg; 00633 max3133x_ts_month_reg_t ts_month_reg; 00634 max3133x_ts_year_reg_t ts_year_reg; 00635 max3133x_ts_flags_reg_t ts_flags_reg; 00636 }max3133x_ts_regs_t; 00637 00638 enum max31331_register_address { 00639 /*RTC REG*/ 00640 MAX31331_STATUS = 0x00, 00641 MAX31331_INT_EN = 0x01, 00642 MAX31331_RTC_RESET = 0x02, 00643 MAX31331_RTC_CONFIG1 = 0x03, 00644 MAX31331_RTC_CONFIG2 = 0x04, 00645 MAX31331_TIMESTAMP_CONFIG = 0x05, 00646 MAX31331_TIMER_CONFIG = 0x06, 00647 MAX31331_SECONDS_1_128 = 0x07, 00648 MAX31331_SECONDS = 0x08, 00649 MAX31331_MINUTES = 0x09, 00650 MAX31331_HOURS = 0x0A, 00651 MAX31331_DAY = 0x0B, 00652 MAX31331_DATE = 0x0C, 00653 MAX31331_MONTH = 0x0D, 00654 MAX31331_YEAR = 0x0E, 00655 MAX31331_ALM1_SEC = 0x0F, 00656 MAX31331_ALM1_MIN = 0x10, 00657 MAX31331_ALM1_HRS = 0x11, 00658 MAX31331_ALM1_DAY_DATE = 0x12, 00659 MAX31331_ALM1_MON = 0x13, 00660 MAX31331_ALM1_YEAR = 0x14, 00661 MAX31331_ALM2_MIN = 0x15, 00662 MAX31331_ALM2_HRS = 0x16, 00663 MAX31331_ALM2_DAY_DATE = 0x17, 00664 MAX31331_TIMER_COUNT = 0x18, 00665 MAX31331_TIMER_INIT = 0x19, 00666 MAX31331_PWR_MGMT = 0x1A, 00667 MAX31331_TRICKLE_REG = 0x1B, 00668 MAX31331_OFFSET_HIGH = 0x1D, 00669 MAX31331_OFFSET_LOW = 0x1E, 00670 /*TS_RAM_REG*/ 00671 MAX31331_TS0_SEC_1_128 = 0x20, 00672 MAX31331_TS0_SEC = 0x21, 00673 MAX31331_TS0_MIN = 0x22, 00674 MAX31331_TS0_HOUR = 0x23, 00675 MAX31331_TS0_DATE = 0x24, 00676 MAX31331_TS0_MONTH = 0x25, 00677 MAX31331_TS0_YEAR = 0x26, 00678 MAX31331_TS0_FLAGS = 0x27, 00679 MAX31331_TS1_SEC_1_128 = 0x28, 00680 MAX31331_TS1_SEC = 0x29, 00681 MAX31331_TS1_MIN = 0x2A, 00682 MAX31331_TS1_HOUR = 0x2B, 00683 MAX31331_TS1_DATE = 0x2C, 00684 MAX31331_TS1_MONTH = 0x2D, 00685 MAX31331_TS1_YEAR = 0x2E, 00686 MAX31331_TS1_FLAGS = 0x2F, 00687 MAX31331_TS2_SEC_1_128 = 0x30, 00688 MAX31331_TS2_SEC = 0x31, 00689 MAX31331_TS2_MIN = 0x32, 00690 MAX31331_TS2_HOUR = 0x33, 00691 MAX31331_TS2_DATE = 0x34, 00692 MAX31331_TS2_MONTH = 0x35, 00693 MAX31331_TS2_YEAR = 0x36, 00694 MAX31331_TS2_FLAGS = 0x37, 00695 MAX31331_TS3_SEC_1_128 = 0x38, 00696 MAX31331_TS3_SEC = 0x39, 00697 MAX31331_TS3_MIN = 0x3A, 00698 MAX31331_TS3_HOUR = 0x3B, 00699 MAX31331_TS3_DATE = 0x3C, 00700 MAX31331_TS3_MONTH = 0x3D, 00701 MAX31331_TS3_YEAR = 0x3E, 00702 MAX31331_TS3_FLAGS = 0x3F, 00703 MAX31331_END, 00704 }; 00705 00706 enum max31334_register_address { 00707 /*RTC REG*/ 00708 MAX31334_STATUS = 0x00, 00709 MAX31334_INT_EN = 0x01, 00710 MAX31334_RTC_RESET = 0x02, 00711 MAX31334_RTC_CONFIG1 = 0x03, 00712 MAX31334_RTC_CONFIG2 = 0x04, 00713 MAX31334_TIMESTAMP_CONFIG = 0x05, 00714 MAX31334_TIMER_CONFIG = 0x06, 00715 MAX31334_SLEEP_CONFIG = 0x07, 00716 MAX31334_SECONDS_1_128 = 0x08, 00717 MAX31334_SECONDS = 0x09, 00718 MAX31334_MINUTES = 0x0A, 00719 MAX31334_HOURS = 0x0B, 00720 MAX31334_DAY = 0x0C, 00721 MAX31334_DATE = 0x0D, 00722 MAX31334_MONTH = 0x0E, 00723 MAX31334_YEAR = 0x0F, 00724 MAX31334_ALM1_SEC = 0x10, 00725 MAX31334_ALM1_MIN = 0x11, 00726 MAX31334_ALM1_HRS = 0x12, 00727 MAX31334_ALM1_DAY_DATE = 0x13, 00728 MAX31334_ALM1_MON = 0x14, 00729 MAX31334_ALM1_YEAR = 0x15, 00730 MAX31334_ALM2_MIN = 0x16, 00731 MAX31334_ALM2_HRS = 0x17, 00732 MAX31334_ALM2_DAY_DATE = 0x18, 00733 MAX31334_TIMER_COUNT2 = 0x19, 00734 MAX31334_TIMER_COUNT1 = 0x1A, 00735 MAX31334_TIMER_INIT2 = 0x1B, 00736 MAX31334_TIMER_INIT1 = 0x1C, 00737 MAX31334_PWR_MGMT = 0x1D, 00738 MAX31334_TRICKLE_REG = 0x1E, 00739 MAX31334_OFFSET_HIGH = 0x20, 00740 MAX31334_OFFSET_LOW = 0x21, 00741 /*TS_RAM_REG*/ 00742 MAX31334_TS0_SEC_1_128 = 0x30, 00743 MAX31334_TS0_SEC = 0x31, 00744 MAX31334_TS0_MIN = 0x32, 00745 MAX31334_TS0_HOUR = 0x33, 00746 MAX31334_TS0_DATE = 0x34, 00747 MAX31334_TS0_MONTH = 0x35, 00748 MAX31334_TS0_YEAR = 0x36, 00749 MAX31334_TS0_FLAGS = 0x37, 00750 MAX31334_TS1_SEC_1_128 = 0x38, 00751 MAX31334_TS1_SEC = 0x39, 00752 MAX31334_TS1_MIN = 0x3A, 00753 MAX31334_TS1_HOUR = 0x3B, 00754 MAX31334_TS1_DATE = 0x3C, 00755 MAX31334_TS1_MONTH = 0x3D, 00756 MAX31334_TS1_YEAR = 0x3E, 00757 MAX31334_TS1_FLAGS = 0x3F, 00758 MAX31334_TS2_SEC_1_128 = 0x40, 00759 MAX31334_TS2_SEC = 0x41, 00760 MAX31334_TS2_MIN = 0x42, 00761 MAX31334_TS2_HOUR = 0x43, 00762 MAX31334_TS2_DATE = 0x44, 00763 MAX31334_TS2_MONTH = 0x45, 00764 MAX31334_TS2_YEAR = 0x46, 00765 MAX31334_TS2_FLAGS = 0x47, 00766 MAX31334_TS3_SEC_1_128 = 0x48, 00767 MAX31334_TS3_SEC = 0x49, 00768 MAX31334_TS3_MIN = 0x4A, 00769 MAX31334_TS3_HOUR = 0x4B, 00770 MAX31334_TS3_DATE = 0x4C, 00771 MAX31334_TS3_MONTH = 0x4D, 00772 MAX31334_TS3_YEAR = 0x4E, 00773 MAX31334_TS3_FLAGS = 0x4F, 00774 MAX31334_END, 00775 }; 00776 00777 #endif /* MAX3133X_REGS_HPP_ */
Generated on Tue Aug 2 2022 15:21:12 by
