コード例 #1
0
ファイル: Hal.cs プロジェクト: yisea123/MicroFrameworkPK_v4_3
        public Hal()
        {
            _battery             = new BatteryDriver();
            _com                 = new ComDriver();
            _serial              = new SerialDriver();
            _spi                 = new SpiDriver();
            _time                = new TimeDriver();
            _lcd                 = new LcdDriver();
            _gpio                = new GpioDriver();
            _events              = new EventsDriver();
            _usb                 = new UsbDriver();
            _memory              = new MemoryDriver();
            _sockets             = new SocketsDriver();
            _ssl                 = new SslDriver((SocketsDriver)_sockets);
            _i2c                 = new I2cDriver();
            _touchPanel          = new TouchPanelDriver();
            _fileSystem          = new FSDriver();
            _blockStorageDevices = new BlockStorageDriver();
            _watchdog            = new WatchdogDriver();

            _session           = new SessionDriver();
            _encryption        = new EncryptionDriver();
            _digest            = new DigestDriver();
            _signature         = new SignatureDriver();
            _keyManagement     = new KeyManagementDriver();
            _cryptokiObjectMgr = new CryptokiObjectMgrDriver();
            _random            = new RandomDriver();

            _updateProvider   = new UpdateProvider();
            _updateStorage    = new UpdateStorageProvider();
            _updateBackup     = new UpdateBackupProvider();
            _updateValidation = new UpdateValidationProvider();
        }
コード例 #2
0
ファイル: Hal.cs プロジェクト: yisea123/NETMF-LPC
 public Hal()
 {
     _battery             = new BatteryDriver();
     _com                 = new ComDriver();
     _serial              = new SerialDriver();
     _spi                 = new SpiDriver();
     _time                = new TimeDriver();
     _lcd                 = new LcdDriver();
     _gpio                = new GpioDriver();
     _events              = new EventsDriver();
     _usb                 = new UsbDriver();
     _memory              = new MemoryDriver();
     _sockets             = new SocketsDriver();
     _ssl                 = new SslDriver((SocketsDriver)_sockets);
     _i2c                 = new I2cDriver();
     _touchPanel          = new TouchPanelDriver();
     _fileSystem          = new FSDriver();
     _blockStorageDevices = new BlockStorageDriver();
     _watchdog            = new WatchdogDriver();
 }