1. 21 Apr, 2014 3 commits
    • Damien George's avatar
      stmhal: Rename USART to UART. · 75337003
      Damien George authored
      It's really a UART because there is no external clock line (and hence no
      synchronous ability, at least in the implementation of this module).
      USART should be reserved for a module that has "S"ynchronous capabilities.
      
      Also, UART is shorter and easier to type :)
      75337003
    • Damien George's avatar
    • Damien George's avatar
      stmhal: Improve USART class, to be more like SPI and I2C. · 3771a097
      Damien George authored
      The three classes I2C, SPI and USART now have a fairly uniform (Python)
      API.  All are constructed, initialised and deinitialised in the same
      way.  They can have most of their parameters set, using keyword arguments.
      All have send and recv (although slightly different with I2C requiring an
      address in master mode).  recv can do inplace receiving (ie store the
      data in a previously-created bytearray).
      
      It's just polling mode at the moment, but interrupt and DMA would be
      nice to add.
      3771a097
  2. 20 Apr, 2014 4 commits
  3. 19 Apr, 2014 8 commits
  4. 18 Apr, 2014 7 commits
  5. 17 Apr, 2014 5 commits
  6. 16 Apr, 2014 10 commits
  7. 15 Apr, 2014 3 commits