#include <yspi.h>
|
static const usartRegisterStruct | usartRegVec [] = {{UDR0,UCSR0A,UCSR0B,UCSR0C,UBRR0}} |
|
static const pinRegisterStruct | pinRegVec [] = {{DDRD,PORTD}} |
|
static const uartSpecificBitValueStruct | specificBitVec [] = {{UDRE0,RXC0,TXC0, DDD4, DDD5, UMSEL00, UMSEL01, TXEN0,RXEN0, PORTD5}} |
|
USARTSPI::USARTSPI |
( |
uint8_t |
id | ) |
|
Class constructor.
- Parameters
-
- See also
- const uint8_t uID;
- Returns
- an instance.
void USARTSPI::beginTransaction |
( |
| ) |
const |
|
virtual |
void USARTSPI::endTransaction |
( |
| ) |
const |
|
virtual |
void USARTSPI::setSS |
( |
uint8_t |
highLow | ) |
const |
|
virtual |
uint8_t USARTSPI::transfer |
( |
uint8_t |
data | ) |
const |
|
virtual |
const uint8_t USARTSPI::nbUARTS = 1 |
|
static |
nbUARTS static const member variable containing the number of USARTS.
- See also
- const uint8_t uID
const uint8_t USARTSPI::uID |
|
protected |
uID USART ID to wiich the instance refers. ATmeag328p has only one USART, USART0 ATmeaga2650 has 4 USARTs 0,1,2,3
The documentation for this class was generated from the following files:
- /home/bob/Desktop/temp/Yannick/PhD_Support/temp/SPI/RPI/Python/serialApp/SerialSlave2560/yspi.h
- /home/bob/Desktop/temp/Yannick/PhD_Support/temp/SPI/RPI/Python/serialApp/SerialSlave2560/usartSPI.cpp