3.6.2.2.2 Process Layer
This layer changes dynamically depending on the mode. All the processing related to data is implemented in this layer.
For example, in UART Bypass mode, this layer copies data from the UART to the pcComm layer and vice-versa. In CAPBridge mode, this layer processes the commands received from CAP GUI and sends corresponding I2C commands to CAP devices.
If the bridge board is connected to a touch turnkey device (exemplary AT42QT2120), the memory map of the turnkey device is kept in this layer. It also contains the actual driver for the target device. In addition to that, this layer also contains the driver that talks to MPLAB Data Visualizer Touch Plug-in. This layer helps in receiving the data from the turnkey device and repacking the data before transmitting it to MPLAP Data Visualizer. Similarly, if the user modifies data or settings in Touch Plug-in (MPLAB DV GUI) they are sent to the target device through this layer.
The image below shows some examples of Process Layer. The possible combinations are not limited.