TwiceAsNice  2019-02-18
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
board Class Reference

#include <board.h>

Collaboration diagram for board:
Collaboration graph

Public Member Functions

 board (void)
 
 ~board (void)
 
int Init (void)
 
int Terminate (void)
 
bool IsDataAvailable (void)
 
int Waste (uint32_t count)
 
int Read (uint32_t count)
 
int Read (void *buf, uint32_t count)
 
int Resync (void)
 
int Reset (void)
 
int SetUserPin (bool level)
 
 board (void)
 
 ~board (void)
 
int Init (void)
 
int Terminate (void)
 
bool IsDataAvailable (void)
 
int Waste (uint32_t count)
 
int Read (uint32_t count)
 
int Read (void *buf, uint32_t count)
 
int Resync (void)
 
int Reset (void)
 
int SetUserPin (bool level)
 

Public Attributes

void * kbuf
 

Private Member Functions

int ConfigBoard (void)
 
int ConfigBoard (void)
 

Private Attributes

void * handle
 
int rxfifosize
 

Static Private Attributes

static const int ALMOST_EMPTY_LEVEL = 4
 
static const int ALMOST_FULL_LEVEL = 928
 
static const int DMA_TIMEOUT = 7
 
static const uint32_t kbufsize = 1024*256
 

Constructor & Destructor Documentation

◆ board() [1/2]

board::board ( void  )

◆ ~board() [1/2]

board::~board ( void  )

◆ board() [2/2]

board::board ( void  )

◆ ~board() [2/2]

board::~board ( void  )

Member Function Documentation

◆ ConfigBoard() [1/2]

int board::ConfigBoard ( void  )
private

◆ ConfigBoard() [2/2]

int board::ConfigBoard ( void  )
private

◆ Init() [1/2]

int board::Init ( void  )

◆ Init() [2/2]

int board::Init ( void  )

◆ IsDataAvailable() [1/2]

bool board::IsDataAvailable ( void  )

◆ IsDataAvailable() [2/2]

bool board::IsDataAvailable ( void  )

◆ Read() [1/4]

int board::Read ( uint32_t  count)

◆ Read() [2/4]

int board::Read ( uint32_t  count)

◆ Read() [3/4]

int board::Read ( void *  buf,
uint32_t  count 
)

◆ Read() [4/4]

int board::Read ( void *  buf,
uint32_t  count 
)

◆ Reset() [1/2]

int board::Reset ( void  )

◆ Reset() [2/2]

int board::Reset ( void  )

◆ Resync() [1/2]

int board::Resync ( void  )

◆ Resync() [2/2]

int board::Resync ( void  )

◆ SetUserPin() [1/2]

int board::SetUserPin ( bool  level)

◆ SetUserPin() [2/2]

int board::SetUserPin ( bool  level)

◆ Terminate() [1/2]

int board::Terminate ( void  )

◆ Terminate() [2/2]

int board::Terminate ( void  )

◆ Waste() [1/2]

int board::Waste ( uint32_t  count)

◆ Waste() [2/2]

int board::Waste ( uint32_t  count)

Member Data Documentation

◆ ALMOST_EMPTY_LEVEL

static const int board::ALMOST_EMPTY_LEVEL = 4
staticprivate

◆ ALMOST_FULL_LEVEL

static const int board::ALMOST_FULL_LEVEL = 928
staticprivate

◆ DMA_TIMEOUT

static const int board::DMA_TIMEOUT = 7
staticprivate

◆ handle

void * board::handle
private

◆ kbuf

void * board::kbuf

◆ kbufsize

static const uint32_t board::kbufsize = 1024*256
staticprivate

◆ rxfifosize

int board::rxfifosize
private

The documentation for this class was generated from the following files: