micropython/stmhal
Paul Sokolovsky 16d42368a6 stmhal/modmachine: Initial attempt to add I2C & SPI classes.
In new hardware API, these classes implement master modes of interfaces,
and "mode" parameter is not accepted. Trying to implement new HW API
in terms of older pyb module leaves variuos corner cases:

In new HW API, I2C(1) means "I2C #1 in master mode" (? depends on
interpretation), while in old API, it means "I2C #1, with no settings
changes".

For I2C class, it's easy to make mode optional, because that's last
positional param, but for SPI, there's "baudrate" after it (which
is inconsistent with I2C, which requires "baudrate" to be kwonly-arg).
2015-11-14 16:14:08 +02:00
..
boards
cmsis
hal
usbdev
usbhost
.gitignore
Makefile lib/utils/printf: Move from stmhal/ . 2015-11-10 18:58:58 +02:00
accel.c
accel.h
adc.c
adc.h
autoflash
bufhelper.c
bufhelper.h
can.c
can.h
dac.c
dac.h
diskio.c stmhal: FatFS configuration moved to the library folder. 2015-11-08 22:21:17 +00:00
dma.c
dma.h
extint.c
extint.h
ffconf.c stmhal: FatFS configuration moved to the library folder. 2015-11-08 22:21:17 +00:00
file.c
file.h
flash.c
flash.h
font_petme128_8x8.h
fsusermount.c
fsusermount.h
gccollect.c
gccollect.h
gchelper.s
help.c
i2c.c stmhal/modmachine: Initial attempt to add I2C & SPI classes. 2015-11-14 16:14:08 +02:00
i2c.h
import.c
input.c
irq.c
irq.h
lcd.c
lcd.h
led.c
led.h
lexerfatfs.c
main.c lib/pyexec: Move header pyexec.h from stmhal directory. 2015-11-09 13:13:09 +00:00
make-stmconst.py stmhal: Add missing regex property for parsing header comments 2015-11-06 23:32:55 +00:00
memory.h
modmachine.c stmhal/modmachine: Initial attempt to add I2C & SPI classes. 2015-11-14 16:14:08 +02:00
modmachine.h
modnetwork.c
modnetwork.h
modnwcc3k.c
modnwwiznet5k.c
modpyb.c lib/pyexec: Move header pyexec.h from stmhal directory. 2015-11-09 13:13:09 +00:00
modstm.c
moduos.c
moduselect.c stmhal/moduselect: Expose POLLIN/OUT/ERR/HUP constants. 2015-11-09 22:10:31 +02:00
modusocket.c
modutime.c
mpconfigport.h stmhal: FatFS configuration moved to the library folder. 2015-11-08 22:21:17 +00:00
mpconfigport.mk
mphalport.c
mphalport.h
pendsv.c
pendsv.h
pin.c
pin.h
pin_defs_stmhal.c
pin_defs_stmhal.h
pin_named_pins.c
portmodules.h
pybcdc.inf_template
pybioctl.h stmhal/moduselect: Expose POLLIN/OUT/ERR/HUP constants. 2015-11-09 22:10:31 +02:00
pybstdio.c
qstrdefsport.h stmhal/moduselect: Expose POLLIN/OUT/ERR/HUP constants. 2015-11-09 22:10:31 +02:00
rng.c
rng.h
rtc.c stmhal: Fix RTC code to work on the F7 2015-11-07 09:42:26 -08:00
rtc.h
sdcard.c
sdcard.h
servo.c
servo.h
spi.c
spi.h
startup_stm32.S
stm32_it.c stmhal: Print more information at HardFault time. 2015-11-07 13:59:00 +00:00
stm32_it.h
storage.c
storage.h
system_stm32.c
systick.c
systick.h
timer.c
timer.h
uart.c
uart.h
usb.c
usb.h
usbd_cdc_interface.c
usbd_cdc_interface.h
usbd_conf.c
usbd_conf.h
usbd_desc.c
usbd_desc.h
usbd_msc_storage.c
usbd_msc_storage.h
usrsw.c
usrsw.h