Pixels
Public Member Functions | Protected Member Functions | List of all members
SPIsw Class Reference

Public Member Functions

void initInterface ()
 
void setSpiPins (uint8_t scl, uint8_t sda, uint8_t cs, uint8_t rst, uint8_t wr=255)
 
void setPpiPins (uint8_t rs, uint8_t wr, uint8_t cs, uint8_t rst, uint8_t rd)
 
void registerSelect ()
 

Protected Member Functions

void reset ()
 
void writeCmd (uint8_t b)
 
void writeData (uint8_t data)
 
void writeData (uint8_t hi, uint8_t lo)
 
void writeDataTwice (uint8_t b)
 
void writeCmdData (uint8_t cmd, uint16_t data)
 

Detailed Description

Definition at line 32 of file Pixels_SPIsw.h.

Member Function Documentation

void SPIsw::setPpiPins ( uint8_t  rs,
uint8_t  wr,
uint8_t  cs,
uint8_t  rst,
uint8_t  rd 
)
inline

Overrides PPI pins

Parameters
cschip select

Definition at line 104 of file Pixels_SPIsw.h.

void SPIsw::setSpiPins ( uint8_t  scl,
uint8_t  sda,
uint8_t  cs,
uint8_t  rst,
uint8_t  wr = 255 
)
inline

Overrides SPI pins

Parameters
scl
sda
cschip select
rstreset
wrwrite pin; if not omitted (and not equals to 255) - switches to eight bit mode transfer

Definition at line 91 of file Pixels_SPIsw.h.


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