Changes

257 bytes added ,  14:52, 4 November 2017
m
Line 1: Line 1:  
[[Category:Services]]
 
[[Category:Services]]
= SPI Service Names =
+
= SPI Services =
 
* "SPI::NOR" (used by cfg:NOR)
 
* "SPI::NOR" (used by cfg:NOR)
 
* "SPI::CD2" (used by [[Codec Services]])
 
* "SPI::CD2" (used by [[Codec Services]])
Line 6: Line 6:  
* "SPI::CS3"
 
* "SPI::CS3"
 
* "SPI::DEF"
 
* "SPI::DEF"
 +
 +
There can only be 5 sessions open total, with 1 per service. When there's already a session open for the target service(with session_count<5), SPI-module will wait for the original thread to terminate(triggered by the session closing), then start a new thread.
    
= SPI Service Commands =
 
= SPI Service Commands =
Line 19: Line 21:  
| Stubbed, only returns zero.
 
| Stubbed, only returns zero.
 
|-
 
|-
| 0x0003....
+
| 0x00030100
 
| ReadWriteDevice(u8 deviceid, ...)
 
| ReadWriteDevice(u8 deviceid, ...)
 
|-
 
|-
| 0x0004....
+
| 0x00040500
 
| ReadWriteDevice2(u8 deviceid, ...)
 
| ReadWriteDevice2(u8 deviceid, ...)
 
|-
 
|-
115

edits