summaryrefslogtreecommitdiff
path: root/stmhal/i2c.c
AgeCommit message (Expand)Author
2017-05-06stmhal: Convert all module and method tables to use MP_ROM macros.Damien George
2017-03-31stmhal/i2c: Clean the cache so that I2C DMA works on F7 MCUs.Damien George
2017-03-31stmhal: Move L4/F7 I2C timing constants from mpconfigboard.h to i2c.c.Damien George
2017-03-02stmhal: Use mp_hal_delay_ms instead of HAL_Delay.Damien George
2017-01-04all: Consistently update signatures of .make_new and .call methods.Paul Sokolovsky
2016-11-25stmhal/i2c: Expose the pyb_i2c_obj_t struct and some relevant functions.Damien George
2016-11-25stmhal/i2c: Add support for I2C4 hardware block on F7 MCUs.Damien George
2016-11-22stmhal/i2c: Remove use of legacy I2C_NOSTRETCH_DISABLED option.Damien George
2016-11-21stmhal/i2c: Use the HAL's I2C IRQ handler for F7 and L4 MCUs.Damien George
2016-11-16stmhal/i2c: provide custom IRQ handlersKrzysztof Blazewicz
2016-11-16stmhal/i2c: handle I2C IRQsKrzysztof Blazewicz
2016-11-11stmhal: Rename mp_hal_pin_set_af to _config_alt, to simplify alt config.Damien George
2016-11-11stmhal/i2c: Reset the I2C peripheral if there was an error on the bus.Damien George
2016-11-11stmhal/i2c: Add option to I2C to enable/disable use of DMA transfers.Damien George
2016-10-18stmhal: Refactor pin usage to use mp_hal_pin API.Damien George
2016-05-05stmhal: L4: Adapt DMA to be able to support STM32L4 MCU series.Tobias Badertscher
2016-05-02stmhal, cc3200: Change i2c.scan() method to scan addresses 0x08-0x77.Damien George
2016-02-10stmhal: Add a function for setting the pin alternate functionDave Hylands
2016-01-11py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.Damien George
2015-12-02stmhal: Put all DMA channel & stream definitions in dma.hDave Hylands
2015-11-14stmhal/modmachine: Initial attempt to add I2C & SPI classes.Paul Sokolovsky
2015-10-31all: Add py/mphal.h and use it in all ports.Damien George
2015-08-05stmhal: Enable I2C support for F7 MCUs.Dave Hylands
2015-08-03stmhal: Factor GPIO clock enable logic into mp_hal_gpio_clock_enable.Damien George
2015-07-30stmhal: Add STM32F7DISC and associated changes.Dave Hylands
2015-06-24stmhal/dma.c: Modify dma_init() to accept init struct as an argumentblmorris
2015-06-22stmhal: Reorganise code for parsing keyword args in I2C methods.Damien George
2015-06-10stmhal: Make I2C use DMA when interrupts are enabled.Damien George
2015-05-28stmhal: Fix off-by-one error when checking for valid I2C and SPI bus.Damien George
2015-05-27stmhal: Allow to name I2C busses, and give them names for pyboard.Damien George
2015-04-18stmhal: Make I2C busses and their pins configurable in mpconfigboard.h.Damien George
2015-04-16py: Overhaul and simplify printf/pfenv mechanism.Damien George
2015-01-21py: Remove mp_obj_str_builder and use vstr instead.Damien George
2015-01-01stmhal: Prefix includes with py/; remove need for -I../py.Damien George
2014-10-23stmhal: Use OSError with POSIX error code for HAL errors.Damien George
2014-08-30Change some parts of the core API to use mp_uint_t instead of uint/int.Damien George
2014-07-21Change boolean 'use_16bit_addr' to int 'addr_size', can be either 8 or 16 bit...blmorris
2014-07-11Incorporate stylistic changes suggested by @dhylandsblmorris
2014-07-11Add keyword argument 'memaddr_use_16b' to i2c.mem_read and mem_write methodsblmorris
2014-07-03Rename machine_(u)int_t to mp_(u)int_t.Damien George
2014-06-19Prefix ARRAY_SIZE with micropython prefix MP_Emmanuel Blot
2014-05-04stmhal: Document physical pins for SPI, I2C, UART busses.Damien George
2014-05-03Add license header to (almost) all files.Damien George
2014-05-03stmhal: Fix typos in class documentation.Damien George
2014-05-02unix,stmhal: Make "mpconfig.h" be first included, as other headers depend on it.Paul Sokolovsky
2014-04-29stmhal: Add documentation in comments, and script to generate HTML.Damien George
2014-04-26Simplify names for argcheck.c / arg parsing.Damien George
2014-04-26Add ARRAY_SIZE macro, and use it where possible.Damien George
2014-04-21stmhal: Add some documentation to I2C, SPI and USART modules.Damien George
2014-04-21stmhal, SPI and I2C: Improvements to functionality and consistency.Damien George