HPM SDK
HPMicro Software Development Kit
e2p_device_ops_t Struct Reference

eeprom driver operations structure More...

#include <eeprom_device.h>

Data Fields

hpm_stat_t(* init )(hpm_eeprom_device_t *device)
 
hpm_stat_t(* deinit )(hpm_eeprom_device_t *device)
 
hpm_stat_t(* write )(hpm_eeprom_device_t *device, uint32_t data_addr, uint32_t len, uint8_t *data)
 
hpm_stat_t(* read )(hpm_eeprom_device_t *device, uint32_t data_addr, uint32_t len, uint8_t *data)
 

Detailed Description

eeprom driver operations structure

Field Documentation

◆ deinit

hpm_stat_t(* e2p_device_ops_t::deinit) (hpm_eeprom_device_t *device)

◆ init

hpm_stat_t(* e2p_device_ops_t::init) (hpm_eeprom_device_t *device) ( void  )

◆ read

hpm_stat_t(* e2p_device_ops_t::read) (hpm_eeprom_device_t *device, uint32_t data_addr, uint32_t len, uint8_t *data)

◆ write

hpm_stat_t(* e2p_device_ops_t::write) (hpm_eeprom_device_t *device, uint32_t data_addr, uint32_t len, uint8_t *data)

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