sl_iostream_uart_t Struct Reference

I/O Stream UART stream object.

#include <sl_iostream_uart.h>

Data Fields

sl_iostream_t stream
stream
sl_status_t(* deinit )(void * stream )
uart deinit
void(* set_auto_cr_lf )(void *context, bool on)
set_auto_cr_lf
bool(* get_auto_cr_lf )(void *context)
get_auto_cr_lf
void(* set_rx_energy_mode_restriction )(void *context, bool on)
set_rx_energy_mode_restriction. Available only when Power Manager present.
bool(* get_rx_energy_mode_restriction )(void *context)
get_rx_energy_mode_restriction. Available only when Power Manager present.
sl_power_manager_on_isr_exit_t (* sleep_on_isr_exit )(void *context)
sleep_on_isr_exit. Available only when Power Manager present and kernel not present.
bool(* is_ok_to_sleep )(void *context)
is_ok_to_sleep. Available only when Power Manager present and kernel not present.
void(* set_read_block )(void *context, bool on)
set_read_block. Available only when kernel present.
bool(* get_read_block )(void *context)
get_read_block. Available only when kernel present.

I/O Stream UART stream object.

Field Documentation

stream

sl_iostream_t sl_iostream_uart_t::stream

stream

deinit

sl_status_t(* sl_iostream_uart_t::deinit) (void * stream )

uart deinit

set_auto_cr_lf

void(* sl_iostream_uart_t::set_auto_cr_lf) (void *context, bool on)

set_auto_cr_lf

get_auto_cr_lf

bool(* sl_iostream_uart_t::get_auto_cr_lf) (void *context)

get_auto_cr_lf

set_rx_energy_mode_restriction

void(* sl_iostream_uart_t::set_rx_energy_mode_restriction) (void *context, bool on)

set_rx_energy_mode_restriction. Available only when Power Manager present.

get_rx_energy_mode_restriction

bool(* sl_iostream_uart_t::get_rx_energy_mode_restriction) (void *context)

get_rx_energy_mode_restriction. Available only when Power Manager present.

sleep_on_isr_exit

sl_power_manager_on_isr_exit_t (* sl_iostream_uart_t::sleep_on_isr_exit) (void *context)

sleep_on_isr_exit. Available only when Power Manager present and kernel not present.

is_ok_to_sleep

bool(* sl_iostream_uart_t::is_ok_to_sleep) (void *context)

is_ok_to_sleep. Available only when Power Manager present and kernel not present.

set_read_block

void(* sl_iostream_uart_t::set_read_block) (void *context, bool on)

set_read_block. Available only when kernel present.

get_read_block

bool(* sl_iostream_uart_t::get_read_block) (void *context)

get_read_block. Available only when kernel present.