Netcruzer Library API  V2.03
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
nz_board_defaults.h File Reference

Contains hardware specific defines for items NOT on boards. More...

Go to the source code of this file.

Macros

#define LED0_TRIS   (((BYTE*)&NVMKEY)[1])
 
#define LED1_TRIS   (((BYTE*)&NVMKEY)[1])
 
#define LED2_TRIS   (((BYTE*)&NVMKEY)[1])
 
#define LED3_TRIS   (((BYTE*)&NVMKEY)[1])
 
#define LED4_TRIS   (((BYTE*)&NVMKEY)[1])
 
#define LED5_TRIS   (((BYTE*)&NVMKEY)[1])
 
#define LED6_TRIS   (((BYTE*)&NVMKEY)[1])
 
#define LED7_TRIS   (((BYTE*)&NVMKEY)[1])
 
#define LED0_IO   (((BYTE*)&NVMKEY)[1])
 
#define LED1_IO   (((BYTE*)&NVMKEY)[1])
 
#define LED2_IO   (((BYTE*)&NVMKEY)[1])
 
#define LED3_IO   (((BYTE*)&NVMKEY)[1])
 
#define LED4_IO   (((BYTE*)&NVMKEY)[1])
 
#define LED5_IO   (((BYTE*)&NVMKEY)[1])
 
#define LED6_IO   (((BYTE*)&NVMKEY)[1])
 
#define LED7_IO   (((BYTE*)&NVMKEY)[1])
 
#define BUTTON0_TRIS   (((BYTE*)&NVMKEY)[1])
 
#define BUTTON1_TRIS   (((BYTE*)&NVMKEY)[1])
 
#define BUTTON2_TRIS   (((BYTE*)&NVMKEY)[1])
 
#define BUTTON3_TRIS   (((BYTE*)&NVMKEY)[1])
 
#define BUTTON4_TRIS   (((BYTE*)&NVMKEY)[1])
 
#define BUTTON5_TRIS   (((BYTE*)&NVMKEY)[1])
 
#define BUTTON6_TRIS   (((BYTE*)&NVMKEY)[1])
 
#define BUTTON7_TRIS   (((BYTE*)&NVMKEY)[1])
 
#define BUTTON0_IO   (1)
 
#define BUTTON1_IO   (1)
 
#define BUTTON2_IO   (1)
 
#define BUTTON3_IO   (1)
 
#define BUTTON4_IO   (1)
 
#define BUTTON5_IO   (1)
 
#define BUTTON6_IO   (1)
 
#define BUTTON7_IO   (1)
 
#define mInitAllLEDs()
 
#define mLED_1
 
#define mLED_2
 
#define mLED_3
 
#define mLED_4
 
#define mGetLED_1()   1
 
#define mGetLED_2()   1
 
#define mGetLED_3()   1
 
#define mGetLED_4()   1
 
#define mLED_1_On()
 
#define mLED_2_On()
 
#define mLED_3_On()
 
#define mLED_4_On()
 
#define mLED_1_Off()
 
#define mLED_2_Off()
 
#define mLED_3_Off()
 
#define mLED_4_Off()
 
#define mLED_1_Toggle()
 
#define mLED_2_Toggle()
 
#define mLED_3_Toggle()
 
#define mLED_4_Toggle()
 
#define DIR_LED0   LED0_TRIS
 
#define DIR_LED1   LED1_TRIS
 
#define DIR_LED2   LED2_TRIS
 
#define DIR_LED3   LED3_TRIS
 
#define DIR_LED4   LED4_TRIS
 
#define DIR_LED5   LED5_TRIS
 
#define DIR_LED6   LED6_TRIS
 
#define DIR_LED7   LED7_TRIS
 
#define DIR_LED8   LED8_TRIS
 
#define LAT_LED0   (((BYTE*)&NVMKEY)[1])
 
#define LAT_LED1   (((BYTE*)&NVMKEY)[1])
 
#define LAT_LED2   (((BYTE*)&NVMKEY)[1])
 
#define LAT_LED3   (((BYTE*)&NVMKEY)[1])
 
#define LAT_LED4   (((BYTE*)&NVMKEY)[1])
 
#define LAT_LED5   (((BYTE*)&NVMKEY)[1])
 
#define LAT_LED6   (((BYTE*)&NVMKEY)[1])
 
#define LAT_LED7   (((BYTE*)&NVMKEY)[1])
 
#define LAT_LED8   (((BYTE*)&NVMKEY)[1])
 
#define DIR_BUTTON0   BUTTON0_TRIS
 
#define DIR_BUTTON1   BUTTON1_TRIS
 
#define DIR_BUTTON2   BUTTON2_TRIS
 
#define DIR_BUTTON3   BUTTON3_TRIS
 
#define DIR_BUTTON4   BUTTON4_TRIS
 
#define DIR_BUTTON5   BUTTON5_TRIS
 
#define DIR_BUTTON6   BUTTON6_TRIS
 
#define DIR_BUTTON7   BUTTON7_TRIS
 
#define DIR_BUTTON8   BUTTON8_TRIS
 
#define PIN_BUTTON0   BUTTON0_IO
 
#define PIN_BUTTON1   BUTTON1_IO
 
#define PIN_BUTTON2   BUTTON2_IO
 
#define PIN_BUTTON3   BUTTON3_IO
 
#define PIN_BUTTON4   BUTTON4_IO
 
#define PIN_BUTTON5   BUTTON5_IO
 
#define PIN_BUTTON6   BUTTON6_IO
 
#define PIN_BUTTON7   BUTTON7_IO
 
#define PIN_BUTTON8   BUTTON8_IO
 

Detailed Description

Contains hardware specific defines for items NOT on boards.

Author
Modtronix Engineering
Compiler:
MPLAB XC16 Compiler

Description

Contains hardware specific defines for items NOT on boards.

Software License Agreement

The software supplied herewith is owned by Modtronix Engineering, and is protected under applicable copyright laws. The software supplied herewith is intended and supplied to you, the Company customer, for use solely and exclusively on products manufactured by Modtronix Engineering. The code may be modified and can be used free of charge for commercial and non commercial applications. All rights are reserved. Any use in violation of the foregoing restrictions may subject the user to criminal sanctions under applicable laws, as well as to civil liability for the breach of the terms and conditions of this license.

THIS SOFTWARE IS PROVIDED IN AN 'AS IS' CONDITION. NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.

File History

2012-08-06, David H. (DH):

  • Initial version