#ifndef __STC_H__
#define __STC_H__

#include <intrins.h>
#include <stdio.h>
#include <string.h>

#include "stc32g.h"

#define MAIN_Fosc       24000000L   //¶¨ÒåÖ÷Ê±ÖÓ

typedef bit BOOL;
typedef unsigned char BYTE;
typedef unsigned int WORD;
typedef unsigned long DWORD;

typedef unsigned char u8;
typedef unsigned int u16;
typedef unsigned long u32;

#define uchar unsigned char
#define uint unsigned int 
//typedef unsigned char uchar;
//typedef unsigned int uint;
typedef unsigned int ushort;
typedef unsigned long ulong;

typedef unsigned char uint8_t;
typedef unsigned int uint16_t;
typedef unsigned long uint32_t;

#endif
