1. 13 Oct, 2015 1 commit
    • Damien George's avatar
      stmhal: Allow to set bits resolution for DAC; 8 is default, can have 12. · b5c43be1
      Damien George authored
      This patch allows to configure the DAC resolution in the constructor and
      in the init function, eg:
      
      dac = DAC(1, bits=12).
      
      The default resolution is 8 bits for backwards compatibility.  The bits
      sets the maximum value accepted by write and write_timed methods, being
      2**bits - 1.
      
      When using write_timed with 12-bit resolution, the input buffer is
      treated as an unsigned half-word array, typecode 'H'.
      
      See PR #1130 for discussion.
      b5c43be1
  2. 12 Oct, 2015 7 commits
  3. 11 Oct, 2015 7 commits
  4. 10 Oct, 2015 1 commit
  5. 09 Oct, 2015 4 commits
  6. 08 Oct, 2015 9 commits
  7. 07 Oct, 2015 1 commit
  8. 06 Oct, 2015 3 commits
  9. 05 Oct, 2015 1 commit
  10. 04 Oct, 2015 1 commit
  11. 03 Oct, 2015 5 commits