10.1.5 Event Handler Function

This function provides a mechanism to notify the PL360 Host Controller events to the customer application using the previously configured callbacks.

The following function must be called every program cycle or at least once when the host MCU application receives an interrupt from the PL360 embedded firmware:

void atpl360_handle_events(void);
First, this function checks all PLC events:
  • PHY parameters and configuration
  • End of transmission of PLC message
  • End of reception of PLC message
  • Exceptions

And then, it triggers the corresponding PL360 Host Controller callbacks.