| Electronic Components Datasheet Search |
|
ASX340AT Datasheet(PDF) 23 Page - ON Semiconductor |
|
|
|||||||||||||||||||||||||||||
ASX340AT Datasheet(HTML) 23 Page - ON Semiconductor |
|
23 / 54 page ![]() ASX340AT www.onsemi.com 23 Host Command Process Flow Figure 21. Interface Structure Read Command register Doorbell bit clear ? No Command has parameters ? Yes Write parameters Yes Write command No Host could insert an optional delay here Host could insert an optional delay here Wait for a response? Read Command register Doorbell bit clear? Yes No parameters ? Yes Parameter Pool Yes contains response code Done No No At this point Command Register Issue Command to Parameter Pool to Command register Read response parameters from Command has response COMMAND FLOW The host issues a command by writing (through a two-wire interface bus) to the command register. All commands are encoded with bit 15 set, which automatically generates the host command (doorbell) interrupt to the microprocessor. Assuming initial conditions, the host first writes the command parameters (if any) to the parameters pool (in the command handler’s logical page), then writes the command to command register. The firmware interrupt handler then signals the Command Handler task to process the command. If the host wishes to determine the outcome of the command, it must poll the command register waiting for the doorbell bit to be cleared. This indicates that the firmware completed processing the command. When the doorbell bit is cleared, the contents of the command register indicate the command’s result status. If the command generated response parameters, the host can now retrieve these from the parameters pool. NOTES: The host must not write to the parameters pool, nor issue another command, until the previous command completes. This is true even if the host does not care about the result of the previous command. Therefore, the host must always poll the command register to determine the state of the doorbell bit, and ensure the bit is cleared before issuing a command. For a complete command list and further information consult the Host Command Interface Specification. An example of how (using DevWare) a command may be initiated in the form of a “Preset” follows. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |