
CALI_CTRL_REG Часы реального времени RTC: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 WAKEUP_DCXO_EN Bit 31R/W 0x0 Wake up DCXO circuit enable. Unused Bits 30 : 17WAKEUP_READY_SLEEP_MODE Bit 16R/W 0x0 Calibration wake up ready sleep mode, it must be set before the TIMER_FOR_READY_SLEEP Bits 15 : 12R/W 0x0 Total timer for ready sleep WAKEUP_CNT_FOR_READY_SLEEP Bits 11 : 8R/W 0x0 Wake up counter for ready sleep WAKEUP_CNT_FOR_SLEEP Bits 7 : 4R/W 0x4 Wake up counter for sleep WAIT_DCXO_SEL Bits 3 : 0R/W 0x3 Select for DCXO active after DCXO enable Команда U-Boot для чтения регистра md 7000164 1Bit fields structure
typedef union cali_ctrl_reg
{
struct
{
unsigned wait_dcxo_sel : 4;
unsigned wakeup_cnt_for_sleep : 4;
unsigned wakeup_cnt_for_ready_sleep : 4;
unsigned timer_for_ready_sleep : 4;
unsigned wakeup_ready_sleep_mode : 1;
unsigned unused0 : 14;
unsigned wakeup_dcxo_en : 1;
} b;
unsigned long w;
} CALI_CTRL_REG
|
![]() |