Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: FreeMASTER_HelloWorld FreeMASTER_HelloWorld2 FreeMASTER_HelloWorld3
Fork of freemaster_lib by
Diff: class/freemaster_class.h
- Revision:
- 8:17470feaa6be
- Parent:
- 4:256c3ffc6f40
- Child:
- 11:d1de61dc3766
--- a/class/freemaster_class.h Wed May 14 14:34:10 2014 +0000 +++ b/class/freemaster_class.h Thu May 15 08:52:08 2014 +0000 @@ -65,6 +65,31 @@ /** Catch initialized variables into recorder buffer. */ void Recorder(void); + + /** Triggert sampling of the recorder. + */ + void TriggerRec(void); + + /** This function can be used to detect if any Application Command is waiting to be processed by the application. + */ + void GetAppCmd(void); + + /** This function can be used to retrieve the Application Command data. + */ + FMSTR_APPCMD_PDATA GetAppCmdData(FMSTR_SIZE* pDataLen); + + /** This function can be used to register a given function as a callback handler for an Application Command. + */ + FMSTR_BOOL RegisterAppCmdCall(FMSTR_APPCMD_CODE nAppCmdCode, FMSTR_PAPPCMDFUNC pCallbackFunc); + + /** This function is used when Application Command processing is finished in the application. + */ + void AppCmdAck(FMSTR_APPCMD_RESULT nResultCode); + + /** This function can be used before the Application Command processing is finished. + */ + void AppCmdSetResponseData(FMSTR_ADDR nResultDataAddr, FMSTR_SIZE nResultDataLen); + void Poll(void); /** Register variables to TSA table