Open cisen opened 4 years ago
SVC 0x3 ; #调用3 号系统服务
驱动编号,用于svc订阅
// capsules\src\driver.rs pub enum NUM { // Base Alarm = 0x00000, Console = 0x00001, Led = 0x00002, Button = 0x00003, Gpio = 0x00004, Adc = 0x00005, Dac = 0x00006, AnalogComparator = 0x00007, // Kernel Ipc = 0x10000, // HW Buses Spi = 0x20001, UsbUser = 0x20005, I2cMasterSlave = 0x20006, // Radio BleAdvertising = 0x30000, Ieee802154 = 0x30001, Udp = 0x30002, // Cryptography Rng = 0x40001, Crc = 0x40002, I2cMaster = 0x40006, // Storage AppFlash = 0x50000, NvmStorage = 0x50001, SdCard = 0x50002, // Sensors Temperature = 0x60000, Humidity = 0x60001, AmbientLight = 0x60002, NINEDOF = 0x60004, // Sensor ICs Tsl2561 = 0x70000, Tmp006 = 0x70001, Lps25hb = 0x70004, // Other ICs Ltc294x = 0x80000, Max17205 = 0x80001, Pca9544a = 0x80002, GpioAsync = 0x80003, Nrf51822Serialization = 0x80004, // Misc Buzzer = 0x90000, }
Tock
驱动编号,用于svc订阅