miniFOC 1.0.3
This open-source project aims to accomplish a FOC(Field Oriented Control) scheme that is operatable with minimum costs in China.
system.h
Go to the documentation of this file.
1/**************************************************************************/
9#ifndef MINIFOC_SYSTEM_SYSTEM_H_
10#define MINIFOC_SYSTEM_SYSTEM_H_
11
12void systick_config(void);
13void delayms(unsigned long count);
14void delay_decrement(void);
15void user_memset(void *buf, unsigned char data, unsigned char num);
16unsigned int float_to_int32(float data0);
17float int32_to_float(unsigned int data0);
18
19#endif // MINIFOC_SYSTEM_SYSTEM_H_
void systick_config(void)
initialize systick timer to implementation delay function
Definition: system.c:20
void delay_decrement(void)
delay counter decrement function, called by systick handler
Definition: system.c:38
unsigned int float_to_int32(float data0)
convert floating point numbers to int32 type data
Definition: system.c:60
void user_memset(void *buf, unsigned char data, unsigned char num)
format buffer array to fixed value, replace memset function
Definition: system.c:49
void delayms(unsigned long count)
millisecond delay function, any time time.
Definition: system.c:30
float int32_to_float(unsigned int data0)
convert int32 to floating point numbers type data
Definition: system.c:70