Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: EASE_Example HelloWorld_EASE_Proximity_Sensor HelloWorld_EASE_Motor_Example Example_EtherCAT_System_Using_EASE ... more
Diff: EsmacatShield.h
- Revision:
- 2:77c2a6061e77
- Parent:
- 1:b66c3e4ce9f5
--- a/EsmacatShield.h Wed Jan 29 20:11:47 2020 +0000
+++ b/EsmacatShield.h Thu Feb 06 17:35:14 2020 +0000
@@ -138,7 +138,7 @@
*
* @return None
**************************************************************/
- void write_reg_value(int write_addr,int value, bool led_on=1);
+ void write_reg_value(int write_addr,int16_t value, bool led_on=1);
/**********************************************************//**
* @brief Read EASE Register.
@@ -157,7 +157,7 @@
*
* @return None
**************************************************************/
- int* get_ecat_registers(int regs[8]);
+ int16_t* get_ecat_registers(int16_t regs[8]);
/************************************************************
* @brief Default destructor for EsmacatShield Class.
@@ -176,7 +176,7 @@
SPI &ecat_spi;
DigitalOut &ecat_cs;
- int read_reg_value(int read_addr);
+ int16_t read_reg_value(int16_t read_addr);
};