📄 txfifo.h
字号:
/*============================================================================
____________________________________________________________________________
______________________________________________
SSSS M M CCCC Standard Microsystems Corporation
S MM MM SSSS C Austin Design Center
SSS M M M S C 11000 N. Mopac Expressway
S M M SSS C Stonelake Bldg. 6, Suite 500
SSSS M M S CCCC Austin, Texas 78759
SSSS ______________________________________________
____________________________________________________________________________
Copyright(C) 1999, Standard Microsystems Corporation
All Rights Reserved.
This program code listing is proprietary to SMSC and may not be copied,
distributed, or used without a license to do so. Such license may have
Limited or Restricted Rights. Please refer to the license for further
clarification.
____________________________________________________________________________
Notice: The program contained in this listing is a proprietary trade
secret of SMSC, Hauppauge, New York, and is copyrighted
under the United States Copyright Act of 1976 as an unpublished work,
pursuant to Section 104 and Section 408 of Title XVII of the United
States code. Unauthorized copying, adaption, distribution, use, or
display is prohibited by this law.
____________________________________________________________________________
Use, duplication, or disclosure by the Government is subject to
restrictions as set forth in subparagraph(c)(1)(ii) of the Rights
in Technical Data and Computer Software clause at DFARS 52.227-7013.
Contractor/Manufacturer is Standard Microsystems Corporation,
80 Arkay Drive, Hauppauge, New York, 1178-8847.
____________________________________________________________________________
____________________________________________________________________________
<module name> - <module description>
____________________________________________________________________________
comments tbd
____________________________________________________________________________
Revision History
Date Who Comment
________ ___ _____________________________________________________________
07/16/99 tbh -initial version
01/02/01 tbh -back port for the '100
03/15/01 tbh -merged 10x and 20x versions back into single file
for improved maintainability
-converted api macros into functions to facilitate
implementation, and facilitate debugging with an ice
-all regisers are accessed via wrappers, facilitating
relocation to different memory spaces (fpga vs asic, etc),
and for self documenting mnemonics
-register naming convention changed from using a prefix to
indicate the memory space of the register to using a prefix
to indicate the type of register: cpu, mcu, isa
01/28/03 ds Removed function prototypes that are not relevant for 242 and 211 to reclaim code space.
These functions are protected by the #if !defined(k_mcu_97242) && !defined(k_mcu_97211)
02/28/03 ds Further expanded the code reduction to the whole 20x family.
============================================================================*/
// prototypes
#ifndef k_20x_family
void txfifo_purge(uint8 fifo) reentrant;
t_bool txfifo_is_full(uint8 fifo) reentrant;
t_bool txfifo_is_empty(uint8 fifo) reentrant;
#endif
void txfifo_wr(uint8 fifo, uint8 pnr) reentrant;
//---eof------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -