stepRocker Open Source TMCL
1.00
|
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"
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. | |
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.
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.
main | ( | void | ) |
Main program.
This is the main function. It does all necessary initializations and then enters the main loop.