📄 upsd_hardware.h
字号:
/*------------------------------------------------------------------------------
upsd_hardware.h
Version:
June 2004 Version 0.2 - Edited comments.
Dependencies: None
Description:
This header file contains the hardware specific defines for the uPSD processor
being used.
*******************************************************************************
Important Note: These values must be modified for the specific target hardware.
Some of the parameters may be used in the startup code (see Startu32.a51 file)
or other device drivers to set up timers, prescalers, etc.
*******************************************************************************
Copyright (c) 2004 STMicroelectronics Inc.
This example demo code is provided as is and has no warranty,
implied or otherwise. You are free to use/modify any of the provided
code at your own risk in your applications with the expressed limitation
of liability (see below) so long as your product using the code contains
at least one uPSD product (device).
LIMITATION OF LIABILITY: NEITHER STMicroelectronics NOR ITS VENDORS OR
AGENTS SHALL BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF USE, LOSS OF DATA,
INTERRUPTION OF BUSINESS, NOR FOR INDIRECT, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES OF ANY KIND WHETHER UNDER THIS AGREEMENT OR
OTHERWISE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
------------------------------------------------------------------------------*/
#ifndef _UPSD_HARDWARE_H_
#define _UPSD_HARDWARE_H_
#define DK3200 1 //True // Dev Board Hardware Select
#define DK3000 0 //False // Dev Board Hardware Select
#define FREQ_OSC 36000 // uPSD MCU Oscillator Freq.
#define PSD_REG_ADDR 0x0200 // uPSD PSD Register I/O base addr
#define LCD_BASE_ADDR 0x0300 // LCD base address
#define RS0_BASE_ADDR 0x2000 // RS0 (PSD 8KB SRAM) base address (0x2000-0x3FFF)
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -