Class ArchAVR_Fuses
Defined in File arch_avr_nvm.h
Inheritance Relationships
Base Type
public Peripheral(Class Peripheral)
Class Documentation
-
class ArchAVR_Fuses : public Peripheral
Implementation of a fuse NVM peripheral for AVR series.
The purpose of this controller is to use the values of the fuses to configure the section access control flags on a device reset.
Public Functions
-
explicit ArchAVR_Fuses(const ArchAVR_FusesConfig &config)
-
virtual bool init(Device &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 bool ctlreq(ctlreq_id_t req, ctlreq_data_t *data) override
Virtual method called for a CTL request. The method must return true if the request has been processed.
-
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.
-
explicit ArchAVR_Fuses(const ArchAVR_FusesConfig &config)