instaspin_foc
Macros | Functions | Variables
proj_lab01.c File Reference

CPU and Inverter Set-up and introduction to interfacing to the ROM library. More...

#include <math.h>
#include "sw/modules/math/src/32b/math.h"
#include "sw/modules/memCopy/src/memCopy.h"
#include "main.h"

Go to the source code of this file.

Macros

#define LED_BLINK_FREQ_Hz   5
 

Functions

void main (void)
 
interrupt void mainISR (void)
 The main interrupt service (ISR) routine. More...
 

Variables

uint_least32_t gLEDcnt = 0
 
HAL_Handle halHandle
 The hal handle. More...
 
USER_Params gUserParams
 The user parameters. More...
 
HAL_PwmData_t gPwmData = {0,0,0}
 Defines the PWM data. More...
 
HAL_AdcData_t gAdcData = {0,0,0,0,0,0,0}
 Defines the ADC data. More...
 
volatile MOTOR_Vars_t gMotorVars = MOTOR_Vars_INIT
 

Detailed Description

CPU and Inverter Set-up and introduction to interfacing to the ROM library.

(C) Copyright 2011, Texas Instruments, Inc.

Definition in file proj_lab01.c.