How to use Quadcounter components?

do you have examples, like a Serial_LDD Typical Usage
Block reception/transmission, with interrupt service
The most of applications use a serial communication in the interrupt mode when an application is asynchronously notified by a driver about transmission/reception events.
The following example demonstrates a simple "Hello world" application. The program waits until 'e' character is received and then sends text "Hello world".
Required component setup :
Content of ProcessorExpert.c:
volatile bool DataReceivedFlg = FALSE; char OutData[] = "Hello world"; char InpData[10]; LDD_TError Error; LDD_TDeviceData *MySerialPtr; void main(void) { . . . MySerialPtr = AS1_Init(NULL); /* Initialization of AS1 component */ for(;;) { Error = AS1_ReceiveBlock(MySerialPtr, InpData, 1U); /* Start reception of one character */ while (!DataReceivedFlg) { /* Wait until 'e' character is received */ } if (InpData[0] == 'e') { Error = AS1_SendBlock(MySerialPtr, OutData, sizeof(OutData)); /* Send block of characters */ } DataReceivedFlg = FALSE; } } Content of Event.c:
extern volatile bool DataReceivedFlg; void AS1_OnBlockReceived(LDD_TUserData *UserDataPtr) { DataReceivedFlg = TRUE; /* Set DataReceivedFlg flag */ }