nrf-rs / nrf-hal

A Rust HAL for the nRF family of devices
Apache License 2.0
503 stars 139 forks source link

UARTE: make number of stop bits configurable. #353

Closed jnordholz closed 3 years ago

jnordholz commented 3 years ago

This adds the "stopbits" parameter to the Uarte::new() constructor alongside the existing "parity" and "baudrate" parameters, giving users control over the last missing option provided by UARTE.CONFIG (which is not exposed yet in any other way).