Wiselib
Public Types | Public Member Functions
wiselib::TinyOsComUartModel< OsModel_P > Class Template Reference

#include <tinyos_com_uart.h>

Inherits wiselib::UartBase< OsModel_P, uint8_t, uint8_t >.

List of all members.

Public Types

enum  ErrorCodes { SUCCESS = OsModel::SUCCESS, ERR_UNSPEC = OsModel::ERR_UNSPEC }
typedef OsModel_P OsModel
typedef TinyOsComUartModel
< OsModel
self_type
typedef self_typeself_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)

template<typename OsModel_P>
class wiselib::TinyOsComUartModel< OsModel_P >


Member Typedef Documentation

template<typename OsModel_P>
typedef uint8_t wiselib::TinyOsComUartModel< OsModel_P >::block_data_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]
template<typename OsModel_P>
typedef OsModel_P wiselib::TinyOsComUartModel< OsModel_P >::OsModel
template<typename OsModel_P>
typedef self_type* wiselib::TinyOsComUartModel< OsModel_P >::self_pointer_t
template<typename OsModel_P>
typedef TinyOsComUartModel<OsModel> wiselib::TinyOsComUartModel< OsModel_P >::self_type
template<typename OsModel_P>
typedef uint8_t wiselib::TinyOsComUartModel< OsModel_P >::size_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]

Member Enumeration Documentation

template<typename OsModel_P>
enum wiselib::TinyOsComUartModel::ErrorCodes
Enumerator:
SUCCESS 
ERR_UNSPEC 

Member Function Documentation

template<typename OsModel_P>
int wiselib::TinyOsComUartModel< OsModel_P >::disable_serial_comm ( ) [inline]
template<typename OsModel_P>
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]
template<typename OsModel_P>
int wiselib::TinyOsComUartModel< OsModel_P >::write ( size_t  len,
block_data_t buf 
) [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines