Go to the documentation of this file.
38 #ifndef __DEV_ARM_WATCHDOG_SP805_HH__
39 #define __DEV_ARM_WATCHDOG_SP805_HH__
110 uint32_t
value(
void)
const;
136 #endif // __DEV_ARM_WATCHDOG_SP805_HH__
static constexpr uint32_t WDOGLOCK_MAGIC
If written into WdogLock, registers are unlocked for writes.
void restartCounter(void)
Restarts the counter to the current timeout interval.
bool integrationTestEnabled
Indicates if integration test harness is enabled.
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
bool resetEnabled
Indicates if reset behaviour is enabled when counter reaches 0.
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
void stopCounter(void)
Stops the counter when watchdog becomes disabled.
uint32_t value(void) const
Returns the current counter value.
bool enabled
Indicates if watchdog (counter and interrupt) is enabled.
bool writeAccessEnabled
Indicates if write access to registers is enabled.
const Params & params() const
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
uint64_t Tick
Tick count type.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
uint32_t persistedValue
Value as persisted when the watchdog is stopped.
Tick timeoutStartTick
Timeout start tick to keep track of the counter value.
void clearInt(void)
Clears any active interrupts.
void timeoutExpired(void)
Triggered when value reaches 0.
void serialize(CheckpointOut &cp) const override
Serialize an object.
EventFunctionWrapper timeoutEvent
Timeout event, triggered when the counter value reaches 0.
uint32_t timeoutInterval
Timeout interval (in cycles) as specified in WdogLoad.
std::ostream CheckpointOut
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
void sendInt(void)
Raises an interrupt.
Sp805(const Sp805Params ¶ms)
Generated on Sun Jul 30 2023 01:56:55 for gem5 by doxygen 1.8.17