Application configuration


Data Structures

struct  motorControlFlags_t

Defines

#define BOARD_ID   3
#define DIRECTION_FORWARD   0
#define DIRECTION_REVERSE   1
#define FOSC   8000
 CPU core frequency in kHz.
#define MOTOR_CONTROL_CENTER   0
#define NO_ANSWER   0x99
#define POTENTIOMETER   1
#define REV_ID   1
#define SOFT_ID   1
#define STATE_RUN   1
#define STATE_STOP   0
#define TWI_BAUDRATE   80
#define TWI_CMD_MASTER_READ   0x20
#define TWI_CMD_MASTER_WRITE   0x10
#define TWI_CMD_MASTER_WRITE_ALOT   0x30
#define TWI_SLAVE
#define TWI_SLAVE_ADDRESS   0x10

Define Documentation

#define BOARD_ID   3

Definition at line 52 of file config.h.

Referenced by ushell_task().

#define DIRECTION_FORWARD   0

Definition at line 59 of file config.h.

Referenced by ADCISR(), Commutate(), and ushell_task().

#define DIRECTION_REVERSE   1

Definition at line 62 of file config.h.

Referenced by ADCISR(), and ushell_task().

#define FOSC   8000

CPU core frequency in kHz.

Definition at line 41 of file config.h.

Referenced by twi_lib_init().

#define MOTOR_CONTROL_CENTER   0

Definition at line 70 of file config.h.

Referenced by ADCISR(), and main().

#define NO_ANSWER   0x99

Definition at line 56 of file config.h.

#define POTENTIOMETER   1

Definition at line 71 of file config.h.

Referenced by ADCISR().

#define REV_ID   1

Definition at line 54 of file config.h.

Referenced by ushell_task().

#define SOFT_ID   1

Definition at line 53 of file config.h.

Referenced by ushell_task().

#define STATE_RUN   1

Definition at line 68 of file config.h.

Referenced by main(), and ushell_task().

#define STATE_STOP   0

Definition at line 65 of file config.h.

Referenced by ushell_task().

#define TWI_BAUDRATE   80

Definition at line 49 of file config.h.

Referenced by twi_lib_init().

#define TWI_CMD_MASTER_READ   0x20

Definition at line 45 of file config.h.

#define TWI_CMD_MASTER_WRITE   0x10

Definition at line 44 of file config.h.

#define TWI_CMD_MASTER_WRITE_ALOT   0x30

Definition at line 46 of file config.h.

#define TWI_SLAVE

Definition at line 48 of file config.h.

#define TWI_SLAVE_ADDRESS   0x10

Definition at line 50 of file config.h.

Referenced by TWInit().


Generated on Wed Oct 22 16:03:26 2008 for AVR496 : Atmel BLDC control on ATAVRMC301 with ATtiny861 by  doxygen 1.5.7.1