?? dip_sw.h
字號:
/*----------------------------------------------------------------------------
* Copyright (c) 2001 by National Semiconductor Corporation
* National Semiconductor Corporation
* 2900 Semiconductor Drive
* Santa Clara, California 95051
*
* All rights reserved
*
*<<<-------------------------------------------------------------------------
* File Contents:
* dip_sw.h - Dip SW related definitions
*
* Project: USB firmware
* Author : Avi Fishman (Avi.Fishman@nsc.com)
* Date : Jan 2001
*----------------------------------------------------------------------->>>*/
#ifndef __dip_sw_h__
#define __dip_sw_h__
#include "..\drv\voyager_reg.h"
#include "..\include\common.h"
byte invert_byte(byte source);
#define GET_DIP_SW1() invert_byte(~KBSIN)
#define SET_ID_LEDS(x) PFDOUT = ((PFDOUT & 0xC0) | ((u_char)(x) & 0x3F))
#define SET_USB_LED() PFDOUT = (PFDOUT & ~0x40)
#define RESET_USB_LED() PFDOUT = (PFDOUT | 0x40)
#endif __dip_sw_h__
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -