main.h

来自「modbus协议原代码」· C头文件 代码 · 共 34 行

H
34
字号
//ICC-AVR application builder : 2004-10-27 10:06:29
// Target : M16
// Crystal: 8.0000Mhz

#include <iom16v.h>
#include <macros.h>
#include "eeprom.h"
#include "stdio.h"
#include "string.h"
#include <math.h>

typedef unsigned char	uint8;
typedef signed	 char 	int8;
typedef unsigned int	uint16;
typedef signed 	 int	int16;
typedef unsigned long	uint32;
typedef signed	 long	int32;

#define	sendEnable()	(PORTB |= BIT(7))
#define receEnable()	(PORTB &= ~BIT(7))

#define	blinkLed()		(PORTB ^= BIT(6))

//main.c
extern uint32 tickCount;

//function
//init.c
void varInit(void);
void port_init(void);
void init_devices(void);


#include "modbus16.h"

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?