aboutsummaryrefslogtreecommitdiff
path: root/extmod/machine_pinbase.c
AgeCommit message (Collapse)Author
2016-06-19extmod/machine_pinbase: Fix nanbox build.Paul Sokolovsky
MP_ROM_PTR() is only for data structures initialization, code should use MP_OBJ_FROM_PTR().
2016-06-18extmod/machine_pinbase: Implementation of PinBase class.Paul Sokolovsky
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.