Skip to content
Snippets Groups Projects
Select Git revision
  • dualcore
  • ch3/leds
  • wip-bootstrap default
  • ch3/time
  • master
5 results

virtpin.h

Blame
    • Paul Sokolovsky's avatar
      751e3b7a
      extmod/virtpin: Initial implementation of open-ended C-level Pin interface. · 751e3b7a
      Paul Sokolovsky authored
      Using usual method of virtual method tables. Single virtual method,
      ioctl, is defined currently for all operations. This universal and
      extensible vtable-based method is also defined as a default MPHAL
      GPIO implementation, but a specific port may override it with its
      own implementation (e.g. close-ended, but very efficient, e.g. avoiding
      virtual method dispatch).
      751e3b7a
      History
      extmod/virtpin: Initial implementation of open-ended C-level Pin interface.
      Paul Sokolovsky authored
      Using usual method of virtual method tables. Single virtual method,
      ioctl, is defined currently for all operations. This universal and
      extensible vtable-based method is also defined as a default MPHAL
      GPIO implementation, but a specific port may override it with its
      own implementation (e.g. close-ended, but very efficient, e.g. avoiding
      virtual method dispatch).
    virtpin.h 1.55 KiB