XSHELL - hook function upon character reception
Posted: Sun Feb 15, 2026 5:35 pm
chibios-code-r17691-trunk
Hi all,
wouldn't it be useful to have a hook function upon actual character reception on the sequential stream?
Why? To give a visual feedback by flashing an LED for example.
The associated code must be very short for obvious reasons.
I'm aware, that you can register an event on the sequential stream for this purpose, but a hook function would be more immediate.
Regards Wolf
Hi all,
wouldn't it be useful to have a hook function upon actual character reception on the sequential stream?
Why? To give a visual feedback by flashing an LED for example.
The associated code must be very short for obvious reasons.
I'm aware, that you can register an event on the sequential stream for this purpose, but a hook function would be more immediate.
Regards Wolf