Wiselib
|
#include <tinyos_com_uart.h>
Inherits wiselib::UartBase< OsModel_P, uint8_t, uint8_t >.
Public Types | |
enum | ErrorCodes { SUCCESS = OsModel::SUCCESS, ERR_UNSPEC = OsModel::ERR_UNSPEC } |
typedef OsModel_P | OsModel |
typedef TinyOsComUartModel < OsModel > | self_type |
typedef self_type * | self_pointer_t |
typedef uint8_t | block_data_t |
typedef uint8_t | size_t |
enum | ReturnValues |
typedef delegate2< void, size_t, block_data_t * > | uart_delegate_t |
typedef vector_static< OsModel, uart_delegate_t, UART_BASE_MAX_RECEIVERS > | CallbackVector |
typedef CallbackVector::iterator | CallbackVectorIterator |
Public Member Functions | |
int | enable_serial_comm () |
int | disable_serial_comm () |
int | write (size_t len, block_data_t *buf) |
int | reg_read_callback (T *obj_pnt) |
int | unreg_read_callback (int idx) |
void | notify_receivers (size_t len, block_data_t *data) |
typedef uint8_t wiselib::TinyOsComUartModel< OsModel_P >::block_data_t |
Reimplemented from wiselib::UartBase< OsModel_P, uint8_t, uint8_t >.
typedef vector_static<OsModel, uart_delegate_t, UART_BASE_MAX_RECEIVERS > wiselib::UartBase< OsModel_P, uint8_t , uint8_t , UART_BASE_MAX_RECEIVERS >::CallbackVector [inherited] |
typedef CallbackVector::iterator wiselib::UartBase< OsModel_P, uint8_t , uint8_t , UART_BASE_MAX_RECEIVERS >::CallbackVectorIterator [inherited] |
typedef OsModel_P wiselib::TinyOsComUartModel< OsModel_P >::OsModel |
Reimplemented from wiselib::UartBase< OsModel_P, uint8_t, uint8_t >.
typedef self_type* wiselib::TinyOsComUartModel< OsModel_P >::self_pointer_t |
typedef TinyOsComUartModel<OsModel> wiselib::TinyOsComUartModel< OsModel_P >::self_type |
typedef uint8_t wiselib::TinyOsComUartModel< OsModel_P >::size_t |
Reimplemented from wiselib::UartBase< OsModel_P, uint8_t, uint8_t >.
typedef delegate2<void, size_t, block_data_t*> wiselib::UartBase< OsModel_P, uint8_t , uint8_t , UART_BASE_MAX_RECEIVERS >::uart_delegate_t [inherited] |
enum wiselib::TinyOsComUartModel::ErrorCodes |
enum wiselib::UartBase::ReturnValues [inherited] |
int wiselib::TinyOsComUartModel< OsModel_P >::disable_serial_comm | ( | ) | [inline] |
int wiselib::TinyOsComUartModel< OsModel_P >::enable_serial_comm | ( | ) | [inline] |
void wiselib::UartBase< OsModel_P, uint8_t , uint8_t , UART_BASE_MAX_RECEIVERS >::notify_receivers | ( | size_t | len, |
block_data_t * | data | ||
) | [inline, inherited] |
int wiselib::UartBase< OsModel_P, uint8_t , uint8_t , UART_BASE_MAX_RECEIVERS >::reg_read_callback | ( | T * | obj_pnt | ) | [inline, inherited] |
int wiselib::UartBase< OsModel_P, uint8_t , uint8_t , UART_BASE_MAX_RECEIVERS >::unreg_read_callback | ( | int | idx | ) | [inline, inherited] |
int wiselib::TinyOsComUartModel< OsModel_P >::write | ( | size_t | len, |
block_data_t * | buf | ||
) | [inline] |