Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mb_image Struct Reference

Representation of a BBC micro:bit display image. More...

#include <mb_display.h>

Data Fields

union { 
 
   struct { 
 
      uint8_t   c1:1 
 
      uint8_t   c2:1 
 
      uint8_t   c3:1 
 
      uint8_t   c4:1 
 
      uint8_t   c5:1 
 
   }   r [5] 
 
   uint8_t   row [5] 
 
};  
 

Detailed Description

Representation of a BBC micro:bit display image.

This struct should normally not be used directly, rather created using the MB_IMAGE() macro.

Field Documentation

◆ [union]

union { ... } mb_image

◆ c1

uint8_t mb_image::c1

◆ c2

uint8_t mb_image::c2

◆ c3

uint8_t mb_image::c3

◆ c4

uint8_t mb_image::c4

◆ c5

uint8_t mb_image::c5

◆ [struct]

struct { ... } mb_image::r[5]

◆ row

uint8_t mb_image::row[5]

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