Daniel Campora
4d7fa05b43
cc3200: Improve Pin and UART implementation.
...
Deassign pins af before assigning. Make uart.any() return the
correct value everytime, this requires interrupts to be always
enabled.
2015-09-10 08:00:12 +02:00
Daniel Campora
f91f212d9f
cc3200: New UART API plus related test.
2015-09-10 07:59:47 +02:00
Daniel Campora
36821d095a
cc3200: Add alternate functions list to Pin object.
...
Also remove pin.high() and pin.low() methods.
2015-09-10 07:59:41 +02:00
Daniel Campora
e3f8777ee8
cc3200: Implement new Pin API.
2015-09-10 07:59:03 +02:00
Daniel Campora
7c1c9af5d4
cc3200: Code clean-up on pybpin.
2015-07-02 16:29:51 +02:00
Daniel Campora
8c8d7f3c60
cc3200: Clean up pyb.Pin
...
Remove unused and unneeded functions, also create Pin.get_config() that
returns the whole configuration of the pin.
This reduces code size by ~500 bytes.
2015-05-03 11:26:56 +02:00
Daniel Campora
3f42f32648
cc3200: Remove duplicated code from moduos.
...
Error reporting is also changed from detailed to terse, as with the
rest of the CC3200's modules. All this combined saves ~200 bytes.
2015-03-31 14:34:07 +02:00
Daniel Campora
4be44014ab
cc3200: Reenable active interrupts when waking from suspended mode.
2015-03-26 13:58:58 +01:00
danicampora
b2cb75efb7
cc3200: Remove double administration of callback objects.
2015-03-16 00:42:09 +01:00
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.
2015-03-11 17:00:33 +01:00
danicampora
73aee8da54
cc3200: Merge ExtInt class into Pin class.
...
Also add another method to change the pin's interrupt mode
on the fly.
2015-03-11 17:00:28 +01:00
danicampora
d226dd2f59
cc3200: Add preliminary low power deep sleep support.
2015-03-11 16:54:09 +01:00
danicampora
c020109cfa
cc3200: Add SD module and disable SD card support for the LAUNCHXL.
2015-02-21 14:19:40 +01:00
danicampora
99f3f6b5de
cc3200: Add I2C module. Only master mode is currently supported.
2015-02-13 17:54:04 +01:00
danicampora
53716fcc3e
cc3200: Rename GPIO module to Pin.
...
This change helps making the cc3200 port API a bit closer to stmhal.
The ramaining differences are due to the specific hardware details
of each chip. One feature that has been deliberately disabled is the
possibility to add custom names and custom pin mappings. Those
features are nice and convenient, but in this port, code size is a
major concern.
2015-02-09 20:01:54 +01:00