DCXO_CTRL_REG Часы реального времени RTC: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 DCXO_FANOUT_ENB Bit 31R/W 0x0 0: enable DCXO wake up function Unused Bits 30 : 28DCXO_ICTRL Bits 27 : 24R/W 0x8 DCXO current control value Unused Bit 23DCXO_TRIM Bits 22 : 16R/W 0x3F DCXO cap array value Unused Bits 15 : 13DCXO_BG Bits 12 : 8R/W 0x10 DCXO bandgap output voltage DCXO_LDO_INRUSHB Bit 7R/W 0x1 DCXO LDO driving capacity signal, active high XTAL_MODE Bit 6R/W 0x1 Xtal mode enable signal, active high DCXO_RFCLK_ENHANCE Bits 5 : 4R/W 0x3 DCXO rfclk enhance Unused Bits 3 : 2DCXO_EN Bit 1R/W 0x1 DCXO enable CLK16M_RC_EN Bit 0R/W 0x1 1: Enable Команда U-Boot для чтения регистра md 7000160 1Bit fields structuretypedef union dcxo_ctrl_reg { struct { unsigned clk16m_rc_en : 1; unsigned dcxo_en : 1; unsigned unused0 : 2; unsigned dcxo_rfclk_enhance : 2; unsigned xtal_mode : 1; unsigned dcxo_ldo_inrushb : 1; unsigned dcxo_bg : 5; unsigned unused1 : 3; unsigned dcxo_trim : 7; unsigned unused2 : 1; unsigned dcxo_ictrl : 4; unsigned unused3 : 3; unsigned dcxo_fanout_enb : 1; } b; unsigned long w; } DCXO_CTRL_REG |