STM32 core 3.0.1-dev
Arduino core for STM32 based boards: API reference
← STM32duino documentation
Loading...
Searching...
No Matches
WSerial.cpp File Reference

serialEventRun(): dispatch of the serialEvent callbacks. More...

#include "WSerial.h"

Functions

WEAK void serialEventRun (void)
 Call the serialEvent callback of each enabled serial port (hardware, USB, VirtIO) that has data available.
 

Detailed Description

serialEventRun(): dispatch of the serialEvent callbacks.

Function Documentation

◆ serialEventRun()

WEAK void serialEventRun ( void  )

Call the serialEvent callback of each enabled serial port (hardware, USB, VirtIO) that has data available.

A callback is only called if the sketch defines it. Called from main() after each loop() iteration. Weak, so a sketch can override it.