Return to previous page Return to menu Go to next page

2. Reference

2.1 Function list

 Function 
 Function name 
 Number 
 Initialize debug environment 
 DBG_Initial 
 1 
 Debug screen display ON 
 DBG_DisplayOn 
 2 
 Debug screen display OFF 
 DBG_DisplayOff 
 3 
 Clear debug screen 
 DBG_ClearScreen 
 4 
 Debug screen cursor set 
 DBG_SetCursol 
 5 
 Display text on debug screen 
 DBG_Printf 
 6 
 Keyboard processing with software keyboard 
 DBG_GetKeyStr 
 7 
 Simple debugging 
 DBG_Monitor 
 8 

2.2 Function specification

  Title  
Function specifications
  Function  
Initialize debug environment
  Function Name  
DBG_Initial
No
1

 
format void DBG_Initial (Uint16 * PadData, Rgb16 charColor, Rgb16 backColor)

Input apPadData: Dedicated pad data pointer B acquired using the peripheral library in the V-Blank user routine Specify the pad data area where the pad data is set. In addition, . Set the data in reverse 0 or 1. . charColor: Specifies the display character color in 16-bit RGB. : backColor: Specifies the color of the back screen for display in 16-bit RGB. If you specify 0, the color is transparent. Output None Function value None Function Debug support library initialization and program exception interrupt vector below Set an entry for the gram error display routine.

      • General illegal instruction interrupt
      • Slot illegal instruction interrupt
      • CPU address error interrupt
      • DMA address error interrupt
Program error display routine, when an error occurs, the above error cause and current registry Displays the contents of and , and passes the control to the simple monitor. Remarks Library users must first execute.


Return to previous page Return to menu Go to next page