mFrame
載入中...
搜尋中...
無符合項目
mcxa153::chip::vbat 命名空間(Namespace)參考文件

複合項目

struct  Register
 MCXA153 VBAT (Battery-Backed Domain) Register Structure (VBAT電池備份域寄存器結構) 更多...
 
class  VBAT
 MCXA153 電池供電域 (VBAT) 控制介面 更多...
 

列舉型態

enum struct  Mask : unsigned int {
  VERID_FEATURE = 0xFFFFU , VERID_MINOR = 0xFF0000U , VERID_MAJOR = 0xFF000000U , FROCTLA_FRO_EN = 0x1U ,
  FROLCKA_LOCK = 0x1U , FROCLKE_CLKE = 0x3U , WAKEUP_WAKEUPA_REG = 0xFFFFFFFFU , WAKLCKA_LOCK = 0x1U
}
 MCXA153 VBAT (Battery-Backed Domain) Bit Mask Enumeration (VBAT電池備份域位元遮罩枚舉) 更多...
 
enum struct  Shift : unsigned int {
  VERID_FEATURE = 0U , VERID_MINOR = 16U , VERID_MAJOR = 24U , FROCTLA_FRO_EN = 0U ,
  FROLCKA_LOCK = 0U , FROCLKE_CLKE = 0U , WAKEUP_WAKEUPA_REG = 0U , WAKLCKA_LOCK = 0U
}
 VBAT Register Bit Shift Positions (VBAT寄存器位移位置) 更多...
 

函式

constexpr unsigned int operator+ (Mask e)
 
constexpr unsigned int operator+ (Shift e)
 

變數

RegisterVBAT0
 

詳細描述

Copyright (c, 2020 ZxyKira All rights reserved.

SPDX-License-Identifier: MIT

Copyright (c) 2020 ZxyKira All rights reserved.

SPDX-License-Identifier: MIT

列舉型態說明文件

◆ Mask

enum struct mcxa153::chip::vbat::Mask : unsigned int
strong

MCXA153 VBAT (Battery-Backed Domain) Bit Mask Enumeration (VBAT電池備份域位元遮罩枚舉)

This enumeration provides bit field masks for VBAT (Battery-Backed Domain) registers, which control low-power domain functionality that remains operational even when the main power supply is disconnected, as long as backup battery power is available. 這個枚舉提供VBAT(電池備份域)寄存器的位元欄位遮罩, 控制即使在主電源斷開時仍能運作的低功耗域功能(只要有備用電池電源)。

Key VBAT Components (主要VBAT組件):

  • FRO16K Oscillator Control (FRO16K振盪器控制) - FROCTLA_*, FROLCKA_*, FROCLKE_*
  • Version Identification (版本識別) - VERID_*
  • Wakeup Source Management (喚醒源管理) - WAKEUP_WAKEUPA_*, WAKLCKA_*

Power Domain Architecture (電源域架構):

  • Main Power Domain: Normal system operation (主電源域:正常系統運作)
  • VBAT Domain: Battery-backed persistent operation (VBAT域:電池備份持續運作)
  • Always-On Domain: Critical system functions (常開域:關鍵系統功能)

FRO16K Oscillator Features (FRO16K振盪器功能):

  • 16kHz internal oscillator for low-power timing (16kHz內部振盪器用於低功耗時序)
  • Battery-backed operation capability (電池備份運作能力)
  • Configurable enable/disable control (可配置啟用/禁用控制)
  • Lock mechanism for configuration protection (配置保護的鎖定機制)
  • Clock output enable control (時鐘輸出使能控制)

Wakeup System Management (喚醒系統管理):

  • Wake-up source configuration (喚醒源配置)
  • Register-based wake-up control (基於寄存器的喚醒控制)
  • Lock protection for wake-up settings (喚醒設定的鎖定保護)
  • Persistent wake-up event storage (持續喚醒事件存儲)

Version Control System (版本控制系統):

  • Feature specification tracking (功能規格追蹤)
  • Minor version identification (次要版本識別)
  • Major version identification (主要版本識別)
  • Hardware/software compatibility verification (硬體/軟體兼容性驗證)

Usage Patterns (使用模式):

// Check if FRO16K is enabled
if (register_value & +Mask::FROCTLA_FRO_EN) {
// FRO16K oscillator is running
}
// Configure wakeup register
register_value = (register_value & ~+Mask::WAKEUP_WAKEUPA_REG) |
(wakeup_config & +Mask::WAKEUP_WAKEUPA_REG);
// Lock VBAT configuration
register_value |= +Mask::WAKLCKA_LOCK;
@ WAKLCKA_LOCK
WAKLCKA - LOCK.
@ FROCTLA_FRO_EN
FROCTLA - FRO_EN.
@ WAKEUP_WAKEUPA_REG
WAKEUP_WAKEUPA - REG.

Power Management Context (電源管理背景):

  • Ultra-low power consumption design (超低功耗設計)
  • Battery backup support for critical functions (關鍵功能的電池備份支援)
  • Wake-up capability from deep power-down modes (從深度掉電模式的喚醒能力)
  • Real-time clock and timer support (實時時鐘和定時器支援)
  • Non-volatile configuration retention (非揮發性配置保持)

Security and Lock Features (安全和鎖定功能):

  • Configuration lock mechanisms prevent unauthorized changes (配置鎖定機制防止未授權變更)
  • Tamper detection and response capabilities (篡改檢測和響應能力)
  • Secure wake-up source validation (安全喚醒源驗證)
  • Protected battery domain operation (受保護的電池域運作)
VBAT域在主電源斷開時仍能保持關鍵功能運作,需要外部備用電池
警告
錯誤配置VBAT功能可能導致系統無法正確喚醒或功耗過高
注意
某些VBAT配置一旦鎖定就無法修改,除非進行特定的解鎖序列
參閱
Register.h VBAT寄存器結構定義和詳細說明
Low-power design guidelines and battery backup implementation
MCXA153 with integrated battery-backed domain support
列舉值
VERID_FEATURE 

VERID - FEATURE.

Version ID - Feature Specification Number

VERID_MINOR 

Version ID - MINOR.

Version ID - Minor Version Number

VERID_MAJOR 

Version ID - MAJOR.

Version ID - Major Version Number

FROCTLA_FRO_EN 

FROCTLA - FRO_EN.

FRO16K Control A - FRO16K Enable

  • [0b0]Disable
  • [0b1]Enable
FROLCKA_LOCK 

FROCTLA - LOCK.

FRO16K Control A - Lock

  • [0b0]Do not block
  • [0b1]Block
FROCLKE_CLKE 

FROCTLA - CLKE.

FRO16K Control A - Clock Enable

WAKEUP_WAKEUPA_REG 

WAKEUP_WAKEUPA - REG.

Wakeup 0 Register A - Register

WAKLCKA_LOCK 

WAKLCKA - LOCK.

Wakeup Lock A - Lock

  • [0b0]Lock is disabled
  • [0b1]Lock is enabled

◆ Shift

enum struct mcxa153::chip::vbat::Shift : unsigned int
strong

VBAT Register Bit Shift Positions (VBAT寄存器位移位置)

This enumeration defines the bit shift positions for all fields within the VBAT (Battery-Backed Domain) registers of the MCXA153 microcontroller. These shift values are used for precise bit manipulation and field extraction operations in battery-backed domain register programming.

該枚舉定義了MCXA153微控制器VBAT(電池供電域)寄存器中所有字段的位移位置。 這些位移值用於電池供電域寄存器編程中的精確位操作和字段提取操作。

Battery-Backed Domain Features (電池供電域特性):
  • Ultra-low power consumption for extended battery life (超低功耗延長電池壽命)
  • Persistent operation during main power loss (主電源斷電時的持續運行)
  • Independent oscillator control (獨立振盪器控制)
  • Configurable wakeup sources (可配置喚醒源)
  • Hardware security and access control (硬體安全和存取控制)
Register Categories (寄存器類別):
  • VERSION: Hardware version identification (硬體版本識別)
  • FRO16K: 16kHz oscillator control for battery backup (電池備份用16kHz振盪器控制)
  • WAKEUP: System wakeup source management (系統喚醒源管理)
  • LOCK: Configuration protection mechanisms (配置保護機制)
Power Management Integration (電源管理整合):
  • Seamless transition between main and battery power (主電源與電池電源間的無縫切換)
  • Optimized for coin cell battery operation (針對鈕扣電池操作優化)
  • Real-time clock and timer functionality support (實時時鐘和計時器功能支援)
警告
Some VBAT registers have lock mechanisms that require specific unlock sequences
Bit positions are hardware-defined and must not be modified
參閱
VBAT Register.h for complete register structure definitions
VBAT Mask.h for corresponding bit mask values
MCXA153 with integrated battery-backed domain
列舉值
VERID_FEATURE 

VERID - FEATURE.

Feature Specification Number - Feature Specification Number

VERID_MINOR 

VERID - MINOR.

Feature Specification Number - Minor Version Number

VERID_MAJOR 

VERID - MAJOR.

Feature Specification Number - Major Version Number

FROCTLA_FRO_EN 

FROCTLA - FRO_EN.

FRO16K Control A - FRO16K Enable

  • [0b0]Disable
  • [0b1]Enable
FROLCKA_LOCK 

FROCTLA - LOCK.

FRO16K Control A - Lock

  • [0b0]Do not block
  • [0b1]Block
FROCLKE_CLKE 

FROCTLA - CLKE.

FRO16K Control A - Clock Enable

WAKEUP_WAKEUPA_REG 

WAKEUP_WAKEUPA - REG.

Wakeup 0 Register A - Register

WAKLCKA_LOCK 

WAKLCKA - LOCK.

Wakeup Lock A - Lock

  • [0b0]Lock is disabled
  • [0b1]Lock is enabled