![]() |
mFrame
|
MCXA153 周邊模組重設控制靜態工具類別 更多...
#include <Reset.h>
靜態公開方法(Static Public Methods) | |
| static void | setPeripheralReset (Control peripheral) |
| Assert reset to peripheral. | |
| static void | clearPeripheralReset (Control peripheral) |
| Clear reset to peripheral. | |
| static void | peripheralReset (Control peripheral) |
| Reset peripheral module. | |
| static void | releasePeripheralReset (Control peripheral) |
| Release peripheral module. | |
保護方法(Protected Methods) | |
| virtual | ~Reset (void) override=default |
| Destroy the object. | |
保護方法(Protected Methods) 繼承自 ufm::lang::NonInstantiable | |
| NonInstantiable (void)=delete | |
| 禁止實例化 NonInstantiable 類別 | |
| NonInstantiable (const NonInstantiable &)=delete | |
| 禁止複製建構函式 | |
| virtual | ~NonInstantiable (void) override=default |
| Destroy the Non Instantiable object. | |
| NonInstantiable & | operator= (const NonInstantiable &)=delete |
| NonInstantiable & | operator= (NonInstantiable &&)=delete |
額外的繼承成員 | |
公開方法(Public Methods) 繼承自 ufm::lang::Object | |
| void * | operator new (size_t n) |
| 使用運算子 new 分配記憶體 | |
| void * | operator new (size_t n, void *p) |
| 在指定記憶體上調用運算子 new | |
| virtual ufm::lang::Object & | getObject (void) override |
| 取得對應的 Object 物件 | |
| void | delay (int milliseconds) const |
| 延遲指定的毫秒數進行執行緒等待 | |
| bool | equals (Object *object) const |
| 判斷與另一物件是否為相同參照(指標型態比較) | |
| bool | equals (Object &object) const |
| 判斷與另一物件是否為相同參照(參照型態比較) | |
| void | wait (void) const |
| 使當前線程等待直到被通知 | |
| bool | wait (int timeout) const |
| 等待通知或超時 | |
| bool | yield (void) const |
| 讓執行緒讓渡控制權給同優先權的下一個執行緒 | |
| int | lock (void) const |
| 核心鎖定,鎖定期間禁止線程切換 | |
| int | unlock (void) const |
| 核心解鎖 | |
| ufm::sys::Thread * | currentThread (void) const |
| 取得當前執行緒指標 | |
| virtual int | hashcode (void) const |
| 返回對象的哈希碼值。支持這種方法是為了散列表,如HashMap提供的那樣。 | |
公開方法(Public Methods) 繼承自 ufm::lang::Interface | |
| virtual | ~Interface (void)=default |
| 虛擬析構函式 | |
MCXA153 周邊模組重設控制靜態工具類別
Reset 類別提供 MCXA153 微控制器周邊模組重設控制的完整操作介面。 此類別設計為靜態工具類別,無法實例化,所有功能均透過靜態函數提供, 用於管理系統中各個周邊模組的重設狀態,包括重設斷言、重設釋放、 模組重設和重設狀態管理等核心系統初始化和錯誤恢復功能。
主要功能模組包括:
周邊模組重設管理:
重設控制機制:
支援的周邊模組類型:
通訊介面模組:
計時器和 PWM 模組:
類比和混合信號模組:
數位 I/O 和控制模組:
系統和支援模組:
重設操作類型:
重設斷言 (Assert Reset):
重設釋放 (Release Reset):
完整重設 (Complete Reset):
系統初始化流程:
錯誤恢復流程:
Control 枚舉編碼:
與 MRCC 的關係:
程式設計模式:
使用範例:
|
static |
Clear reset to peripheral.
Clears reset signal to specified peripheral module, allows it to operate.
| peripheral | Clear reset to this peripheral. The enum argument contains encoding of reset register and reset bit position in the reset register. |
|
static |
|
inlinestatic |
Release peripheral module.
Release peripheral module.
| peripheral | Peripheral to release. The enum argument contains encoding of reset register and reset bit position in the reset register. |
|
static |
Assert reset to peripheral.
Asserts reset signal to specified peripheral module.
| peripheral | Assert reset to this peripheral. The enum argument contains encoding of reset register and reset bit position in the reset register. |