mirror of
https://github.com/d0k3/GodMode9.git
synced 2026-05-31 06:46:56 +00:00
21 lines
354 B
C
21 lines
354 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "common.h"
|
||
|
|
|
||
|
|
typedef enum {
|
||
|
|
GYRO_1_WHO_AM_I = 0x00,
|
||
|
|
GYRO_1_PWR_MGM = 0x3E
|
||
|
|
} GyroModel1Register;
|
||
|
|
|
||
|
|
typedef enum {
|
||
|
|
GYRO_2_PWR_MGM_1 = 0x6B,
|
||
|
|
GYRO_2_WHO_AM_I = 0x75
|
||
|
|
} GyroModel2Register;
|
||
|
|
|
||
|
|
typedef enum {
|
||
|
|
GYRO_3_PWR_MGM = 0x39 // Unconfirmed
|
||
|
|
} GyroModel3Register;
|
||
|
|
|
||
|
|
u32 GetGyroModel();
|
||
|
|
const char* GetGyroModelString();
|