pebble
  • Tutorials
  • Get the SDK
  • Guides
  • Documentation
  • PebbleOS
  • Mobile App
  • Examples
  • Index 01
  • Community
  • Blog
  • More
Privacy
Cookies
Publish

PebbleOS

  • Overview
  • Start here
    • Getting started guide
  • Pebble Firmware
    • Overview
    • Playground
    • Application SDK
  • Development
    • The pbl CLI
    • Build system
    • Samples
    • Emulator and simulator
    • Testing
    • Debugging
    • Conventions
  • System
    • Architecture overview
    • Kernel
    • Drivers
      • Device model
      • Simulators
      • Buses and I/O
      • Clocks, power and timing
      • Memory and storage
      • Display and graphics
      • Sensors and input
      • Audio and haptics
      • Power supply
      • System
    • Subsystems
    • Libraries
    • Third-party
  • Hardware
    • Boards
    • Board Add-ons
    • Programmers
  • Community
    • Contribution Guidelines
  • Reference
    • Reference
    • Kconfig options

Reset cause

A reset cause is the block that latches why the system last reset, such as the power or clock controller of the SoC. The device reads the cause when it comes up, so it stays available after the latch is cleared for the next reset.

Directory

drivers/reset_cause

Header

pbl/drivers/reset_cause.h

Kconfig

CONFIG_RESET_CAUSE, enabled by the application

Role

RESET_CAUSE

API

API reference

Drivers

Driver

Compatible

Kconfig

Nordic nRF52 POWER

nordic,nrf52832-clock

CONFIG_RESET_CAUSE_NRF52_POWER

SiFli SF32LB PMUC

sifli,sf32lb52-pmuc, sifli,sf32lb57-pmuc

CONFIG_RESET_CAUSE_SF32LB_PMUC

ST STM32H7 RCC

st,stm32h743-rcc

CONFIG_RESET_CAUSE_STM32H7_RCC

QEMU

qemu,pebble-sysctrl

CONFIG_RESET_CAUSE_QEMU

Generated from PebbleOS f1984a001. This page is maintained in the pebbleos repository: docs/drivers/reset_cause.md.