.extresettype Property

Function:

Returns the type of external reset that has occurred on the system.

Syntax:

sys.extresettype as enum pl_sys_ext_reset_type

Returns:

  • 0-PL_SYS_EXT_RESET_TYPE_INTERNAL: The most recent reset was a self-reset.
  • 1-PL_SYS_EXT_RESET_TYPE_WATCHDOG: The most recent reset was caused by the watchdog timeout.
  • 2-PL_SYS_EXT_RESET_TYPE_POWERUP: The most recent reset was a power-up/power-down reset.
  • 3-PL_SYS_EXT_RESET_TYPE_BROWNOUT: The most recent reset was a brown-out reset. 4-PL_SYS_EXT_RESET_TYPE_RSTPIN . The most recent reset was initiated from the RST pin.

See Also:

---


Details

This property returns the type of external reset that has occurred on the system. The reset types are represented by an enumeration type, which indicates the source of the reset, such as a reset caused by the RST pin, watchdog timeout, power-on reset, or brown-out reset.


.extresettype Property

Details