This section describes callback function of the driver. The callback function is called by the driver to notify interrupt of the peripheral. All interrupt flags are cleared automatically by the driver.