|  | 
| static bool | write (uint8_t data) | 
|  | 
| static void | write (const uint8_t *buffer, uint8_t nbyte) | 
|  | 
| static void | flushWriteBuffer () | 
|  | 
| static bool | read (uint8_t &c) | 
|  | 
| static uint8_t | read (uint8_t *buffer, uint8_t nbyte) | 
|  | 
|  | 
| static PORT | port | 
|  | 
| static RD | rd | 
|  | 
| static WR | wr | 
|  | 
| static RXF | rxf | 
|  | 
| static TXE | txe | 
|  | 
template<typename PORT , typename RD , typename WR , typename RXF , typename TXE > 
  
  | 
        
          | static bool modm::Ft245< PORT, RD, WR, RXF, TXE >::read | ( | uint8_t & | c | ) |  |  | static | 
 
Read a single byte from the FIFO
- Parameters
- 
  
  
- Returns
- trueif a byte was received,- falseotherwise
 
 
template<typename PORT , typename RD , typename WR , typename RXF , typename TXE > 
  
  | 
        
          | static uint8_t modm::Ft245< PORT, RD, WR, RXF, TXE >::read | ( | uint8_t * | buffer, |  
          |  |  | uint8_t | nbyte |  
          |  | ) |  |  |  | static | 
 
Read a block of bytes from the FIFO
This is blocking.
- Parameters
- 
  
    | *buffer | Buffer for the received data. |  | nbyte | Length of buffer |  
 
 
 
template<typename PORT , typename RD , typename WR , typename RXF , typename TXE > 
  
  | 
        
          | static void modm::Ft245< PORT, RD, WR, RXF, TXE >::write | ( | const uint8_t * | buffer, |  
          |  |  | uint8_t | nbyte |  
          |  | ) |  |  |  | static | 
 
Write a block of bytes to the FIFO
This blocks until the buffer is written.
- Parameters
- 
  
    | *buffer | Buffer of the data that should be written |  | nbyte | Length of buffer |  
 
 
 
template<typename PORT , typename RD , typename WR , typename RXF , typename TXE > 
  
  | 
        
          | static bool modm::Ft245< PORT, RD, WR, RXF, TXE >::write | ( | uint8_t | data | ) |  |  | static | 
 
Write a single byte to the FIFO 
- Parameters
- 
  
  
 
 
The documentation for this class was generated from the following file: