Embedded SDK
Embedded SDK
Macros | Typedefs | Enumerations | Functions
nbgl_serialize.h File Reference
#include "nbgl_obj.h"
Include dependency graph for nbgl_serialize.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NBGL_SERIALIZE_OK   0
 
#define NBGL_SERIALIZE_ERROR   1
 

Typedefs

typedef enum nbgl_serialized_event_type_e nbgl_serialized_event_type_e
 

Enumerations

enum  nbgl_serialized_event_type_e { NBGL_DRAW_OBJ = 0 , NBGL_REFRESH_AREA }
 

Functions

uint8_t nbgl_serializeNbglEvent (nbgl_serialized_event_type_e type, nbgl_obj_t *obj, uint8_t *out, size_t *w_cnt, size_t max_len)
 

Macro Definition Documentation

◆ NBGL_SERIALIZE_ERROR

#define NBGL_SERIALIZE_ERROR   1

Definition at line 6 of file nbgl_serialize.h.

◆ NBGL_SERIALIZE_OK

#define NBGL_SERIALIZE_OK   0

Definition at line 5 of file nbgl_serialize.h.

Typedef Documentation

◆ nbgl_serialized_event_type_e

Enumeration Type Documentation

◆ nbgl_serialized_event_type_e

Enumerator
NBGL_DRAW_OBJ 
NBGL_REFRESH_AREA 

Definition at line 8 of file nbgl_serialize.h.

Function Documentation

◆ nbgl_serializeNbglEvent()

uint8_t nbgl_serializeNbglEvent ( nbgl_serialized_event_type_e  type,
nbgl_obj_t obj,
uint8_t out,
size_t *  w_cnt,
size_t  max_len 
)

Definition at line 421 of file nbgl_serialize.c.