summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/machine_pinbase.c
Commit message (Collapse)AuthorAge
* extmod/machine_pinbase: Fix nanbox build.Paul Sokolovsky2016-06-19
| | | | | MP_ROM_PTR() is only for data structures initialization, code should use MP_OBJ_FROM_PTR().
* extmod/machine_pinbase: Implementation of PinBase class.Paul Sokolovsky2016-06-18
Allows to translate C-level pin API to Python-level pin API. In other words, allows to implement a pin class and Python which will be usable for efficient C-coded algorithms, like bitbanging SPI/I2C, time_pulse, etc.