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

Contains hardware specific defines for the in6BT Bluetooth iMod module. More...

Go to the source code of this file.

Functions

void in6bt_Init (BYTE imodPort)
 
void in6bt_Enable (BYTE imodPort, BOOL enable)
 

Detailed Description

Contains hardware specific defines for the in6BT Bluetooth iMod module.

Author
Modtronix Engineering
Compiler:
MPLAB XC16 Compiler

Description

This module includes hardware specific defines for the in6BT Bluetooth iMod module. This file is normally not used by itself, but is included by other files that implement iMod ports. For example, the nz_pt66din6.h and nz_pt66eci.h. For details on using this module, see the documentation of these file.

Configuration

The following defines are used to configure this module, and should be placed in projdefs.h. Note that all items marked [-DEFAULT-] are defaults, and do not have to be placed in projdefs.h if they contain desired configuration! For details, see Project Configuration.

// *********************************************************************
// ---------- nz_in6bt Configuration (from nz_in6bt.h) -----------
// *********************************************************************
#define IN6BT_COUNT 1 //Gives number of in6BT modules in system
#define IMOD2_IS_IN6BT //iMod port 2 has a in6BT module, CHANGE as required!

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

Function Documentation

void in6bt_Enable ( BYTE  imodPort,
BOOL  enable 
)

Enable in6BT iMod module

Parameters
imodPortPort, is a 0-n value
enable1 to enable, 0 to disable
void in6bt_Init ( BYTE  imodPort)

Initialize in6BT iMod module

Parameters
imodPort