CANopenNode
CANopen protocol stack
Loading...
Searching...
No Matches
CO_storage.h File Reference

CANopen data storage base object. More...

#include "301/CO_driver.h"
#include "301/CO_ODinterface.h"
+ Include dependency graph for CO_storage.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  CO_storage_t
 Data storage object. More...
 

Enumerations

enum  CO_storage_attributes_t { CO_storage_cmd = 0x01 , CO_storage_auto = 0x02 , CO_storage_restore = 0x04 }
 Attributes (bit masks) for Data storage object. More...
 

Functions

CO_ReturnError_t CO_storage_init (CO_storage_t *storage, CO_CANmodule_t *CANmodule, OD_entry_t *OD_1010_StoreParameters, OD_entry_t *OD_1011_RestoreDefaultParameters, ODR_t(*store)(CO_storage_entry_t *entry, CO_CANmodule_t *CANmodule), ODR_t(*restore)(CO_storage_entry_t *entry, CO_CANmodule_t *CANmodule), CO_storage_entry_t *entries, uint8_t entriesCount)
 Initialize data storage object.
 

Detailed Description

CANopen data storage base object.

Author
Janez Paternoster

This file is part of https://github.com/CANopenNode/CANopenNode, a CANopen Stack.

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.