PebbleOS v4.47.0-1312-gf1984a001
Loading...
Searching...
No Matches
pbl_reset_cause_ops Struct Reference

Reset cause driver operations. More...

#include <reset_cause.h>

Data Fields

int(* read )(const struct pbl_reset_cause *rc, pbl_reset_cause_t *causes)
 Read the causes latched by the hardware, as PBL_RESET_CAUSE_* flags.
 
int(* clear )(const struct pbl_reset_cause *rc)
 Clear the causes latched by the hardware.
 

Detailed Description

Reset cause driver operations.

Field Documentation

◆ clear

int(* pbl_reset_cause_ops::clear) (const struct pbl_reset_cause *rc)

Clear the causes latched by the hardware.

◆ read

int(* pbl_reset_cause_ops::read) (const struct pbl_reset_cause *rc, pbl_reset_cause_t *causes)

Read the causes latched by the hardware, as PBL_RESET_CAUSE_* flags.


The documentation for this struct was generated from the following file: