const uint8_t no_os_chr_8x8[128][8]
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
int32_t ssd_1306_init(struct display_dev *device)
Initializes ssd_1306 for display screening.
Definition: ssd_1306.c:76
int32_t ssd_1306_move_cursor(struct display_dev *device, uint8_t row, uint8_t column)
Moves cursor to desired row/column.
Definition: ssd_1306.c:186
int32_t ssd_1306_init(struct display_dev *device)
Initializes ssd_1306 for display screening.
Definition: ssd_1306.c:76
int32_t ssd_1306_print_ascii(struct display_dev *device, uint8_t ascii, uint8_t row, uint8_t column)
Prints character at selected position.
Definition: ssd_1306.c:218
int32_t no_os_spi_write_and_read(struct no_os_spi_desc *desc, uint8_t *data, uint16_t bytes_number)
Write and read data to/from SPI.
Definition: no_os_spi.c:159
#define SSD1306_CHARSZ
Definition: ssd_1306.c:54
int32_t ssd_1306_display_on_off(struct display_dev *device, uint8_t on_off)
ssd_1306 turns display on/off.
Definition: ssd_1306.c:164
int32_t ssd_1306_remove(struct display_dev *device)
Removes resources allocated by device.
Definition: ssd_1306.c:242
int32_t ssd_1306_move_cursor(struct display_dev *device, uint8_t row, uint8_t column)
Moves cursor to desired row/column.
Definition: ssd_1306.c:186
Header file of SPI Interface.
Header file of Delay functions.
const struct display_controller_ops ssd1306_ops
Definition: ssd_1306.c:56
Definition: ad9361_util.h:69
int32_t ssd_1306_remove(struct display_dev *device)
Removes resources allocated by device.
Definition: ssd_1306.c:242
const struct display_controller_ops ssd1306_ops
Definition: ssd_1306.c:56
Structure holding display controller function pointers that point to the controller specific function...
Definition: display.h:82
Header file for ssd_1306 Driver.
#define SSD1306_DISP_OFF
Definition: ssd_1306.c:53
int32_t ssd_1306_print_ascii(struct display_dev *device, uint8_t ascii, uint8_t row, uint8_t column)
Prints character at selected position.
Definition: ssd_1306.c:218
#define SSD1306_DC_CMD
Definition: ssd_1306.c:51
struct ssd_1306_extra ssd_1306_extra
int32_t(* init)(struct display_dev *)
Definition: display.h:84
#define SSD1306_RST_OFF
Definition: ssd_1306.c:49
int32_t no_os_gpio_remove(struct no_os_gpio_desc *desc)
Free the resources allocated by no_os_gpio_get().
Definition: no_os_gpio.c:104
Structure holding SPI descriptor.
Definition: no_os_spi.h:192
Display Device Descriptor.
Definition: display.h:51
Structure holding the GPIO descriptor.
Definition: no_os_gpio.h:96
#define SSD1306_DISP_ON
Definition: ssd_1306.c:52
#define SSD1306_DC_DATA
Definition: ssd_1306.c:50
int32_t no_os_gpio_get(struct no_os_gpio_desc **desc, const struct no_os_gpio_init_param *param)
Obtain the GPIO decriptor.
Definition: no_os_gpio.c:49
int32_t ssd_1306_display_on_off(struct display_dev *device, uint8_t on_off)
ssd_1306 turns display on/off.
Definition: ssd_1306.c:164
Header file for display Driver.
void no_os_udelay(uint32_t usecs)
Wait until usecs microseconds passed.
Definition: aducm3029_delay.c:114
int32_t no_os_gpio_set_value(struct no_os_gpio_desc *desc, uint8_t value)
Set the value of the specified GPIO.
Definition: no_os_gpio.c:197
int32_t no_os_spi_remove(struct no_os_spi_desc *desc)
Free the resources allocated by no_os_spi_init().
Definition: no_os_spi.c:116
Header file of GPIO Interface.
#define SSD1306_RST_ON
Definition: ssd_1306.c:48
int32_t no_os_spi_init(struct no_os_spi_desc **desc, const struct no_os_spi_init_param *param)
Initialize the SPI communication peripheral.
Definition: no_os_spi.c:52
int32_t no_os_gpio_direction_output(struct no_os_gpio_desc *desc, uint8_t value)
Enable the output direction of the specified GPIO.
Definition: no_os_gpio.c:147
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:140