libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches
daisy::SSD1327Driver< width, height, Transport > Class Template Reference

Detailed Description

template<size_t width, size_t height, typename Transport>
class daisy::SSD1327Driver< width, height, Transport >

A driver implementation for the SSD1327

#include <oled_ssd1327.h>

Classes

struct  Config
 

Public Member Functions

void Init (Config config)
 
size_t Width () const
 
size_t Height () const
 
void DrawPixel (uint_fast8_t x, uint_fast8_t y, bool on)
 
void Fill (bool on)
 
void Update ()
 
void Set_Color (uint8_t in_col)
 

Protected Attributes

Transport transport_
 
uint8_t buffer_ [width/2 *height]
 
uint8_t color_
 

Member Function Documentation

◆ DrawPixel()

template<size_t width, size_t height, typename Transport >
void daisy::SSD1327Driver< width, height, Transport >::DrawPixel ( uint_fast8_t  x,
uint_fast8_t  y,
bool  on 
)
inline

◆ Fill()

template<size_t width, size_t height, typename Transport >
void daisy::SSD1327Driver< width, height, Transport >::Fill ( bool  on)
inline

◆ Height()

template<size_t width, size_t height, typename Transport >
size_t daisy::SSD1327Driver< width, height, Transport >::Height ( ) const
inline

◆ Init()

template<size_t width, size_t height, typename Transport >
void daisy::SSD1327Driver< width, height, Transport >::Init ( Config  config)
inline

◆ Set_Color()

template<size_t width, size_t height, typename Transport >
void daisy::SSD1327Driver< width, height, Transport >::Set_Color ( uint8_t  in_col)
inline

◆ Update()

template<size_t width, size_t height, typename Transport >
void daisy::SSD1327Driver< width, height, Transport >::Update ( )
inline

Update the display

◆ Width()

template<size_t width, size_t height, typename Transport >
size_t daisy::SSD1327Driver< width, height, Transport >::Width ( ) const
inline

Member Data Documentation

◆ buffer_

template<size_t width, size_t height, typename Transport >
uint8_t daisy::SSD1327Driver< width, height, Transport >::buffer_[width/2 *height]
protected

◆ color_

template<size_t width, size_t height, typename Transport >
uint8_t daisy::SSD1327Driver< width, height, Transport >::color_
protected

◆ transport_

template<size_t width, size_t height, typename Transport >
Transport daisy::SSD1327Driver< width, height, Transport >::transport_
protected

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