pub unsafe extern "C" fn uart_configure(
dev: *const device,
cfg: *const uart_config,
) -> c_intExpand description
@brief Set UART configuration.
Sets UART configuration using data from *cfg.
@param dev UART device instance. @param cfg UART configuration structure.
@return 0 on success, negative errno value on failure. @retval -ENOSYS Configuration is not supported by device or driver does not support setting configuration in runtime. @retval -ENOTSUP API is not enabled.