CANopen access from other networks - ASCII mapping (CiA 309-3 DS v3.0.0) More...
#include "301/CO_driver.h"
#include "301/CO_fifo.h"
#include "301/CO_SDOclient.h"
#include "301/CO_NMT_Heartbeat.h"
#include "305/CO_LSSmaster.h"
#include "303/CO_LEDs.h"
Go to the source code of this file.
Data Structures | |
struct | CO_GTWA_t |
CANopen Gateway-ascii object. More... | |
Macros | |
#define | CO_GTWA_RESP_BUF_SIZE 200 |
Size of response string buffer. More... | |
#define | CO_GTWA_STATE_TIMEOUT_TIME_US 1200000 |
Timeout time in microseconds for some internal states. | |
Functions | |
CO_ReturnError_t | CO_GTWA_init (CO_GTWA_t *gtwa, CO_SDOclient_t *SDO_C, uint16_t SDOclientTimeoutTime_ms, bool_t SDOclientBlockTransfer, CO_NMT_t *NMT, CO_LSSmaster_t *LSSmaster, CO_LEDs_t *LEDs, uint8_t dummy) |
Initialize Gateway-ascii object. More... | |
void | CO_GTWA_initRead (CO_GTWA_t *gtwa, size_t(*readCallback)(void *object, const char *buf, size_t count, uint8_t *connectionOK), void *readCallbackObject) |
Initialize read callback in Gateway-ascii object. More... | |
static size_t | CO_GTWA_write_getSpace (CO_GTWA_t *gtwa) |
Get free write buffer space. More... | |
static size_t | CO_GTWA_write (CO_GTWA_t *gtwa, const char *buf, size_t count) |
Write command into CO_GTWA_t object. More... | |
void | CO_GTWA_log_print (CO_GTWA_t *gtwa, const char *message) |
Print message log string into fifo buffer. More... | |
void | CO_GTWA_process (CO_GTWA_t *gtwa, bool_t enable, uint32_t timeDifference_us, uint32_t *timerNext_us) |
Process Gateway-ascii object. More... | |
CANopen access from other networks - ASCII mapping (CiA 309-3 DS v3.0.0)
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.