PebbleOS v4.45.0-75-g82ce53758
Loading...
Searching...
No Matches
pbl_nvmem_ops Struct Reference

Provider operations. More...

#include <nvmem.h>

Data Fields

int(* reg_read )(const struct pbl_nvmem *nvmem, unsigned int offset, void *val, size_t bytes)
 Read from the memory.
 

Detailed Description

Provider operations.

Field Documentation

◆ reg_read

int(* pbl_nvmem_ops::reg_read) (const struct pbl_nvmem *nvmem, unsigned int offset, void *val, size_t bytes)

Read from the memory.

The class has checked the access against the size, word size and stride of the memory.

Parameters
nvmemMemory.
offsetOffset in bytes.
[out]valData.
bytesNumber of bytes.
Returns
0 on success or a negative errno.

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