PebbleOS v4.48.0-75-g7416f78a1
Loading...
Searching...
No Matches
pbl_console_imaging_region Struct Reference

Region of flash the host can write. More...

#include <imaging.h>

Data Fields

uint8_t id
 ID the host refers to the region by.
 
int(* query )(uint32_t *address, uint32_t *size)
 Get the extents of the region, before the host writes it.
 
int(* finalize )(void)
 Make use of the region once the host has written it, or NULL.
 

Detailed Description

Region of flash the host can write.

Field Documentation

◆ finalize

int(* pbl_console_imaging_region::finalize) (void)

Make use of the region once the host has written it, or NULL.

Returns
0 on success, negative errno otherwise.

◆ id

uint8_t pbl_console_imaging_region::id

ID the host refers to the region by.

◆ query

int(* pbl_console_imaging_region::query) (uint32_t *address, uint32_t *size)

Get the extents of the region, before the host writes it.

Parameters
[out]addressFlash address of the region.
[out]sizeSize of the region in bytes.
Returns
0 on success, negative errno otherwise.

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