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.
Diff: spi0_adiAdxl362_config.c
- Revision:
- 8:2f2775c34640
- Parent:
- 6:9d393a9677f4
diff -r e75e825c04a4 -r 2f2775c34640 spi0_adiAdxl362_config.c
--- a/spi0_adiAdxl362_config.c Tue Jun 18 09:28:16 2019 +0000
+++ b/spi0_adiAdxl362_config.c Thu Jun 20 18:13:57 2019 +0000
@@ -55,28 +55,28 @@
.cycleInterval = 1000000,
},
.channels = {
- [ADMW1001_CHANNEL_ID_SPI_0] = {
+ [ADMW1001_CH_ID_DIG_SPI_0] = {
/* Accelerometer X-Axis (and common settings for physical channel) */
.enableChannel = true,
.disablePublishing = false,
- .compensationChannel = ADMW1001_CHANNEL_ID_NONE,
+ .compensationChannel = ADMW1001_CH_ID_NONE,
.measurementsPerCycle = 10,
.extraSettlingTime = 10000,
/* Optional threshold limits applied to the processed measurement results */
.lowThreshold = -6.0,
.highThreshold = 6.0,
.spiChannelConfig = {
- .sensor = ADMW1001_SPI_SENSOR_ACCELEROMETER_A_DEF_L1,
+ .sensor = ADMW1001_SPI_SENSOR_ACCELEROMETER_A,
},
},
- [ADMW1001_CHANNEL_ID_SPI_1] = {
+ [ADMW1001_CH_ID_DIG_SPI_1] = {
/* Accelerometer Y-Axis (virtual channel) */
.enableChannel = true,
/* Optional threshold limits applied to the processed measurement results */
.lowThreshold = -6.0,
.highThreshold = 6.0,
},
- [ADMW1001_CHANNEL_ID_SPI_2] = {
+ [ADMW1001_CH_ID_DIG_SPI_2] = {
/* Accelerometer Z-Axis (virtual channel) */
.enableChannel = true,
/* Optional adjustment applied to the processed measurement result */