PF1550 Driver
API reference
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
pf1550::SwCtrlBits Struct Reference

Bit positions within SWn_CTRL (e.g. 0x35 / 0x3B / 0x41). More...

#include <pf1550_registers.hpp>

Static Public Attributes

static constexpr uint8_t kEn = 1u << 0
 SW_EN — enable in RUN.
 
static constexpr uint8_t kStbyEn = 1u << 1
 SW_STBY_EN — enable in STANDBY.
 
static constexpr uint8_t kOMode = 1u << 2
 SW_OMODE — enable in SLEEP.
 
static constexpr uint8_t kLpwr = 1u << 3
 SW_LPWR — low-power during STBY/SLP.
 
static constexpr uint8_t kDvsSpeed = 1u << 4
 SW_DVSSPEED — slow DVS slew.
 
static constexpr uint8_t kFpwmInDvs = 1u << 5
 SW_FPWM_IN_DVS — CCM during DVS-down.
 
static constexpr uint8_t kFpwm = 1u << 6
 SW_FPWM — force CCM.
 
static constexpr uint8_t kRdisEnb = 1u << 7
 SW_RDIS_ENB — disable discharge resistor.
 

Detailed Description

Bit positions within SWn_CTRL (e.g. 0x35 / 0x3B / 0x41).

Used so callers can build a control byte without magic numbers:

uint8_t ctrl = pf1550::SwCtrlBits::kEn |
pf1550::SwCtrlBits::kLpwr; // 0x0F — full carrier-friendly enable.
static constexpr uint8_t kStbyEn
SW_STBY_EN — enable in STANDBY.
Definition pf1550_registers.hpp:294
static constexpr uint8_t kLpwr
SW_LPWR — low-power during STBY/SLP.
Definition pf1550_registers.hpp:296
static constexpr uint8_t kOMode
SW_OMODE — enable in SLEEP.
Definition pf1550_registers.hpp:295
static constexpr uint8_t kEn
SW_EN — enable in RUN.
Definition pf1550_registers.hpp:293

Member Data Documentation

◆ kDvsSpeed

constexpr uint8_t pf1550::SwCtrlBits::kDvsSpeed = 1u << 4
staticconstexpr

SW_DVSSPEED — slow DVS slew.

◆ kEn

constexpr uint8_t pf1550::SwCtrlBits::kEn = 1u << 0
staticconstexpr

SW_EN — enable in RUN.

◆ kFpwm

constexpr uint8_t pf1550::SwCtrlBits::kFpwm = 1u << 6
staticconstexpr

SW_FPWM — force CCM.

◆ kFpwmInDvs

constexpr uint8_t pf1550::SwCtrlBits::kFpwmInDvs = 1u << 5
staticconstexpr

SW_FPWM_IN_DVS — CCM during DVS-down.

◆ kLpwr

constexpr uint8_t pf1550::SwCtrlBits::kLpwr = 1u << 3
staticconstexpr

SW_LPWR — low-power during STBY/SLP.

◆ kOMode

constexpr uint8_t pf1550::SwCtrlBits::kOMode = 1u << 2
staticconstexpr

SW_OMODE — enable in SLEEP.

◆ kRdisEnb

constexpr uint8_t pf1550::SwCtrlBits::kRdisEnb = 1u << 7
staticconstexpr

SW_RDIS_ENB — disable discharge resistor.

◆ kStbyEn

constexpr uint8_t pf1550::SwCtrlBits::kStbyEn = 1u << 1
staticconstexpr

SW_STBY_EN — enable in STANDBY.


The documentation for this struct was generated from the following file: