SST39VF 1601源代码

  • 名称:SST39VF 1601源代码
  • 类型:单片机学习
  • 授权方式:免费版
  • 更新时间:09-10 23:01:30
  • 下载要求:无需注册
  • 下载次数:6920
  • 语言简体中文
  • 大小:353 KB
  • 推荐度:4 星级
《SST39VF 1601源代码》简介

标签:单片机开发,单片机原理,
SST39VF 1601源代码

// 这一段无需改动
#ifndef TRUE
#define TRUE 1
#endif

#ifndef FALSE
#define FALSE 0
#endif

#ifndef NULL
#define NULL (void )0
#endif

typedef unsigned char uint8; / 无符号8位整型变量 /
typedef signed char int8; / 有符号8位整型变量 /
typedef unsigned short uint16; / 无符号16位整型变量 /
typedef signed short int16; / 有符号16位整型变量 /
typedef unsigned int uint32; / 无符号32位整型变量 /
typedef signed int int32; / 有符号32位整型变量 /
typedef float fp32; / 单精度浮点数(32位长度) /
typedef double fp64; / 双精度浮点数(64位长度) /
/
"以下为程序配置"
project configs in here
/
// 这一段无需改动
#include "S3C2410.h"
#include "target.h"
#include "UART.h"
#include "LCDDRIVE.h"

#include <stdio.h>
#include <ctype.h>
#include <stdlib.h> 字串9

// IRQ中断向量地址表
extern uint32 VICVectAddr[];

// 使能/禁能IRQ、FIQ中断
__swi(0x00) void SwiHandle1(int Handle);

#define IRQDisable() SwiHandle1(0)
#define IRQEnable() SwiHandle1(1)
#define FIQDisable() SwiHandle1(2)
#define FIQEnable() SwiHandle1(3)

/ CPU时钟设置(PLLCON控制值) /
/ 50.00MHz (外部晶振为12MHz时) /
#define MDIV_50 0x5C
#define PDIV_50 0x4
#define SDIV_50 0x2

字串8

, 大小:353 KB
Tag:单片机学习单片机开发,单片机原理单片机学习

《SST39VF 1601源代码》相关下载