Reg51.h in RRKboard_0.0.zip


8051 based microcontroller project...Original Link
    Sponsored links

			
/**
 * \addtogroup REG51
 * @{
 */

/*****************************************************************************/
/**
 * \file REG51.h
 * Generic 80C51 and 80C31 Header file for Keil C51.
 * \author Copyright (c) 2005, Murray R. Van Luyn. <vanluynm@iinet.net.au>
 * \version 0.0
 * \date 27-06-05
 */
/*****************************************************************************/

/*****************************************************************************
 *
 *     THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
 *     OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 *     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 *     ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
 *     DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 *     DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 *     GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 *     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 *     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 *     NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 *     SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 *****************************************************************************/

#ifndef REG51_H
#define REG51_H

/*****************************************************************************
 *
 *                               Defined Constants
 *
 *****************************************************************************/

/*****************************************************************************
 *
 *                          Byte width register defines.
 *
 *****************************************************************************/

sfr P0   = 0x80;     /* Port 0                                               */
sfr P1   = 0x90;     /* Port 1                                               */
sfr P2   = 0xA0;     /* Port 2     			

			...
			...
			... to be continued.

  This is a preview. To get the complete source file, 
  please click here to download the whole source code package.

			
			


Project Files

    Sponsored links
NameSizeDate
 RRKboard.h3.86 kB07-13-05 09:19
 RRKboard.chm27.18 kB07-13-05 09:20
 Reg51.h7.29 kB06-29-05 22:39
 RRKboard.c8.98 kB07-13-05 09:17
...

Related Items

    Sponsored links