_PinDriver Class Reference

yasimavr: ArchXT_TimerB::_PinDriver Class Reference
yasimavr
Loading...
Searching...
No Matches
ArchXT_TimerB::_PinDriver Class Reference
Inheritance diagram for ArchXT_TimerB::_PinDriver:
PinDriver

Public Member Functions

 _PinDriver (ctl_id_t per_id)
 
void set_drive (unsigned char d)
 
virtual Pin::controls_t override_gpio (pin_index_t, const Pin::controls_t &controls) override
 
- Public Member Functions inherited from PinDriver
 PinDriver (ctl_id_t id, pin_index_t pin_count)
 
virtual ~PinDriver ()
 
void set_enabled (bool enabled)
 
void set_enabled (pin_index_t index, bool enabled)
 
bool enabled (pin_index_t index) const
 
void update_pin_state (pin_index_t pin_index)
 
void update_pin_states ()
 
Wire::state_t pin_state (pin_index_t pin_index) const
 
Pin::controls_t gpio_controls (pin_index_t pin_index) const
 
 PinDriver (const PinDriver &)=delete
 
PinDriveroperator= (const PinDriver &)=delete
 
virtual void digital_state_changed (pin_index_t pin_index, bool state)
 

Additional Inherited Members

- Public Types inherited from PinDriver
typedef unsigned int pin_index_t
 

Constructor & Destructor Documentation

◆ _PinDriver()

ArchXT_TimerB::_PinDriver::_PinDriver ( ctl_id_t  per_id)
inlineexplicit

Member Function Documentation

◆ override_gpio()

virtual Pin::controls_t ArchXT_TimerB::_PinDriver::override_gpio ( pin_index_t  pin_index,
const Pin::controls_t controls 
)
inlineoverridevirtual

Stub called when a state resolution is taking place on a pin that the driver is controlling. The reimplementation should make a copy of the controls structure in argument, change its members according to the override state and return the result.

Parameters
pin_indexindex of the pin
controlspin controls as configured by the GPIO port controller
Returns
the controls to apply to the pin

Implements PinDriver.

◆ set_drive()

void ArchXT_TimerB::_PinDriver::set_drive ( unsigned char  d)
inline

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