adf5355: style

This commit is contained in:
Robert Jördens 2020-01-20 13:09:13 +01:00
parent 9368c26d1c
commit 7ab0282234
1 changed files with 3 additions and 6 deletions

View File

@ -9,12 +9,9 @@ on Mirny-style prefixed SPI buses.
# https://www.analog.com/media/en/technical-documentation/user-guides/EV-ADF5356SD1Z-UG-1087.pdf # https://www.analog.com/media/en/technical-documentation/user-guides/EV-ADF5356SD1Z-UG-1087.pdf
from numpy import int32 from artiq.language.core import kernel, delay
from artiq.language.units import us
from artiq.language.core import (kernel, portable, delay_mu, delay, now_mu, from artiq.coredevice import spi2 as spi
at_mu)
from artiq.language.units import ns, us
from artiq.coredevice import spi2 as spi, mirny
SPI_CONFIG = (0*spi.SPI_OFFLINE | 0*spi.SPI_END | SPI_CONFIG = (0*spi.SPI_OFFLINE | 0*spi.SPI_END |
0*spi.SPI_INPUT | 1*spi.SPI_CS_POLARITY | 0*spi.SPI_INPUT | 1*spi.SPI_CS_POLARITY |