Motorola M68HC08 Reference Manual page 53

Sensorless bldc motor control using the mc68hc908mr32
Hide thumbs Also See for M68HC08:
Table of Contents

Advertisement

DRM028 — Rev 0
MOTOROLA
Freescale Semiconductor, Inc.
Type: S8- signed 8 bit, U8- unsigned 8 bit,S16- signed 16bit, U16-
unsigned 16bit
The system registers Sys3, Motor_Ctrl, Motor_Status, Failure flags
are described by definitions of Sys3_Def, Motor_Ctrl_Def,
Motor_Status_Def, Failure_Def:
typedef union
{
struct
{
unsigned int HV
unsigned int LV
unsigned int EVMm : 1;
unsigned int BIT3 : 1;
unsigned int PCMode : 1;/* BIT4 PCMaster/manual mode Flag */
unsigned int BIT5 : 1;
unsigned int BIT6 : 1;
unsigned int Alignment : 1; /* BIT7 Alignment state
Proceeding */
} B;
/* |Alignment|***|***|PCMode|***|EVMm|LV||HV| */
char R;
} Sys3_Def;
/* System register #3 Definition */
typedef union
{
struct
{
unsigned int StartCtrl : 1; /* Switch Start set to START
Flag */
unsigned int BIT1
unsigned int BIT2
unsigned int BIT3
unsigned int BIT4
unsigned int BIT5
unsigned int BIT6
unsigned int ClearFail : 1; /* BIT7 Clear failure Status
} B;
/* |ClearFail|***|***|***|***|***|***|StartCtrl| */
char R;
} Motor_Ctrl_Def;
/* PC master software Motor Control Flags Definition */
typedef union
{
struct
{
BLDC Motor Control
For More Information On This Product,
Go to: www.freescale.com
: 1;
/* BIT0 High Voltage board Flag */
: 1;
/* BIT1 Low Voltage board */
/* BIT2 EVMm board */
/* BIT3 RESERVED */
/* BIT5 RESERVED */
/* BIT6 RESERVED */
: 1; /* BIT1 RESERVED */
: 1; /* BIT2 RESERVED */
: 1; /* BIT5 RESERVED */
: 1; /* BIT4 RESERVED */
: 1; /* BIT6 RESERVED */
: 1; /* BIT6 RESERVED */
BLDC Motor Control
Application Control
Designer Reference Manual
*/
53

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68hc908mr32

Table of Contents