Class ArchXT_VREF
Defined in File arch_xt_misc.h
Inheritance Relationships
Base Type
public VREF(Class VREF)
Class Documentation
-
class ArchXT_VREF : public VREF
Implementation of a voltage reference controller for XT core series.
Public Functions
-
explicit ArchXT_VREF(const ArchXT_VREFConfig &config)
-
virtual bool init(Device&) override
Virtual method called when the device is initialised. This is where the peripheral can allocate its I/O registers, interrupts or connect signals.
- Returns:
boolean indicates the success of all allocations.
-
virtual void reset() override
Virtual method called when the device is reset. Note that resetting I/O registers is only necessary here if their reset value is not zero.
-
virtual void ioreg_write_handler(reg_addr_t addr, const ioreg_write_t &data) override
Virtual method called when the CPU is writing a I/O register allocated by this peripheral. The value has already been written.
- Parameters:
addr – the register address in I/O space
value – the new register content
-
explicit ArchXT_VREF(const ArchXT_VREFConfig &config)