|
TLE92466ED Driver 0.1.0
API reference
|
The TLE92466ED register map. More...
Functions | |
| constexpr uint8_t | FrameCrc (uint32_t frame) noexcept |
| CRC-8 SAE J1850 of a frame's lower 24 bits, in the chip's byte order: bits 7..0 first, then 15..8, then 23..16 (section 5.1.2). | |
| constexpr bool | Is22Bit (uint16_t address) noexcept |
Whether a read of address is answered with a 22-bit reply (section 5.2.3.4): the central registers from FB_STAT (0x0202) on and every channel feedback register. The datasheet draws each of them with a bits 21..16 row and a six-digit reset value. | |
| constexpr bool | IsRegister (uint16_t address) noexcept |
Whether address names a register of the datasheet: a central register of Table 19, or a channel register of Table 24 at a base of Table 25. | |
Variables | |
Central registers (section 5.3.2, Table 19) | |
| constexpr uint16_t | kChCtrl = 0x0000U |
| CH_CTRL (rw): enables, pairs, OP_MODE. | |
| constexpr uint16_t | kGlobalConfig = 0x0002U |
| GLOBAL_CONFIG (rw, Config Mode only). | |
| constexpr uint16_t | kGlobalDiag0 = 0x0003U |
| GLOBAL_DIAG0: supply, clock, OT, events. | |
| constexpr uint16_t | kGlobalDiag1 = 0x0004U |
| GLOBAL_DIAG1: internal supplies, ADC. | |
| constexpr uint16_t | kGlobalDiag2 = 0x0005U |
| GLOBAL_DIAG2: register and OTP ECC. | |
| constexpr uint16_t | kVbatTh = 0x0006U |
| VBAT_TH: VBAT under/overvoltage codes. | |
| constexpr uint16_t | kFbFrz = 0x0007U |
| FB_FRZ: freeze the feedback of a channel. | |
| constexpr uint16_t | kFbUpd = 0x0008U |
| FB_UPD (rh): new feedback per channel. | |
| constexpr uint16_t | kWdReload = 0x0009U |
| WD_RELOAD: SPI watchdog reload value. | |
| constexpr uint16_t | kDiagErrChgr0 = 0x000AU |
| DIAG_ERR_CHGR0..2 at 0x000A + group. | |
| constexpr uint16_t | kDiagWarnChgr0 = 0x0010U |
| DIAG_WARN_CHGR0..2 at 0x0010 + group. | |
| constexpr uint16_t | kFaultMask0 = 0x0016U |
| FAULT_MASK0: channel errors, supplies. | |
| constexpr uint16_t | kFaultMask1 = 0x0017U |
| FAULT_MASK1: warnings, OT, clock. | |
| constexpr uint16_t | kFaultMask2 = 0x0018U |
| FAULT_MASK2: data error, SPI watchdog. | |
| constexpr uint16_t | kClkDiv = 0x0019U |
| CLK_DIV (Config Mode only): PLL, source. | |
| constexpr uint16_t | kSffBist = 0x003FU |
| SFF_BIST (Config Mode only): self-test. | |
| constexpr uint16_t | kIcvid = 0x0200U |
| ICVID (rh): manufacturer and version. | |
| constexpr uint16_t | kPinStat = 0x0201U |
| PIN_STAT (rh): DRV0/1, EN, FAULTN levels. | |
| constexpr uint16_t | kFbStat = 0x0202U |
| FB_STAT (rh, 22 bits): status summary. | |
| constexpr uint16_t | kFbVoltage1 = 0x0203U |
| FB_VOLTAGE1 (rh, 22 bits): VIO, VDD. | |
| constexpr uint16_t | kFbVoltage2 = 0x0204U |
| FB_VOLTAGE2 (rh, 22 bits): VBAT, temp. | |
| constexpr uint16_t | kChipId0 = 0x0205U |
| constexpr uint16_t | kChannelGroups = 3U |
Channel registers: offsets from the channel's base (section 5.3.3, Table 24) | |
| constexpr uint16_t | kSetpoint = 0x0000U |
| SETPOINT: TARGET, AUTO_LIMIT_DIS. | |
| constexpr uint16_t | kCtrl = 0x0001U |
| CTRL: ICC threshold, OLSG warning. | |
| constexpr uint16_t | kPeriod = 0x0002U |
| PERIOD: PWM frequency controller. | |
| constexpr uint16_t | kIntegratorLimit = 0x0003U |
| INTEGRATOR_LIMIT: ICC limits. | |
| constexpr uint16_t | kDitherClkDiv = 0x0004U |
| DITHER_CLK_DIV: t_ref_clk, sync. | |
| constexpr uint16_t | kDitherStep = 0x0005U |
| DITHER_STEP: STEPS, FLAT. | |
| constexpr uint16_t | kDitherCtrl = 0x0006U |
| DITHER_CTRL: STEP_SIZE, fast feedback. | |
| constexpr uint16_t | kChConfig = 0x0007U |
| CH_CONFIG: slew, diagnosis, OL limits. | |
| constexpr uint16_t | kMode = 0x000CU |
| MODE (Config Mode only): CH_MODE. | |
| constexpr uint16_t | kTon = 0x000DU |
| TON: on-time, OLSG time-out. | |
| constexpr uint16_t | kCtrlIntThresh = 0x000EU |
| CTRL_INT_THRESH: ICC start threshold. | |
| constexpr uint16_t | kFbDc = 0x0200U |
| FB_DC (22 bits): TP_MANT, TO_MANT. | |
| constexpr uint16_t | kFbVbat = 0x0201U |
| FB_VBAT (22 bits): VBAT, EXP, counters. | |
| constexpr uint16_t | kFbIAvg = 0x0202U |
| FB_I_AVG (22 bits): I_AVG_MANT, EXP. | |
| constexpr uint16_t | kFbIminImax = 0x0203U |
| FB_IMIN_IMAX (22 bits). | |
| constexpr uint16_t | kFbIAvgS16 = 0x0204U |
| FB_I_AVG_s16 (22 bits). | |
| constexpr uint16_t | kFbIntThresh = 0x0205U |
| FB_INT_THRESH (22 bits). | |
| constexpr uint16_t | kFbPeriodMinMax = 0x0206U |
| constexpr std::array< uint16_t, 6 > | kChannelBase |
| Base address of each channel's register bank, CH0 to CH5 (Table 25). | |
CH_CTRL (section 5.3.2.3); reset value 0x0000 | |
| constexpr uint16_t | kChCtrlEnMask = 0x003FU |
| EN_CH0..5, bits 5..0. | |
| constexpr uint16_t | kChCtrlPar45 = 0x1000U |
| CH_PAR_4_5 (Config Mode only). | |
| constexpr uint16_t | kChCtrlPar03 = 0x2000U |
| CH_PAR_0_3 (Config Mode only). | |
| constexpr uint16_t | kChCtrlPar12 = 0x4000U |
| CH_PAR_1_2 (Config Mode only). | |
| constexpr uint16_t | kChCtrlOpMode = 0x8000U |
| OP_MODE: 0 Config Mode, 1 Mission Mode. | |
| constexpr uint16_t | kChCtrlParMask = 0x7000U |
| CH_PAR_4_5, CH_PAR_0_3, CH_PAR_1_2. | |
| constexpr uint16_t | kChCtrlWritable = 0xF03FU |
| Every bit that is not reserved. | |
GLOBAL_CONFIG (section 5.3.2.4); reset value 0x4005 | |
| constexpr uint16_t | kGlobalConfigClkWdEn = 0x0001U |
| CLK_WD_EN: clock watchdog. | |
| constexpr uint16_t | kGlobalConfigSpiWdEn = 0x0002U |
| SPI_WD_EN: SPI watchdog. | |
| constexpr uint16_t | kGlobalConfigCrcEn = 0x0004U |
| CRC_EN: check MOSI frame CRCs. | |
| constexpr uint16_t | kGlobalConfigVioSel = 0x4000U |
| VIO_SEL: 0 = 3.3 V, 1 = 5.0 V. | |
| constexpr uint16_t | kGlobalConfigReset = 0x4005U |
| constexpr uint16_t | kGlobalConfigWritable = 0x4007U |
| Bits the driver writes; the test bits (V1V5_UV/OV_TEST, OT_TEST, UV_OV_SWAP) stay 0. | |
GLOBAL_DIAG0 (section 5.3.2.5); reset value 0x0600 | |
| constexpr uint16_t | kDiag0VbatUv = 0x0001U |
| VBAT_UV (rwh). | |
| constexpr uint16_t | kDiag0VbatOv = 0x0002U |
| VBAT_OV (rwh). | |
| constexpr uint16_t | kDiag0VioUv = 0x0004U |
| VIO_UV (rwh). | |
| constexpr uint16_t | kDiag0VioOv = 0x0008U |
| VIO_OV (rwh). | |
| constexpr uint16_t | kDiag0VddUv = 0x0010U |
| VDD_UV (rwh). | |
| constexpr uint16_t | kDiag0VddOv = 0x0020U |
| VDD_OV (rwh). | |
| constexpr uint16_t | kDiag0ClkNok = 0x0040U |
| CLK_NOK (rwh). | |
| constexpr uint16_t | kDiag0CotErr = 0x0080U |
| COTERR (rwh). | |
| constexpr uint16_t | kDiag0CotWarn = 0x0100U |
| COTWARN (rwh). | |
| constexpr uint16_t | kDiag0ResEvent = 0x0200U |
| RES_EVENT (rw): RESN reset happened. | |
| constexpr uint16_t | kDiag0PorEvent = 0x0400U |
| POR_EVENT (rw): power-on reset happened. | |
| constexpr uint16_t | kDiag0SpiWdErr = 0x4000U |
| SPI_WD_ERR (rwh). | |
| constexpr uint16_t | kDiag0Reset = 0x0600U |
| constexpr uint16_t | kDiag0Flags = 0x41FFU |
| The rwh fault flags, cleared by a write of 1 (section 4.1.2). | |
GLOBAL_DIAG1 (section 5.3.2.6); reset value 0x0000 | |
| constexpr uint16_t | kDiag1VrIrefUv = 0x0001U |
| VR_IREF_UV (rwh). | |
| constexpr uint16_t | kDiag1VrIrefOv = 0x0002U |
| VR_IREF_OV (rwh). | |
| constexpr uint16_t | kDiag1Vdd2v5Uv = 0x0004U |
| VDD2V5_UV (rw). | |
| constexpr uint16_t | kDiag1Vdd2v5Ov = 0x0008U |
| VDD2V5_OV (rw). | |
| constexpr uint16_t | kDiag1RefUv = 0x0010U |
| REF_UV (rwh). | |
| constexpr uint16_t | kDiag1RefOv = 0x0020U |
| REF_OV (rwh). | |
| constexpr uint16_t | kDiag1VpreOv = 0x0040U |
| VPRE_OV (rwh). | |
| constexpr uint16_t | kDiag1HvadcErr = 0x8000U |
| constexpr uint16_t | kDiag1Flags = 0x807FU |
| Every flag of GLOBAL_DIAG1. | |
| constexpr uint16_t | kDiag1RwhFlags = 0x8073U |
| The rwh flags, cleared by a write of 1; the two rw flags (VDD2V5) are cleared by a 0. | |
GLOBAL_DIAG2 (section 5.3.2.7, Table 21); reset value 0x0000 (bit 0 undefined) | |
| constexpr uint16_t | kDiag2RegEccErr = 0x0002U |
| REG_ECC_ERR (rwh). | |
| constexpr uint16_t | kDiag2OtpEccErr = 0x0008U |
| OTP_ECC_ERR (rwh): two clears (4.9.7). | |
| constexpr uint16_t | kDiag2OtpVirgin = 0x0010U |
| OTP_VIRGIN (rwh): must always be 0. | |
| constexpr uint16_t | kDiag2Flags = 0x001AU |
| Every flag of GLOBAL_DIAG2. | |
FB_FRZ, FB_UPD (sections 5.3.2.9, 5.3.2.10); reset values 0x0000 | |
| constexpr uint16_t | kChannelBits = 0x003FU |
| One bit per channel, CH0 at bit 0. | |
DIAG_ERR_CHGR, per channel byte (section 5.3.2.12); reset value 0x0000 | |
| constexpr uint16_t | kErrOlsg = 0x0001U |
| OLSG: open load or short to ground, on-state. | |
| constexpr uint16_t | kErrOl = 0x0002U |
| OL: open load, off-state. | |
| constexpr uint16_t | kErrOc = 0x0004U |
| OC: overcurrent; two clears (4.9.6, 4.11.2). | |
| constexpr uint16_t | kErrSg = 0x0008U |
| SG: short to ground, off-state. | |
| constexpr uint16_t | kErrOte = 0x0010U |
| OTE: channel overtemperature error. | |
| constexpr uint16_t | kErrFlags = 0x001FU |
| Every flag of one channel. | |
DIAG_WARN_CHGR, per channel byte (section 5.3.2.13); reset value 0x1010 | |
| constexpr uint16_t | kWarnPwmReg = 0x0001U |
| PWM_REG_WARN: ICC PWM regulation. | |
| constexpr uint16_t | kWarnIReg = 0x0002U |
| I_REG_WARN: ICC current regulation. | |
| constexpr uint16_t | kWarnOtw = 0x0004U |
| OTW: channel overtemperature warning. | |
| constexpr uint16_t | kWarnOlsg = 0x0008U |
| OLSG_WARN. | |
| constexpr uint16_t | kWarnOlsgChkNok = 0x0010U |
| OLSG_WARN_CHK_NOK: cleared by a read. | |
| constexpr uint16_t | kWarnFlags = 0x001FU |
| Every flag of one channel. | |
| constexpr uint16_t | kDiagWarnReset = 0x1010U |
| After reset: both checks "not possible". | |
FAULT_MASK0..2 (sections 5.3.2.14 to 5.3.2.16) | |
| constexpr uint16_t | kMask0EnPin = 0x2000U |
| EN_PIN_MASK. | |
| constexpr uint16_t | kMask0SupInt = 0x4000U |
| SUP_NOK_INT_MASK. | |
| constexpr uint16_t | kMask0SupExt = 0x8000U |
| SUP_NOK_EXT_MASK. | |
| constexpr uint16_t | kMask0Reset = 0xC03FU |
| After reset. | |
| constexpr uint16_t | kMask1CotWarn = 0x1000U |
| COTWARN_MASK. | |
| constexpr uint16_t | kMask1CotErr = 0x2000U |
| COTERR_MASK. | |
| constexpr uint16_t | kMask1ClkLow = 0x4000U |
| CLK_LOW_MASK. | |
| constexpr uint16_t | kMask1Reset = 0x703FU |
| After reset. | |
| constexpr uint16_t | kMask2DataErr = 0x4000U |
| DATA_ERR_MASK. | |
| constexpr uint16_t | kMask2SpiWd = 0x8000U |
| SPI_WD_MASK. | |
| constexpr uint16_t | kMask2Reset = 0xC000U |
| After reset. | |
SFF_BIST (section 5.3.2.18); reset value 0x0000 | |
| constexpr uint16_t | kBistEn = 0x0001U |
| SMU_SLF_TST_EN: start the self-test. | |
| constexpr uint16_t | kBistDone = 0x0002U |
| SMU_SLF_TST_DONE. | |
| constexpr uint16_t | kBistFail = 0x0004U |
| SMU_SLF_TST_FAIL. | |
| constexpr uint16_t | kBistUerr = 0x0008U |
| SMU_SLF_TST_UERR: uncorrectable errors tested. | |
| constexpr uint16_t | kBistCerr = 0x0010U |
| SMU_SLF_TST_CERR: correctable errors tested. | |
FB_STAT (section 5.3.2.21, Table 23), 22 bits | |
| constexpr uint32_t | kStatWarnGroups = 0x000007U |
| DIAG_WARN_CHGR0..2 summary. | |
| constexpr uint32_t | kStatChkNokGroups = 0x000038U |
| OLSG_WARN_CHK_NOK summary. | |
| constexpr uint32_t | kStatClkNok = 0x000040U |
| CLK_NOK. | |
| constexpr uint32_t | kStatCotErr = 0x000080U |
| COTERR. | |
| constexpr uint32_t | kStatCotWarn = 0x000100U |
| COTWARN. | |
| constexpr uint32_t | kStatResEvent = 0x000200U |
| RES_event. | |
| constexpr uint32_t | kStatPorEvent = 0x000400U |
| POR_event. | |
| constexpr uint32_t | kStatDataErr = 0x000800U |
| DATA_err: OTP ECC, OTP virgin, HVADC. | |
| constexpr uint32_t | kStatSupNokExt = 0x001000U |
| SUP_NOK_EXT. | |
| constexpr uint32_t | kStatSupNokInt = 0x002000U |
| SUP_NOK_INT. | |
| constexpr uint32_t | kStatErrGroups = 0x01C000U |
| DIAG_ERR_CHGR0..2 summary. | |
| constexpr uint32_t | kStatSpiWdErr = 0x100000U |
| SPI_WD_ERR. | |
| constexpr uint32_t | kStatInitDone = 0x200000U |
| constexpr uint32_t | kStatMissionBlockers = 0x1031C0U |
| Faults that keep the chip out of Mission Mode (Figure 4). | |
SPI frames (section 5.2.3) | |
| constexpr uint32_t | kFrameRw = 0x0001'0000U |
| R/W bit 16: 1 = write. | |
| constexpr uint32_t | kWriteAddressShift = 17U |
| Write frame: address in bits 23..17. | |
| constexpr uint32_t | kWriteAddressMask = 0x7FU |
| A write frame's 7-bit address. | |
| constexpr uint32_t | kReplyModeShift = 22U |
| Reply mode in bits 23..22. | |
| constexpr uint32_t | kReplyMode16 = 0U |
| 00B: 16-bit reply frame. | |
| constexpr uint32_t | kReplyMode22 = 1U |
| 01B: 22-bit reply frame. | |
| constexpr uint32_t | kReplyModeCritical = 2U |
| 10B: critical fault frame. | |
| constexpr uint32_t | kReplyStatusShift = 17U |
| 16-bit reply: status in bits 21..17. | |
| constexpr uint32_t | kReplyStatusMask = 0x1FU |
| Five status bits. | |
| constexpr uint32_t | kStatusFrameError = 1U |
| SPI frame error. | |
| constexpr uint32_t | kStatusCrcError = 2U |
| The chip found a wrong MOSI CRC. | |
| constexpr uint32_t | kStatusWriteReadOnly = 3U |
| Write to a read-only register. | |
| constexpr uint32_t | kData16Mask = 0x0000'FFFFU |
| Data of a 16-bit reply. | |
| constexpr uint32_t | kData22Mask = 0x003F'FFFFU |
| Data of a 22-bit reply. | |
| constexpr uint32_t | kCrcPolynomial = 0x1DU |
| SAE J1850: x^8 + x^4 + x^3 + x^2 + 1. | |
| constexpr uint32_t | kCrcInit = 0xFFU |
| Initial value. | |
| constexpr uint32_t | kCrcXorOut = 0xFFU |
| The result is XORed with 0xFF. | |
VBAT_TH (section 5.3.2.8); reset value 0xFF19 | |
| using | VbatUvTh = detail::Field< uint16_t, 0U, 8U > |
| VBAT_UV_TH, 162.08 mV per count. | |
| using | VbatOvTh = detail::Field< uint16_t, 8U, 8U > |
| VBAT_OV_TH, 162.08 mV per count. | |
| constexpr uint16_t | kVbatThReset = 0xFF19U |
| After reset: UV 25 (4.05 V), OV 255. | |
WD_RELOAD (section 5.3.2.11); reset value 0x0001 | |
| using | WdTime = detail::Field< uint16_t, 0U, 11U > |
| WD_TIME, counts of 2^14 / f_SYS. | |
| constexpr uint16_t | kWdReloadReset = 0x0001U |
| After reset: one count. | |
CLK_DIV (section 5.3.2.17); reset value 0x0438 | |
| using | PllFbDiv = detail::Field< uint16_t, 0U, 9U > |
| PLL_FBDIV. | |
| using | PllRefDiv = detail::Field< uint16_t, 9U, 6U > |
| PLL_REFDIV. | |
| constexpr uint16_t | kClkDivExtClk = 0x8000U |
| EXT_CLK: 1 = clock from the CLK pin. | |
| constexpr uint16_t | kClkDivReset = 0x0438U |
| After reset: REFDIV 2, FBDIV 56, internal. | |
ICVID, PIN_STAT (sections 5.3.2.19, 5.3.2.20) | |
| using | IcVersion = detail::Field< uint16_t, 0U, 8U > |
| VERSION. | |
| using | IcManufacturer = detail::Field< uint16_t, 8U, 8U > |
| MANUFACTURER. | |
| constexpr uint16_t | kPinDrv0 = 0x0001U |
| DRV0 level. | |
| constexpr uint16_t | kPinDrv1 = 0x0002U |
| DRV1 level. | |
| constexpr uint16_t | kPinEn = 0x0010U |
| EN level. | |
| constexpr uint16_t | kPinFaultn = 0x0020U |
| FAULTN internal: 0 = fault. | |
| constexpr uint16_t | kPinFaultnFb = 0x0040U |
| FAULTN pin level. | |
SETPOINT (section 5.3.3.3) | |
| using | Target = detail::Field< uint16_t, 0U, 15U > |
| TARGET, 2 A / (2^15 - 1) per count. | |
| constexpr uint16_t | kAutoLimitDis = 0x8000U |
| AUTO_LIMIT_DIS. | |
| constexpr uint32_t | kTargetSaturation = 0x6000U |
| Higher TARGET values are saturated. | |
CTRL (section 5.3.3.4); reset value 0x4600 | |
| using | MinIntThresh = detail::Field< uint16_t, 0U, 8U > |
| MIN_INT_THRESH, signed. | |
| using | OlsgWarnWindow = detail::Field< uint16_t, 9U, 5U > |
| OLSG_WARN_WINDOW. | |
| constexpr uint16_t | kPwmPeriodCalcMode = 0x0100U |
| PWM_PERIOD_CALC_MODE. | |
| constexpr uint16_t | kOlsgWarnEn = 0x4000U |
| OLSG_WARN_EN. | |
| constexpr uint16_t | kCtrlReset = 0x4600U |
| After reset. | |
PERIOD (section 5.3.3.5); reset value 0x0000 | |
| using | PeriodMant = detail::Field< uint16_t, 0U, 8U > |
| PERIOD_MANT; 0 stops the controller. | |
| using | PeriodExp = detail::Field< uint16_t, 8U, 3U > |
| PERIOD_EXP. | |
| using | PwmCtrlParam = detail::Field< uint16_t, 12U, 4U > |
| PWM_CTRL_PARAM, the gain KI. | |
| constexpr uint16_t | kLowFreqRangeEn = 0x0800U |
| LOW_FREQ_RANGE_EN: period times 8. | |
INTEGRATOR_LIMIT (section 5.3.3.6); reset value 0x43FF | |
| using | LimValueAbs = detail::Field< uint16_t, 0U, 10U > |
| LIM_VALUE_ABS. | |
| using | AutoLimValueAbs = detail::Field< uint16_t, 10U, 5U > |
| AUTO_LIM_VALUE_ABS. | |
| constexpr uint16_t | kIntegratorLimitReset = 0x43FFU |
| After reset: 1023 and 16. | |
DITHER_CLK_DIV, DITHER_STEP, DITHER_CTRL (sections 5.3.3.7 to 5.3.3.9) | |
| using | DitherMant = detail::Field< uint16_t, 0U, 10U > |
| MANT of t_ref_clk. | |
| using | DitherExp = detail::Field< uint16_t, 10U, 4U > |
| EXP of t_ref_clk and TON. | |
| using | DitherFlat = detail::Field< uint16_t, 0U, 8U > |
| FLAT. | |
| using | DitherSteps = detail::Field< uint16_t, 8U, 8U > |
| STEPS. | |
| using | DitherStepSize = detail::Field< uint16_t, 0U, 12U > |
| STEP_SIZE. | |
| using | FastMeas = detail::Field< uint16_t, 14U, 2U > |
| FAST_MEAS. | |
| constexpr uint16_t | kDitherPwmSyncEn = 0x4000U |
| DITHER_PWM_SYNC_EN. | |
| constexpr uint16_t | kDitherSetpointSyncEn = 0x8000U |
| DITHER_SETPOINT_SYNC_EN. | |
| constexpr uint16_t | kDeepDither = 0x2000U |
| DEEP_DITHER. | |
CH_CONFIG (section 5.3.3.10); reset value 0x0003 | |
| using | SlewRate = detail::Field< uint16_t, 0U, 2U > |
| SLEWR. | |
| using | IDiag = detail::Field< uint16_t, 2U, 2U > |
| I_DIAG. | |
| using | OlTh = detail::Field< uint16_t, 4U, 3U > |
| OL_TH, eighths of the setpoint. | |
| using | OlThFixed = detail::Field< uint16_t, 7U, 6U > |
| OL_TH_FIXED. | |
| using | OffDiagCh = detail::Field< uint16_t, 14U, 2U > |
| OFF_DIAG_CH. | |
| constexpr uint16_t | kOcDiagEn = 0x2000U |
| OC_DIAG_EN (self-clearing, rwh). | |
| constexpr uint32_t | kOffDiagDisabled = 3U |
| OFF_DIAG_CH = 11B: diagnosis off. | |
| constexpr uint16_t | kChConfigReset = 0x0003U |
| After reset: 10 V/us, diagnosis on. | |
MODE, TON, CTRL_INT_THRESH (sections 5.3.3.11 to 5.3.3.13) | |
| using | ChMode = detail::Field< uint16_t, 0U, 4U > |
| CH_MODE. | |
| using | TonMant = detail::Field< uint16_t, 0U, 10U > |
| TON_MANT. | |
| using | OlsgTimeout = detail::Field< uint16_t, 10U, 6U > |
| OLSG_TIMEOUT. | |
| using | IntThresh = detail::Field< uint16_t, 0U, 9U > |
| INT_THRESH. | |
| constexpr uint32_t | kChModeMeasurement = 0xCU |
| CH_MODE = CH: free-running measurement. | |
| constexpr uint16_t | kCtrlIntThreshReset = 0x0003U |
| After reset. | |
The TLE92466ED register map.