CANopenNode
CANopen protocol stack
Functions
CO_eeprom.h File Reference

Eeprom interface for use with CO_storageEeprom. More...

#include "301/CO_driver.h"
+ Include dependency graph for CO_eeprom.h:

Go to the source code of this file.

Functions

bool_t CO_eeprom_init (void *storageModule)
 Initialize eeprom device, target system specific function. More...
 
size_t CO_eeprom_getAddr (void *storageModule, bool_t isAuto, size_t len, bool_t *overflow)
 Get free address inside eeprom, target system specific function. More...
 
void CO_eeprom_readBlock (void *storageModule, uint8_t *data, size_t eepromAddr, size_t len)
 Read block of data from the eeprom, target system specific function. More...
 
bool_t CO_eeprom_writeBlock (void *storageModule, uint8_t *data, size_t eepromAddr, size_t len)
 Write block of data to the eeprom, target system specific function. More...
 
uint16_t CO_eeprom_getCrcBlock (void *storageModule, size_t eepromAddr, size_t len)
 Get CRC checksum of the block of data stored in the eeprom, target system specific function. More...
 
bool_t CO_eeprom_updateByte (void *storageModule, uint8_t data, size_t eepromAddr)
 Update one byte of data in the eeprom, target system specific function. More...
 

Detailed Description

Eeprom interface for use with CO_storageEeprom.

Author
Janez Paternoster

This file is part of CANopenNode, an opensource CANopen Stack. Project home page is https://github.com/CANopenNode/CANopenNode. For more information on CANopen see http://www.can-cia.org/.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.