SteppersCAN: add CAN & start working on steppers

This commit is contained in:
eddyem
2020-04-18 20:11:59 +03:00
parent e51a45040b
commit 131f6fab44
29 changed files with 1939 additions and 510 deletions

View File

@@ -182,6 +182,11 @@ TRUE_INLINE void StartHSI48(){
#define GPIO_MODER_MODER15_AF ((uint32_t)0x80000000)
/****************** FLASH Keys **********************************************/
#define RDP_Key ((uint16_t)0x00A5)
#define FLASH_KEY1 ((uint32_t)0x45670123)
#define FLASH_KEY2 ((uint32_t)0xCDEF89AB)
/************************* ADC *************************/
/* inner termometer calibration values
* Temp = (V30 - Vsense)/Avg_Slope + 30