forked from M-Labs/artiq
parent
e8e1ccd4f1
commit
207ff918c7
|
@ -17,6 +17,12 @@ from artiq.coredevice.ttl import TTLOut
|
|||
from artiq.coredevice.spi2 import *
|
||||
|
||||
|
||||
# NAC3TODO work around https://git.m-labs.hk/M-Labs/nac3/issues/189
|
||||
@nac3
|
||||
class ValueError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
SPI_AD53XX_CONFIG = (0*SPI_OFFLINE | 1*SPI_END |
|
||||
0*SPI_INPUT | 0*SPI_CS_POLARITY |
|
||||
0*SPI_CLK_POLARITY | 1*SPI_CLK_PHASE |
|
||||
|
|
|
@ -10,6 +10,12 @@ from artiq.coredevice.urukul import *
|
|||
from artiq.coredevice.ttl import TTLOut
|
||||
|
||||
|
||||
# NAC3TODO work around https://git.m-labs.hk/M-Labs/nac3/issues/189
|
||||
@nac3
|
||||
class ValueError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
@nac3
|
||||
class AD9912:
|
||||
"""
|
||||
|
|
|
@ -20,6 +20,12 @@ from artiq.coredevice.spi2 import *
|
|||
from artiq.coredevice.adf5356_reg import *
|
||||
|
||||
|
||||
# NAC3TODO work around https://git.m-labs.hk/M-Labs/nac3/issues/189
|
||||
@nac3
|
||||
class ValueError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
SPI_CONFIG = (
|
||||
0 * SPI_OFFLINE
|
||||
|
|
|
@ -10,6 +10,12 @@ from artiq.coredevice.core import Core
|
|||
from artiq.coredevice.spi2 import *
|
||||
|
||||
|
||||
# NAC3TODO work around https://git.m-labs.hk/M-Labs/nac3/issues/189
|
||||
@nac3
|
||||
class ValueError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
SPI_CONFIG = (
|
||||
0 * SPI_OFFLINE
|
||||
| 0 * SPI_END
|
||||
|
|
|
@ -14,6 +14,13 @@ from artiq.coredevice.core import Core
|
|||
from artiq.coredevice.rtio import rtio_output, rtio_input_data
|
||||
|
||||
|
||||
# NAC3TODO work around https://git.m-labs.hk/M-Labs/nac3/issues/189
|
||||
@nac3
|
||||
class ValueError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
__all__ = [
|
||||
"SPI_DATA_ADDR", "SPI_CONFIG_ADDR",
|
||||
"SPI_OFFLINE", "SPI_END", "SPI_INPUT",
|
||||
|
|
|
@ -8,6 +8,13 @@ from artiq.coredevice.spi2 import *
|
|||
from artiq.coredevice.ttl import TTLOut
|
||||
|
||||
|
||||
# NAC3TODO work around https://git.m-labs.hk/M-Labs/nac3/issues/189
|
||||
@nac3
|
||||
class ValueError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
SPI_CONFIG = (0 * SPI_OFFLINE | 0 * SPI_END |
|
||||
0 * SPI_INPUT | 1 * SPI_CS_POLARITY |
|
||||
0 * SPI_CLK_POLARITY | 0 * SPI_CLK_PHASE |
|
||||
|
|
Loading…
Reference in New Issue