CANopenNode
CO_LSSslave.h File Reference

CANopen Layer Setting Service - slave protocol. More...

#include "305/CO_LSS.h"

Go to the source code of this file.

Data Structures

struct  CO_LSSslave_t
 LSS slave object. More...
 

Functions

CO_ReturnError_t CO_LSSslave_init (CO_LSSslave_t *LSSslave, CO_LSS_address_t *lssAddress, uint16_t *pendingBitRate, uint8_t *pendingNodeID, CO_CANmodule_t *CANdevRx, uint16_t CANdevRxIdx, uint32_t CANidLssMaster, CO_CANmodule_t *CANdevTx, uint16_t CANdevTxIdx, uint32_t CANidLssSlave)
 Initialize LSS object. More...
 
bool_t CO_LSSslave_process (CO_LSSslave_t *LSSslave)
 Process LSS communication. More...
 
static CO_LSS_state_t CO_LSSslave_getState (CO_LSSslave_t *LSSslave)
 Get current LSS state. More...
 
void CO_LSSslave_initCallbackPre (CO_LSSslave_t *LSSslave, void *object, void(*pFunctSignalPre)(void *object))
 Initialize LSSslaveRx callback function. More...
 
void CO_LSSslave_initCheckBitRateCallback (CO_LSSslave_t *LSSslave, void *object, bool_t(*pFunctLSScheckBitRate)(void *object, uint16_t bitRate))
 Initialize verify bit rate callback. More...
 
void CO_LSSslave_initActivateBitRateCallback (CO_LSSslave_t *LSSslave, void *object, void(*pFunctLSSactivateBitRate)(void *object, uint16_t delay))
 Initialize activate bit rate callback. More...
 
void CO_LSSslave_initCfgStoreCallback (CO_LSSslave_t *LSSslave, void *object, bool_t(*pFunctLSScfgStore)(void *object, uint8_t id, uint16_t bitRate))
 Store configuration callback. More...
 

Detailed Description

CANopen Layer Setting Service - slave protocol.

Author
Martin Wagner
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.