Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
nbgl_serialize.h File Reference
#include "nbgl_low_level_guard.h"
#include "nbgl_obj.h"
Include dependency graph for nbgl_serialize.h:

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 8 of file nbgl_serialize.h.

◆ NBGL_SERIALIZE_OK

#define NBGL_SERIALIZE_OK   0

Definition at line 7 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 10 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 )