xtensa_wwdt_config 5 Model-to-Simulator Interfaces
API Reference Manual  /  4 Model-to-Model Interfaces  / 

xtensa_wwdt_faultinfo

Description
This interface is implemented by the wwdt timer allowing the SoC device to read out the status register. On real hardware the Wwdt_faultInfo is an eight bit output towards the device. However, in a simulator it makes more sense to allow the SoC-device to read the status when needed, instead of pushing out the new contents when bits changes. The uint8 value returned is a bitmask with the bits defined in xtensa_wwdt_fault_info_t.
typedef enum {
        Wwdt_Info_Derr_Inj_Dis = 1 << 7,
        Wwdt_Info_Tfv_Err      = 1 << 6,
        Wwdt_Info_Err_Inj      = 1 << 5,
        Wwdt_Info_Oor_Exp      = 1 << 4,
        Wwdt_Info_Oor_Kick     = 1 << 3,
        Wwdt_Info_Ill_Kick     = 1 << 2,
        Wwdt_Info_Cnt_Exp      = 1 << 1,
        Wwdt_Fault_Asserted    = 1 << 0,
} xtensa_wwdt_faultinfo_t;

Execution Context
Cell Context for all methods.

xtensa_wwdt_config 5 Model-to-Simulator Interfaces