Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: whitequark/glasgow
base: e2e42d8d424a
Choose a base ref
...
head repository: whitequark/glasgow
compare: d20f0d490a9d
Choose a head ref
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on Mar 4, 2019

  1. applet..spi_master: add delay commands.

    These can be very useful if the SPI device requires specific timings;
    in particular, for small delays (e.g. 10 us between commands) it is
    much more efficient to implement these as subtarget commands than it
    would be to wait on the host.
    
    The synchronize method is useful for e.g. the following pattern:
    
      await spi_iface.write(...)
      await spi_iface.delay_ms(...)
      await device.write_register(...)
    
    or in other words, in any case that SPI delays should have a defined
    phase relationship to any other actions.
    whitequark committed Mar 4, 2019
    Copy the full SHA
    c376c00 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    d20f0d4 View commit details
    Browse the repository at this point in the history