stepRocker Open Source TMCL  1.00
 All Data Structures Files Functions Variables Typedefs Enumerations Macros
Functions | Variables
stepRocker.c File Reference

Main file. More...

#include <stdlib.h>
#include "derivative.h"
#include "bits.h"
#include "stepRocker.h"
#include "SysTick.h"
#include "RS485.h"
#include "Commands.h"
#include "Globals.h"
#include "SPI.h"
#include "TMC4361.h"
#include "TMC262.h"
#include "IO.h"
#include "SysControl.h"
#include "Can.h"
#include "Usb.h"
Include dependency graph for stepRocker.c:

Functions

const unsigned char Protection[] __attribute__ ((section(".cfmconfig")))
 
void SetBASEPRI (uint32_t Level)
 
void InitClocks (void)
 Initialize the clock PLL. More...
 
void LowLevelInit (void)
 Low level initialization of the MCU. More...
 
int main (void)
 Main program. More...
 

Variables

const UCHAR VersionString [] ="1111V100"
 Imported version string.
 

Detailed Description

Main file.

Author
Trinamic Motion Control GmbH & Co KG
Version
2.20

This file contains the main() function.

Function Documentation

InitClocks ( void  )

Initialize the clock PLL.

For VLx7 CPUs the following frequencies are used: Core: 72MHz Bus: 36MHz FlexBus: 36MHz Flash: 18MHz

This routine has been generated by ProcessorExpert and cleaned up manually.

Here is the caller graph for this function:

LowLevelInit ( void  )

Low level initialization of the MCU.

This function does some low level initialization of the MCU. Generated by ProcessorExpert and then cleaned up manually.

Here is the caller graph for this function:

main ( void  )

Main program.

This is the main function. It does all necessary initializations and then enters the main loop.

Here is the call graph for this function: