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

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

#include "305/CO_LSS.h"
+ Include dependency graph for CO_LSSslave.h:
+ This graph shows which files directly or indirectly include this file:

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, uint16_t CANidLssMaster, CO_CANmodule_t *CANdevTx, uint16_t CANdevTxIdx, uint16_t CANidLssSlave)
 Initialize LSS object.
 
bool_t CO_LSSslave_process (CO_LSSslave_t *LSSslave)
 Process LSS communication.
 
static uint8_t CO_LSSslave_getState (CO_LSSslave_t *LSSslave)
 Get current LSS state.
 
void CO_LSSslave_initCallbackPre (CO_LSSslave_t *LSSslave, void *object, void(*pFunctSignalPre)(void *object))
 Initialize LSSslaveRx callback function.
 
void CO_LSSslave_initCkBitRateCall (CO_LSSslave_t *LSSslave, void *object, bool_t(*pFunctLSScheckBitRate)(void *object, uint16_t bitRate))
 Initialize verify bit rate callback.
 
void CO_LSSslave_initActBitRateCall (CO_LSSslave_t *LSSslave, void *object, void(*pFunctLSSactivateBitRate)(void *object, uint16_t delay))
 Initialize activate bit rate callback.
 
void CO_LSSslave_initCfgStoreCall (CO_LSSslave_t *LSSslave, void *object, bool_t(*pFunctLSScfgStore)(void *object, uint8_t id, uint16_t bitRate))
 Store configuration callback.
 

Detailed Description

CANopen Layer Setting Service - slave protocol.

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