SimpleFOClibrary 2.4.0
Loading...
Searching...
No Matches
MagneticSensorSPI.cpp File Reference
Include dependency graph for MagneticSensorSPI.cpp:

Go to the source code of this file.

Variables

MagneticSensorSPIConfig_s AS5147_SPI
 
MagneticSensorSPIConfig_s AS5048_SPI
 
MagneticSensorSPIConfig_s AS5047_SPI
 
MagneticSensorSPIConfig_s MA730_SPI
 

Variable Documentation

◆ AS5047_SPI

Initial value:
= {
.spi_mode = SPI_MODE1,
.clock_speed = 1000000,
.bit_resolution = 14,
.angle_register = 0x3FFF,
.data_start_bit = 13,
.command_rw_bit = 14,
.command_parity_bit = 15
}

Definition at line 27 of file MagneticSensorSPI.cpp.

◆ AS5048_SPI

Initial value:
= {
.spi_mode = SPI_MODE1,
.clock_speed = 1000000,
.bit_resolution = 14,
.angle_register = 0x3FFF,
.data_start_bit = 13,
.command_rw_bit = 14,
.command_parity_bit = 15
}

Definition at line 18 of file MagneticSensorSPI.cpp.

◆ AS5147_SPI

Initial value:
= {
.spi_mode = SPI_MODE1,
.clock_speed = 1000000,
.bit_resolution = 14,
.angle_register = 0x3FFF,
.data_start_bit = 13,
.command_rw_bit = 14,
.command_parity_bit = 15
}

Typical configuration for the 14bit AMS AS5147 magnetic sensor over SPI interface

Definition at line 5 of file MagneticSensorSPI.cpp.

◆ MA730_SPI

Initial value:
= {
.spi_mode = SPI_MODE0,
.clock_speed = 1000000,
.bit_resolution = 14,
.angle_register = 0x0000,
.data_start_bit = 15,
.command_rw_bit = 0,
.command_parity_bit = 0
}

Typical configuration for the 14bit MonolithicPower MA730 magnetic sensor over SPI interface

Definition at line 38 of file MagneticSensorSPI.cpp.