|
|
using | pf1550::reg::DeviceIdLow = detail::Field< uint8_t, 0U, 3U > |
| | DEVICE_ID[2:0] = 100.
|
| |
|
using | pf1550::reg::DeviceIdFamily = detail::Field< uint8_t, 3U, 5U > |
| | DEVICE_ID[7:3] = 01111.
|
| |
|
using | pf1550::reg::CoinVcoin = detail::Field< uint8_t, 0U, 4U > |
| | COINCELL_CONTROL.VCOIN.
|
| |
|
using | pf1550::reg::BuckIlim = detail::Field< uint8_t, 0U, 2U > |
| | SWx_CTRL1.ILIM.
|
| |
|
using | pf1550::reg::BuckVolt6 = detail::Field< uint8_t, 0U, 6U > |
| | SW1/SW2 voltage code.
|
| |
|
using | pf1550::reg::BuckVolt4 = detail::Field< uint8_t, 0U, 4U > |
| | SW3 voltage code.
|
| |
|
using | pf1550::reg::Ldo5Volt = detail::Field< uint8_t, 0U, 5U > |
| | LDO1/LDO3 voltage code.
|
| |
|
using | pf1550::reg::Ldo4Volt = detail::Field< uint8_t, 0U, 4U > |
| | LDO2 voltage code.
|
| |
|
using | pf1550::reg::StandbyDly = detail::Field< uint8_t, 0U, 2U > |
| | PWRCTRL0.STANDBYDLY.
|
| |
|
using | pf1550::reg::PorDly = detail::Field< uint8_t, 3U, 3U > |
| | PWRCTRL0.POR_DLY (OTP loaded).
|
| |
|
using | pf1550::reg::TgReset = detail::Field< uint8_t, 6U, 2U > |
| | PWRCTRL0.TGRESET.
|
| |
|
using | pf1550::reg::PwronDbnc = detail::Field< uint8_t, 0U, 2U > |
| | PWRCTRL1.PWRONDBNC.
|
| |
|
using | pf1550::reg::OnkeyDbnc = detail::Field< uint8_t, 2U, 2U > |
| | PWRCTRL1.ONKEYDBNC.
|
| |
|
using | pf1550::reg::Uvdet = detail::Field< uint8_t, 0U, 2U > |
| | PWRCTRL2.UVDET.
|
| |
|
using | pf1550::reg::LowSysWarn = detail::Field< uint8_t, 2U, 2U > |
| | PWRCTRL2.LOW_SYS_WARN.
|
| |
|
using | pf1550::reg::PwrdnSeq = detail::Field< uint8_t, 0U, 3U > |
| | xxx_PWRDN_SEQ[2:0].
|
| |
|
using | pf1550::reg::StateInfo = detail::Field< uint8_t, 0U, 6U > |
| | STATE_INFO.STATE.
|
| |
|
using | pf1550::reg::I2cSlaveAddr = detail::Field< uint8_t, 0U, 3U > |
| | I2C_ADDR.I2C_SLAVE_ADDR[2:0].
|
| |
|
using | pf1550::reg::ChgOperMode = detail::Field< uint8_t, 0U, 2U > |
| | CHG_OPER.CHG_OPER.
|
| |
|
using | pf1550::reg::Fchgtime = detail::Field< uint8_t, 0U, 3U > |
| | CHG_TMR.FCHGTIME.
|
| |
|
using | pf1550::reg::Eoctime = detail::Field< uint8_t, 3U, 3U > |
| | CHG_TMR.EOCTIME.
|
| |
|
using | pf1550::reg::ChgRestart = detail::Field< uint8_t, 0U, 2U > |
| | CHG_EOC_CNFG.CHG_RESTART.
|
| |
|
using | pf1550::reg::Ieoc = detail::Field< uint8_t, 4U, 3U > |
| | CHG_EOC_CNFG.IEOC.
|
| |
|
using | pf1550::reg::ChgCc = detail::Field< uint8_t, 0U, 5U > |
| | CHG_CURR_CNFG.CHG_CC.
|
| |
|
using | pf1550::reg::PrechgLbThrs = detail::Field< uint8_t, 5U, 2U > |
| | CHG_CURR_CNFG.PRECHGLB_THRS.
|
| |
|
using | pf1550::reg::Chgcv = detail::Field< uint8_t, 0U, 6U > |
| | BATT_REG.CHGCV.
|
| |
|
using | pf1550::reg::VsysMin = detail::Field< uint8_t, 6U, 2U > |
| | BATT_REG.VSYSMIN.
|
| |
|
using | pf1550::reg::Wdtclr = detail::Field< uint8_t, 0U, 2U > |
| | BATFET_CNFG.WDTCLR.
|
| |
|
using | pf1550::reg::BatfetOc = detail::Field< uint8_t, 4U, 2U > |
| | BATFET_CNFG.BATFET_OC.
|
| |
|
using | pf1550::reg::ThmCnfg = detail::Field< uint8_t, 0U, 2U > |
| | THM_REG_CNFG.THM_CNFG.
|
| |
|
using | pf1550::reg::Regtemp = detail::Field< uint8_t, 2U, 2U > |
| | THM_REG_CNFG.REGTEMP.
|
| |
|
using | pf1550::reg::VbusLinIlim = detail::Field< uint8_t, 3U, 5U > |
| | VBUS_INLIM_CNFG.VBUS_LIN_ILIM.
|
| |
|
using | pf1550::reg::VbusDpmReg = detail::Field< uint8_t, 0U, 3U > |
| | VBUS_LIN_DPM.VBUS_DPM_REG.
|
| |
|
using | pf1550::reg::VbusOvTdb = detail::Field< uint8_t, 0U, 2U > |
| | DBNC_DELAY_TIME.VBUS_OV_TDB.
|
| |
|
using | pf1550::reg::SysWkupDly = detail::Field< uint8_t, 4U, 2U > |
| | DBNC_DELAY_TIME.SYS_WKUP_DLY.
|
| |
|
using | pf1550::reg::CvAdj = detail::Field< uint8_t, 2U, 2U > |
| | THM_ADJ_SETTING.CV_ADJ.
|
| |
|
using | pf1550::reg::CcAdj = detail::Field< uint8_t, 4U, 2U > |
| | THM_ADJ_SETTING.CC_ADJ.
|
| |
|
using | pf1550::reg::Vbus2SysTdb = detail::Field< uint8_t, 0U, 2U > |
| | VBUS2SYS_CNFG.VBUS2SYS_TDB.
|
| |
|
using | pf1550::reg::LedPwmDuty = detail::Field< uint8_t, 0U, 6U > |
| | LED_PWM.LED_PWM.
|
| |
|
using | pf1550::reg::LedFreq = detail::Field< uint8_t, 0U, 2U > |
| | LED_CNFG.LED_FREQ.
|
| |
| using | pf1550::reg::LedCurrent = detail::Field< uint8_t, 2U, 2U > |
| |
|
using | pf1550::reg::ChgSnsState = detail::Field< uint8_t, 0U, 4U > |
| | CHG_SNS.CHG_SNS.
|
| |
|
using | pf1550::reg::BattSnsState = detail::Field< uint8_t, 0U, 3U > |
| | BATT_SNS.BATT_SNS.
|
| |
|
constexpr uint8_t | pf1550::reg::kCoinChen = 1U << 4 |
| | COINCELL_CONTROL.COINCHEN.
|
| |
|
constexpr uint8_t | pf1550::reg::kCtrlEn = 1U << 0 |
| | xxx_CTRL.EN (run).
|
| |
|
constexpr uint8_t | pf1550::reg::kCtrlStbyEn = 1U << 1 |
| | xxx_CTRL.STBY_EN.
|
| |
|
constexpr uint8_t | pf1550::reg::kCtrlOmode = 1U << 2 |
| | xxx_CTRL.OMODE (enabled in SLEEP).
|
| |
|
constexpr uint8_t | pf1550::reg::kCtrlLpwr = 1U << 3 |
| | xxx_CTRL.LPWR.
|
| |
|
constexpr uint8_t | pf1550::reg::kBuckDvsSpeed = 1U << 4 |
| | SWx_CTRL.DVSSPEED (0: 2 us, 1: 4 us).
|
| |
|
constexpr uint8_t | pf1550::reg::kBuckFpwmInDvs = 1U << 5 |
| | SWx_CTRL.FPWM_IN_DVS.
|
| |
|
constexpr uint8_t | pf1550::reg::kBuckFpwm = 1U << 6 |
| | SWx_CTRL.FPWM.
|
| |
|
constexpr uint8_t | pf1550::reg::kBuckRdisEnb = 1U << 7 |
| | SWx_CTRL.RDIS_ENB (1: no discharge resistor).
|
| |
|
constexpr uint8_t | pf1550::reg::kLdoLsEn = 1U << 4 |
| | LDOx_CTRL.LS_EN (load switch, one way).
|
| |
|
constexpr uint8_t | pf1550::reg::kVsnvsLibgdis = 1U << 5 |
| | VSNVS_CTRL.LIBGDIS.
|
| |
|
constexpr uint8_t | pf1550::reg::kStandbyInv = 1U << 2 |
| | PWRCTRL0.STANDBYINV.
|
| |
|
constexpr uint8_t | pf1550::reg::kPwronRstEn = 1U << 4 |
| | PWRCTRL1.PWRONRSTEN.
|
| |
|
constexpr uint8_t | pf1550::reg::kRestartEn = 1U << 5 |
| | PWRCTRL1.RESTARTEN.
|
| |
|
constexpr uint8_t | pf1550::reg::kRegScpEn = 1U << 6 |
| | PWRCTRL1.REGSCPEN.
|
| |
|
constexpr uint8_t | pf1550::reg::kOnkeyRstEn = 1U << 7 |
| | PWRCTRL1.ONKEY_RST_EN.
|
| |
|
constexpr uint8_t | pf1550::reg::kGotoShip = 1U << 0 |
| | PWRCTRL3.GOTO_SHIP.
|
| |
|
constexpr uint8_t | pf1550::reg::kGotoCoreOff = 1U << 1 |
| | PWRCTRL3.GOTO_CORE_OFF.
|
| |
|
constexpr uint8_t | pf1550::reg::kChgOperWdten = 1U << 3 |
| | CHG_OPER.WDTEN.
|
| |
|
constexpr uint8_t | pf1550::reg::kChgOperDisbatfet = 1U << 4 |
| | CHG_OPER.DISBATFET.
|
| |
|
constexpr uint8_t | pf1550::reg::kTprechg = 1U << 7 |
| | CHG_TMR.TPRECHG (0: 30 min, 1: 45 min).
|
| |
|
constexpr uint8_t | pf1550::reg::kBovrcDisbatfet = 1U << 3 |
| | BATFET_CNFG.BOVRC_DISBATFET.
|
| |
|
constexpr uint8_t | pf1550::reg::kWdTime = 1U << 6 |
| | BATFET_CNFG.WD_TIME.
|
| |
|
constexpr uint8_t | pf1550::reg::kBovrcNovbus = 1U << 7 |
| | BATFET_CNFG.BOVRC_NOVBUS.
|
| |
|
constexpr uint8_t | pf1550::reg::kThmCold = 1U << 4 |
| | THM_REG_CNFG.THM_COLD (1: -10 C).
|
| |
|
constexpr uint8_t | pf1550::reg::kThmHot = 1U << 5 |
| | THM_REG_CNFG.THM_HOT (1: 55 C).
|
| |
|
constexpr uint8_t | pf1550::reg::kTempFbEn = 1U << 7 |
| | THM_REG_CNFG.TEMP_FB_EN.
|
| |
|
constexpr uint8_t | pf1550::reg::kVinDpmStop = 1U << 5 |
| | VBUS_LIN_DPM.VIN_DPM_STOP (1: 250 mV).
|
| |
|
constexpr uint8_t | pf1550::reg::kActDisPhy = 1U << 0 |
| | USB_PHY_LDO_CNFG.ACTDISPHY.
|
| |
|
constexpr uint8_t | pf1550::reg::kUsbPhy49 = 1U << 1 |
| | USB_PHY_LDO_CNFG.USBPHY (1: 4.9 V).
|
| |
|
constexpr uint8_t | pf1550::reg::kUsbPhyLdo = 1U << 2 |
| | USB_PHY_LDO_CNFG.USBPHYLDO.
|
| |
|
constexpr uint8_t | pf1550::reg::kChgIntGen = 1U << 0 |
| | CHG_INT_CNFG.CHG_INT_GEN.
|
| |
|
constexpr uint8_t | pf1550::reg::kEocInt = 1U << 1 |
| | CHG_INT_CNFG.EOC_INT.
|
| |
|
constexpr uint8_t | pf1550::reg::kThmWarm = 1U << 0 |
| | THM_ADJ_SETTING.THM_WARM (1: 50 C).
|
| |
|
constexpr uint8_t | pf1550::reg::kThmCool = 1U << 1 |
| | THM_ADJ_SETTING.THM_COOL (1: 10 C).
|
| |
|
constexpr uint8_t | pf1550::reg::kVbus2SysThrsh = 1U << 2 |
| | VBUS2SYS_CNFG.VBUS2SYS_THRSH (1: 175 mV).
|
| |
|
constexpr uint8_t | pf1550::reg::kLedRamp = 1U << 6 |
| | LED_PWM.LED_RAMP.
|
| |
|
constexpr uint8_t | pf1550::reg::kLedEn = 1U << 7 |
| | LED_PWM.LED_EN.
|
| |
|
constexpr uint8_t | pf1550::reg::kOvfltBfetEn = 1U << 0 |
| | FAULT_BATFET_CNFG: BATFET stays closed on OV.
|
| |
|
constexpr uint8_t | pf1550::reg::kWdfltBfetEn = 1U << 1 |
| | ... on watchdog fault.
|
| |
|
constexpr uint8_t | pf1550::reg::kThmsusBfetEn = 1U << 2 |
| | ... on thermistor fault.
|
| |
|
constexpr uint8_t | pf1550::reg::kTshdnBfetEn = 1U << 3 |
| | ... on thermal shutdown.
|
| |
|
constexpr uint8_t | pf1550::reg::kTmrfltBfetEn = 1U << 4 |
| | ... on timer fault.
|
| |
|
constexpr uint8_t | pf1550::reg::kLedCurrent6mA = 1U << 2 |
| | LED_CNFG.LED_CURRENT = 01 (6 mA), the only non-reserved code (Table 172), in place.
|
| |
|
constexpr uint8_t | pf1550::reg::kLedCfg = 1U << 4 |
| | LED_CNFG.LED_CFG.
|
| |
|
constexpr uint8_t | pf1550::reg::kLedOvrd = 1U << 5 |
| | LED_CNFG.LEDOVRD.
|
| |
|
constexpr uint8_t | pf1550::reg::kChgSnsWdt = 1U << 5 |
| | CHG_SNS.WDT_SNS.
|
| |
|
constexpr uint8_t | pf1550::reg::kChgSnsThm = 1U << 6 |
| | CHG_SNS.THM_SNS.
|
| |
|
constexpr uint8_t | pf1550::reg::kChgSnsTreg = 1U << 7 |
| | CHG_SNS.TREG_SNS.
|
| |
|
constexpr uint8_t | pf1550::reg::kBattSnsOc = 1U << 5 |
| | BATT_SNS.BATTOC_SNS.
|
| |
|
constexpr uint8_t | pf1550::reg::kVbusUvlo = 1U << 2 |
| | VBUS_SNS.VBUS_UVLO_SNS.
|
| |
|
constexpr uint8_t | pf1550::reg::kVbusIn2Sys = 1U << 3 |
| | VBUS_SNS.VBUS_IN2SYS_SNS.
|
| |
|
constexpr uint8_t | pf1550::reg::kVbusOvlo = 1U << 4 |
| | VBUS_SNS.VBUS_OVLO_SNS.
|
| |
|
constexpr uint8_t | pf1550::reg::kVbusValid = 1U << 5 |
| | VBUS_SNS.VBUS_VALID.
|
| |
|
constexpr uint8_t | pf1550::reg::kVbusDpm = 1U << 7 |
| | VBUS_SNS.VBUS_DPM_SNS.
|
| |
|
|
constexpr uint8_t | pf1550::reg::kDeviceId = 0x00 |
| | DEVICE_ID (R): 0x7C.
|
| |
|
constexpr uint8_t | pf1550::reg::kOtpFlavor = 0x01 |
| | OTP_FLAVOR (R): the start-up option.
|
| |
|
constexpr uint8_t | pf1550::reg::kSiliconRev = 0x02 |
| | SILICON_REV (R).
|
| |
| constexpr uint8_t | pf1550::reg::kIntCategory |
| | INT_CATEGORY (R): which group has a pending event.
|
| |
|
constexpr uint8_t | pf1550::reg::kSwIntStat0 = 0x08 |
| | SW_INT_STAT0: SWx low-side current limit.
|
| |
|
constexpr uint8_t | pf1550::reg::kSwIntMask0 = 0x09 |
| | SW_INT_MASK0.
|
| |
|
constexpr uint8_t | pf1550::reg::kSwIntSense0 = 0x0A |
| | SW_INT_SENSE0.
|
| |
|
constexpr uint8_t | pf1550::reg::kSwIntStat1 = 0x0B |
| | SW_INT_STAT1: SWx high-side current limit.
|
| |
|
constexpr uint8_t | pf1550::reg::kSwIntMask1 = 0x0C |
| | SW_INT_MASK1.
|
| |
|
constexpr uint8_t | pf1550::reg::kSwIntSense1 = 0x0D |
| | SW_INT_SENSE1.
|
| |
|
constexpr uint8_t | pf1550::reg::kSwIntStat2 = 0x0E |
| | SW_INT_STAT2: SW1 and SW2 DVS done.
|
| |
|
constexpr uint8_t | pf1550::reg::kSwIntMask2 = 0x0F |
| | SW_INT_MASK2.
|
| |
|
constexpr uint8_t | pf1550::reg::kSwIntSense2 = 0x10 |
| | SW_INT_SENSE2.
|
| |
|
constexpr uint8_t | pf1550::reg::kLdoIntStat0 = 0x18 |
| | LDO_INT_STAT0: LDOx current-limit faults.
|
| |
|
constexpr uint8_t | pf1550::reg::kLdoIntMask0 = 0x19 |
| | LDO_INT_MASK0.
|
| |
|
constexpr uint8_t | pf1550::reg::kLdoIntSense0 = 0x1A |
| | LDO_INT_SENSE0.
|
| |
|
constexpr uint8_t | pf1550::reg::kTempIntStat0 = 0x20 |
| | TEMP_INT_STAT0: die temperature 110 and 125 C.
|
| |
|
constexpr uint8_t | pf1550::reg::kTempIntMask0 = 0x21 |
| | TEMP_INT_MASK0.
|
| |
|
constexpr uint8_t | pf1550::reg::kTempIntSense0 = 0x22 |
| | TEMP_INT_SENSE0.
|
| |
|
constexpr uint8_t | pf1550::reg::kOnkeyIntStat0 = 0x24 |
| | ONKEY_INT_STAT0: push and 1, 2, 3, 4, 8 s.
|
| |
|
constexpr uint8_t | pf1550::reg::kOnkeyIntMask0 = 0x25 |
| | ONKEY_INT_MASK0.
|
| |
|
constexpr uint8_t | pf1550::reg::kOnkeyIntSense0 = 0x26 |
| | ONKEY_INT_SENSE0.
|
| |
|
constexpr uint8_t | pf1550::reg::kMiscIntStat0 = 0x28 |
| | MISC_INT_STAT0: power-up/down, PWRON, VSYS.
|
| |
|
constexpr uint8_t | pf1550::reg::kMiscIntMask0 = 0x29 |
| | MISC_INT_MASK0.
|
| |
|
constexpr uint8_t | pf1550::reg::kMiscIntSense0 = 0x2A |
| | MISC_INT_SENSE0.
|
| |
|
|
constexpr uint8_t | pf1550::reg::kChgInt = 0x80 |
| | CHG_INT: charger interrupt status.
|
| |
|
constexpr uint8_t | pf1550::reg::kChgIntMask = 0x82 |
| | CHG_INT_MASK (reset: all masked).
|
| |
|
constexpr uint8_t | pf1550::reg::kChgIntOk = 0x84 |
| | CHG_INT_OK (R): live state of the sources.
|
| |
|
constexpr uint8_t | pf1550::reg::kVbusSns = 0x86 |
| | VBUS_SNS (R).
|
| |
|
constexpr uint8_t | pf1550::reg::kChgSns = 0x87 |
| | CHG_SNS (R): state, WDT_SNS, THM_SNS, TREG_SNS.
|
| |
|
constexpr uint8_t | pf1550::reg::kBattSns = 0x88 |
| | BATT_SNS (R).
|
| |
|
constexpr uint8_t | pf1550::reg::kChgOper = 0x89 |
| | CHG_OPER: mode, WDTEN, DISBATFET.
|
| |
|
constexpr uint8_t | pf1550::reg::kChgTmr = 0x8A |
| | CHG_TMR: FCHGTIME, EOCTIME, TPRECHG.
|
| |
|
constexpr uint8_t | pf1550::reg::kChgEocCnfg = 0x8D |
| | CHG_EOC_CNFG: CHG_RESTART, IEOC.
|
| |
|
constexpr uint8_t | pf1550::reg::kChgCurrCnfg = 0x8E |
| | CHG_CURR_CNFG: CHG_CC, PRECHGLB_THRS.
|
| |
|
constexpr uint8_t | pf1550::reg::kBattReg = 0x8F |
| | BATT_REG: CHGCV, VSYSMIN.
|
| |
|
constexpr uint8_t | pf1550::reg::kBatfetCnfg = 0x91 |
| | BATFET_CNFG: WDTCLR, BATFET_OC, WD_TIME, ...
|
| |
|
constexpr uint8_t | pf1550::reg::kThmRegCnfg = 0x92 |
| | THM_REG_CNFG: THM_CNFG, REGTEMP, cold, hot.
|
| |
|
constexpr uint8_t | pf1550::reg::kVbusInlimCnfg = 0x94 |
| | VBUS_INLIM_CNFG: VBUS_LIN_ILIM.
|
| |
|
constexpr uint8_t | pf1550::reg::kVbusLinDpm = 0x95 |
| | VBUS_LIN_DPM: VBUS_DPM_REG, VIN_DPM_STOP.
|
| |
|
constexpr uint8_t | pf1550::reg::kUsbPhyLdoCnfg = 0x96 |
| | USB_PHY_LDO_CNFG.
|
| |
|
constexpr uint8_t | pf1550::reg::kDbncDelayTime = 0x98 |
| | DBNC_DELAY_TIME.
|
| |
|
constexpr uint8_t | pf1550::reg::kChgIntCnfg = 0x99 |
| | CHG_INT_CNFG.
|
| |
|
constexpr uint8_t | pf1550::reg::kThmAdjSetting = 0x9A |
| | THM_ADJ_SETTING: warm, cool, CV_ADJ, CC_ADJ.
|
| |
|
constexpr uint8_t | pf1550::reg::kVbus2SysCnfg = 0x9B |
| | VBUS2SYS_CNFG.
|
| |
|
constexpr uint8_t | pf1550::reg::kLedPwm = 0x9C |
| | LED_PWM: duty, ramp, enable.
|
| |
|
constexpr uint8_t | pf1550::reg::kFaultBatfetCnfg = 0x9D |
| | FAULT_BATFET_CNFG: BATFET policy per fault.
|
| |
|
constexpr uint8_t | pf1550::reg::kLedCnfg = 0x9E |
| | LED_CNFG.
|
| |
|
constexpr uint8_t | pf1550::reg::kChgrKey2 = 0x9F |
| | CHGR_KEY2 (Reserved; not exposed).
|
| |
Addresses, fields, reset values and the access table.