USB-BDI
|
headerfile for BDI_555.c More...
#include "BDI.h"
Go to the source code of this file.
Defines | |
#define | BDI_DATA35_LENGTH 5 |
#define | BDI_DATA10_LENGTH 2 |
#define | BDI_10_OFFSET 1 |
#define | BDI_35STATUS_MASK 0x60 |
#define | BDI_35STATUS_VALID 0x00 |
#define | BDI_35STATUS_SEQ_ERROR 0x20 |
#define | BDI_35STATUS_CPU_INT 0x40 |
#define | BDI_35STATUS_NULL 0x60 |
#define | TIMEOUT_EXCEPTION_ON |
#define | EXCEPTION_COUNT 20 |
Functions | |
void | BDI_555_init () |
this method configures the MPC555 specific IO's | |
void | BDI_555_hard_reset () |
this method resets the BDI if MPC555 is selected | |
void | BDI_555_35 () |
Send to and receive from BDI (35 bits) | |
void | BDI_555_10 () |
Send to and receive from BDI (10 bits) | |
Variables | |
volatile __bit | exceptionOnTimeout |
volatile unsigned char | exceptionCount |
#define BDI_10_OFFSET 1 |
#define BDI_35STATUS_CPU_INT 0x40 |
#define BDI_35STATUS_MASK 0x60 |
#define BDI_35STATUS_NULL 0x60 |
#define BDI_35STATUS_SEQ_ERROR 0x20 |
#define BDI_35STATUS_VALID 0x00 |
#define BDI_DATA10_LENGTH 2 |
#define BDI_DATA35_LENGTH 5 |
#define EXCEPTION_COUNT 20 |
#define TIMEOUT_EXCEPTION_ON |
void BDI_555_10 | ( | ) |
void BDI_555_35 | ( | ) |
volatile unsigned char exceptionCount |
volatile __bit exceptionOnTimeout |