FastSemihosting.h File Reference

Go to the source code of this file.

Functions

void SuspendFastSemihostingPolling ()
 Temporarily stops VisualGDB from checking whether new semihosting data is available. More...
 
void ResumeFastSemihostingPolling ()
 Resumes the semihosting pooling previously suspended by SuspendFastSemihostingPolling. More...
 
int WriteToFastSemihostingChannel (unsigned char channel, const void *pBuffer, int size, int writeAll)
 Do not call directly. Enable the Redirect printf() to fast semihosting option instead and use regular printf(). More...
 
void InitializeFastSemihosting ()
 Do not call directly. More...
 

Detailed Description

Provides API used for fast semihosting

Normally, you do not need to include this file, or call any functions from it. Simply enable the VisualGDB Project Properties -> Embedded Frameworks -> Semihosting -> Redirect printf() to fast semihosting option and use the regular printf() function to output data to VisualGDB.

Function Documentation

void InitializeFastSemihosting ( )

Do not call directly.

Do not call this explicitly, unless you want VisualGDB to set global variables like s_FastSemihostingInitialized.

void ResumeFastSemihostingPolling ( )

Resumes the semihosting pooling previously suspended by SuspendFastSemihostingPolling.

void SuspendFastSemihostingPolling ( )

Temporarily stops VisualGDB from checking whether new semihosting data is available.

This function can be used to stop VisualGDB from reading the target memory in anticipation of new semihosting output. Use it to allocate the entire memory reading bandwidth to other tasks (e.g. Live Variables).

int WriteToFastSemihostingChannel ( unsigned char  channel,
const void *  pBuffer,
int  size,
int  writeAll 
)

Do not call directly. Enable the Redirect printf() to fast semihosting option instead and use regular printf().