Damien George
1c35270667
cc3200: Remove util/std.h, can just use stdio.h instead.
8 years ago
Paul Sokolovsky
eac22e29a5
all: Consistently update signatures of .make_new and .call methods.
Otherwise, they serve reoccurring source of copy-paste mistakes and
breaking nanbox build.
8 years ago
Damien George
50ddaafa6a
cc3200: Use mp_raise_XXX helper functions to reduce code size.
Reduces code size by 632 bytes.
8 years ago
Damien George
731f359292
all: Add py/mphal.h and use it in all ports.
py/mphal.h contains declarations for generic mp_hal_XXX functions, such
as stdio and delay/ticks, which ports should provide definitions for. A
port will also provide mphalport.h with further HAL declarations.
9 years ago
Daniel Campora
dbdcb58d64
cc3200: New irq API, affects all classes that provide the irq method.
9 years ago
Daniel Campora
f91f212d9f
cc3200: New UART API plus related test.
9 years ago
Daniel Campora
598aad2140
cc3200: Fix bug in pybsleep remove.
9 years ago
Daniel Campora
ea5061e409
cc3200: Improve callback API.
Rename "wakes" param to "wake_from" and make "value" an object
instead of an integer.
9 years ago
Daniel Campora
fa655ce196
cc3200: Improve interrupt handling and fix bug in HAL_Delay().
9 years ago
Daniel Campora
c27dc38e85
cc3200: Re-name 'intmode' to 'mode' in the callback API.
10 years ago
Daniel Campora
8e611e8414
cc3200: Add Timer module. Supports free running, PWM and capture modes.
10 years ago
Daniel Campora
4be44014ab
cc3200: Reenable active interrupts when waking from suspended mode.
10 years ago
Daniel Campora
2d717ad97a
cc3200: Add callback support to the UART for RX interrupts.
10 years ago
danicampora
c1c23e2f6a
cc3200: Remove superfluous code in pybsleep.
10 years ago
danicampora
b2cb75efb7
cc3200: Remove double administration of callback objects.
10 years ago
danicampora
04749e677f
cc3200: Allow separate selection of the power mode in Pin callbacks.
10 years ago
danicampora
9e44383e3f
cc3200: Add power management framework. Add mpcallback class.
Supports suspend and hibernate modes. Waking is possible throug GPIO
and WLAN.
The mpcallback class is generic and can be reused by other classes.
10 years ago