Class ArchXT_TimerA::_PinDriver

Nested Relationships

This class is a nested type of Class ArchXT_TimerA.

Inheritance Relationships

Base Type

Class Documentation

class _PinDriver : public PinDriver

Public Functions

inline explicit _PinDriver(ctl_id_t per_id)
inline void set_drive(pin_index_t index, unsigned char d)
inline virtual Pin::controls_t override_gpio(pin_index_t index, const Pin::controls_t &controls) override

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_index – index of the pin

  • controls – pin controls as configured by the GPIO port controller

Returns:

the controls to apply to the pin