Пример #1
0
 protected SpiDevice(FtChannelConfig config, SpiConfiguration spiConfig)
 {
     _spiConfig = spiConfig ?? SpiConfiguration.ChannelZeroConfiguration;
     _cfg       = config;
     InitLibAndHandle();
 }
Пример #2
0
 public Maxim186(Maxim186Configuration adcConfig, FtChannelConfig config, SpiConfiguration spiConfig)
     : base(config, spiConfig)
 {
     _adcConfig = adcConfig;
 }
Пример #3
0
 protected SpiDevice(FtChannelConfig config, SpiConfiguration spiConfig)
 {
     _spiConfig = spiConfig ?? SpiConfiguration.ChannelZeroConfiguration;
     _cfg = config;
     InitLibAndHandle();
 }