Start-up options, sequencer timing and the power-down schedule.
More...
|
|
constexpr uint32_t | pf1550::kVsnvsTurnOnDelayUs = 600 |
| | Turn-on delay of VSNVS after a cold start, microseconds (Table 84, tD1 typical 0.6 ms).
|
| |
|
constexpr uint32_t | pf1550::kVsnvsRiseUs = 100 |
| | Rise time of VSNVS, microseconds (tR1 typical 0.1 ms).
|
| |
|
constexpr uint32_t | pf1550::kSlotFastUs = 500 |
| | Power-up slot with OTP_SEQ_CLK_SPEED = 0, microseconds (tD3 typical 0.5 ms).
|
| |
|
constexpr uint32_t | pf1550::kSlotSlowUs = 2000 |
| | Power-up slot with OTP_SEQ_CLK_SPEED = 1, microseconds (tD3 typical 2.0 ms).
|
| |
|
constexpr uint32_t | pf1550::kPowerDownStepUs = 2000 |
| | Power-down delay between regulators, microseconds (tD5 typical 2.0 ms).
|
| |
|
constexpr uint8_t | pf1550::kMaxSequenceNumber = 7 |
| | Largest sequence number a *_PWRUP_SEQ or *_PWRDN_SEQ field holds.
|
| |
Start-up options, sequencer timing and the power-down schedule.
◆ ColdStartToResetReleaseUs()
| constexpr Result< uint32_t > pf1550::ColdStartToResetReleaseUs |
( |
const StartupProfile & |
profile, |
|
|
uint32_t |
por_dly_code |
|
) |
| |
|
constexprnoexcept |
From a cold start to RESETBMCU high, for an option and a POR_DLY code (Table 84).
- Parameters
-
| profile | The start-up profile. |
| por_dly_code | POR_DLY[2:0]. |
- Returns
- Microseconds: VSNVS turn-on, the power-up sequencer, then the reset release delay; or
InvalidArgument for an undefined POR_DLY code. The wait for PWRON (tD2) is the application's and not included.
◆ IsPowerDownBypassed()
Whether the power-down sequencer is bypassed: every order is 0 (section 10.7).
- Parameters
-
| sequence | The *_PWRDN_SEQ values. |
- Returns
- true when all regulators turn off at once.
◆ MirrorOf()
The power-down order that mirrors the power-up order of an option, as the registers hold it after reset (section 10.7: SW1_PWRDN_SEQ = OTP_SW1_PWRUP_SEQ, and so on).
- Parameters
-
| profile | The start-up profile. |
- Returns
- The default
PowerDownSequence.
◆ PowerDownDelayUs()
When a rail turns off in a power-down, counted from the start of the sequence.
- Parameters
-
| sequence | The *_PWRDN_SEQ values. |
| rail | The rail. |
- Returns
- Microseconds: 0 when the sequencer is bypassed, else (highest order - this order) steps of
kPowerDownStepUs; regulators of equal order turn off together (C55) and order 0 turns off last (C56).
◆ PowerDownDurationUs()
How long the power-down sequence takes: the delay of the last rail.
- Parameters
-
| sequence | The *_PWRDN_SEQ values. |
- Returns
- Microseconds; 0 when bypassed.
◆ PowerUpDelayUs()
When a rail turns on, counted from the start of the first power-up slot.
- Parameters
-
| profile | The start-up profile. |
| rail | The rail. |
- Returns
- Microseconds: (order - 1) slots, 0 for order 0 and 1 (ambiguity C54).
◆ PowerUpDurationUs()
| constexpr uint32_t pf1550::PowerUpDurationUs |
( |
const StartupProfile & |
profile | ) |
|
|
constexprnoexcept |
How long the power-up sequencer runs: the start of the last slot used.
- Parameters
-
| profile | The start-up profile. |
- Returns
- Microseconds from the first slot to the last regulator turning on.
◆ ResetReleaseDelayMs()
| constexpr Result< uint32_t > pf1550::ResetReleaseDelayMs |
( |
uint32_t |
code | ) |
|
|
constexprnoexcept |
The delay of RESETBMCU after the last regulator, from POR_DLY[2:0] (Table 135).
- Parameters
-
| code | POR_DLY: 0 is 2 ms, 2 to 7 are 4, 8, 16, 128, 256 and 1024 ms; 1 is not defined. |
- Returns
- Milliseconds, or
InvalidArgument for code 1 and for a code above 7.
◆ StartupProfileOf()
The pre-programmed start-up sequence of an option (Table 85).
- Parameters
-
- Returns
- The profile, or
InvalidArgument for A0 (not programmed: nothing is assumed) and Unknown (a flavour byte the data sheet does not list).