English
Language : 

ASX340AT_16 Datasheet, PDF (24/54 Pages) ON Semiconductor – 1/4‐inch Color CMOS NTSC/PAL Digital Image SOC
ASX340AT
Issue the SYSMGR_SET_STATE Command
All DevWare presets supplied by ON Semiconductor poll
and test the doorbell bit after issuing the command.
Therefore there is no need to check if the doorbell bit is clear
before issuing the next command.
# Set the desired next state in the parameters pool(SYS_STATE_ENTER_CONFIG_CHANGE)
REG= 0xFC00, 0x2800 // CMD_HANDLER_PARAMS_POOL_0
# Issue the HC_SYSMGR_SET_STATE command
REG= 0x0040, 0x8100 // COMMAND_REGISTER
# Wait for the FW to complete the command (clear the Doorbell bit)
POLL_FIELD= COMMAND_REGISTER, DOORBELL,!=0, DELAY=10, TIMEOUT=100
# Check the command was successful
ERROR_IF= COMMAND_REGISTER, HOST_COMMAND,!=0, ”Set State command failed”,
Summary of Host Commands
Table13 through Table 21 show summaries of the host
commands. The commands are divided into the following
sections:
• System Manager
• Overlay
• GPIO
• Flash Manager
• Sequencer
• Patch Loader
• Miscellaneous
• Calibration Stats
Following is a summary of the Host Interface commands.
The description gives a quick orientation. The “Type”
column shows if it is an asynchronous or synchronous
command. For a complete list of all commands including
parameters, consult the Host Command Interface
Specification document.
TABLE 16. SYSTEM MANAGER COMMANDS
System Manager
Host Command
Value
Set State
0x8100
Get State
0x8101
Type
Synchronous
Synchronous
Description
Request the system enter a new state
Get the current state of the system
TABLE 17. OVERLAY HOST COMMANDS
Overlay Host
Command
Value
Enable Overlay
0x8200
Get Overlay State
0x8201
Set Calibration
0x8202
Set Bitmap Property
0x8203
Get Bitmap Property
0x8204
Set String Property
0x8205
Load Buffer
0x8206
Load Status
0x8207
Write Buffer
0x8208
Read Buffer
0x8209
Enable Layer
0x820A
Get Layer Status
0x820B
Set String
0x820C
Type
Synchronous
Synchronous
Synchronous
Synchronous
Synchronous
Synchronous
Asynchronous
Synchronous
Synchronous
Synchronous
Synchronous
Synchronous
Synchronous
Description
Enable or disable the overlay subsystem
Retrieve the state of the overlay subsystem
Set the calibration offset
Set a property of a bitmap
Get a property of a bitmap
Set a property of a character string
Load an overlay buffer with a bitmap (from Flash)
Retrieve status of an active load buffer operation
Write directly to an overlay buffer
Read directly from an overlay buffer
Enable or disable an overlay layer
Retrieve the status of an overlay layer
Set the character string
www.onsemi.com
24