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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e2e42d8d424a
Choose a base ref
...
head repository: whitequark/glasgow
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
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
  2. Copy the full SHA
    d20f0d4 View commit details
1 change: 1 addition & 0 deletions software/glasgow/applet/all.py
Original file line number Diff line number Diff line change
@@ -28,6 +28,7 @@
from .sensor.bmp280 import SensorBMP280Applet

from .display.hd44780 import DisplayHD44780Applet
from .display.pdi import DisplayPDIApplet

from .audio.dac import AudioDACApplet
from .audio.yamaha_opl import AudioYamahaOPLApplet
Loading