42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
/*
|
|
* storage.h
|
|
*
|
|
* Created on: Aug 27, 2024
|
|
* Author: Thinkpad
|
|
*/
|
|
|
|
#ifndef INCLUDE_STORAGE_H_
|
|
#define INCLUDE_STORAGE_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
// #define Addr_Loop_PlanB_Cng_Offset 0x10
|
|
// #define Addr_Flag_Sample_In 0x10
|
|
// #define Addr_Sample_Max_Amplitude 0x11
|
|
// #define Addr_Flag_Balance_Ori_In 0x13
|
|
// #define Addr_Balance_Ori_In_Max_Cnt 0x14
|
|
// #define Addr_Flag_Release_Ori_PlanB 0x16
|
|
// #define Addr_Release_Ori_PlanB_TimeOut 0x17
|
|
// #define Addr_Release_Ori_PlanB_Weight 0x18
|
|
// #define Addr_Release_Ori_Amplitude 0x19
|
|
// #define Addr_Flag_Release_Rate 0x1B
|
|
// #define Addr_Release_Rate_First 0x1C
|
|
// #define Addr_Release_Rate_Second 0x1D
|
|
// #define Addr_Release_Rate_Weight 0x1E
|
|
// #define Addr_Release_Rate_Mode 0x1F
|
|
|
|
#define Addr_Loop_Sens_List_Offset 0x20
|
|
|
|
#define Addr_Sens_Array_In 0x20
|
|
#define Addr_Sens_Array_Out 0x30
|
|
|
|
|
|
#define MAX_LOOP_SENS_AMOUNT 3 // 4 // 5
|
|
|
|
#pragma pack(1)
|
|
|
|
typedef struct _Loop_Sample_CNG_
|
|
{
|
|
uint8_t flag;
|
|
uint16_t max_amplitude; // |