Skip to content
Snippets Groups Projects
Select Git revision
  • dualcore
  • ch3/leds
  • wip-bootstrap default
  • ch3/time
  • master
5 results

pybi2c.c

Blame
    • Damien George's avatar
      9d7c5373
      cc3200/mods/pybi2c: Make readfnom_mem_into/writeto_mem return None. · 9d7c5373
      Damien George authored
      This aligns the I2C class to match the standard machine.I2C API.
      
      Note that this is a (small) breaking change to the existing cc3200 API.
      The original API just returned the size of the input buffer so there's no
      information lost by this change.  To update scripts users should just use
      the size of the buffer passed to these functions to get the number of bytes
      that are read/written.
      9d7c5373
      History
      cc3200/mods/pybi2c: Make readfnom_mem_into/writeto_mem return None.
      Damien George authored
      This aligns the I2C class to match the standard machine.I2C API.
      
      Note that this is a (small) breaking change to the existing cc3200 API.
      The original API just returned the size of the input buffer so there's no
      information lost by this change.  To update scripts users should just use
      the size of the buffer passed to these functions to get the number of bytes
      that are read/written.