📄 sp35_devlib.h
字号:
/* ****************************************************************************************************/
/* Development Library Functions for SP35 Application Development */
/* ----------------------------------------------------------------------------------------------- */
/* */
/* Purpose: Software UART, Automatic Register Configurations,... */
/* */
/* */
/* Filename: SP35_DevLib.h */
/* */
/* Target: SP35 */
/* */
/* Dev. Envir: Keil Software C51 V7.10 */
/* 礦ision2 V2.40 */
/* Author: SH */
/* */
/* History: 15.March 2006: First Release */
/* 10.October 2006: Update for Target Datasheet V1.2 */
/* */
/* Status: Release V1.1 */
/* ************************************************************************************************** */
/* (C)opyright Infineon Technologies AG. All rights reserved. */
/* ****************************************************************************************************/
/*********************************************************************************************
Define used crystal. This is needed for the STARTUP.A51 and for "RF_Config()"
**********************************************************************************************/
#define _19687500_Crystal_315MHz
//#define _18080000_Crystal_433_92MHz
/**********************************************************************************
RF Settings - these have only impact if "RF_Config()" is called by
the application. Otherwise the settings here show no effect
***********************************************************************************/
//#define _1PA_Stage
//#define _2PA_Stages
#define _3PA_Stages
#define _FSK
//#define _ASK
#define _NOT_INV
//#define _INV
#define _30_DC
//#define _50_DC
/**********************************************************************************
Peripheral abbrevations
***********************************************************************************/
#define PP0 (1<<0)
#define PP1 (1<<1)
#define PP2 (1<<2)
/**********************************************************************************
Function Prototypes
***********************************************************************************/
#ifdef __C51__
extern void RS232_Init(unsigned char Tx, Rx);
extern void RS232_UnInit(unsigned char Tx, Rx);
extern char putchar(char Result);
extern char getchar(void);
extern void RS232_Send_Hex (unsigned char Byte);
extern void RS232_Send_Bin(char dat, char bits);
extern void RC_Trimming(void);
extern char RF_Config(void);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -