l3gd20h-gyro

xod/common-hardware/l3gd20h-gyro

Reads angular velocity from a gyroscope based on L3GD20H IC by STMicroelectronics. It is expected the gyro is connected to the first hardware I²C bus.
l3gd20h-gyro
@/l3gd20h-gyro
Reads angular velocity from a gyroscope based on L3GD20H IC by STMicroelectronics. It is expected the gyro is connected to the first hardware I²C bus.
I2Cxod/i2c/i2c
ADDRbyte
I²C address. 0x6A by default. Some board configurations use 0x6B instead.
SENnumber
Sensitivity. Can be 250 (default), 500, or 2000. Defines bounds of measurements expressed in degrees per second. E.g. max ±500 degrees per second. The lower the sensitivity the better output precission. Inaccurate values are rounded up to a nearest correct sensitivity level.
INITpulse
Triggers initialization of the sensor and sets sensitivity
UPDpulse
Update. Triggers new sensor reading.
l3gd20h-gyro
I2CI2CADDRADDRSENSENINITINITUPDUPDPTCHPTCHROLLROLLYAWYAWDONEDONEERRERR
ERRpulse
Fires if reading failed
DONEpulse
Fires when reading is done
YAWnumber
Yaw angular velocity. I.e. spin around Z axis. Expressed in radians per second.
ROLLnumber
Roll angular velocity. I.e. spin around Y axis. Expressed in radians per second.
PTCHnumber
Pitch angular velocity. I.e. spin around X axis. Expressed in radians per second.