/** Global Data Define */
#pragma once
#include <stdint.h>
#define G_RF_MODE_FM 0x00
#define G_RF_MODE_AM 0x01

typedef struct GlobalData {
    uint16_t freq; // FM x50kHz AM x1kHz
    uint8_t rf_mode;
    uint8_t volumn;
    uint8_t signal;
} GlobalData;

extern GlobalData global_data;
