mFrame
載入中...
搜尋中...
無符合項目
Reset

No Reset Control Available.

No Reset Control AvailableIndicates that reset control is not available for a particular peripheral or system component. This value (0xFFFF) serves as a sentinel to identify peripherals that cannot be individually reset through the reset controller.

無重置控制可用,表示特定外設無法單獨重置

Usage:

Implementation Considerations:
  • Reset controller should check for this value and handle appropriately
  • May indicate peripherals that are reset only during system reset
  • Some critical system components may use this to prevent accidental reset
  • Could represent peripherals that are always active or have special reset requirements

    Availability Check:

    bool can_reset_peripheral(Control peripheral) {
    return peripheral != Control::NOT_AVAIL;
    }
    void safe_reset_peripheral(Control peripheral) {
    if (can_reset_peripheral(peripheral)) {
    reset_ctrl.assert_reset(peripheral);
    reset_ctrl.release_reset(peripheral);
    } else {
    // Handle non-resettable peripheral
    handle_non_resettable_peripheral(peripheral);
    }
    }
警告
Do Not Use for Reset Operations:
  • This value should never be used in actual reset control operations
  • Always check for this value before attempting reset
  • May indicate system-critical components that should not be reset