Rev 3 | Rev 7 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3 | Rev 6 | ||
---|---|---|---|
Line 40... | Line 40... | ||
40 | /* USER CODE END Includes */ |
40 | /* USER CODE END Includes */ |
41 | 41 | ||
42 | /* Private define ------------------------------------------------------------*/ |
42 | /* Private define ------------------------------------------------------------*/ |
43 | #define prescale_rpm 1000 |
43 | #define prescale_rpm 1000 |
44 | 44 | ||
45 | #define VBatt_1_Pin GPIO_PIN_0 |
45 | #define V_Batt1_Pin GPIO_PIN_0 |
46 | #define VBatt_1_GPIO_Port GPIOA |
46 | #define V_Batt1_GPIO_Port GPIOC |
47 | #define VBatt_2_Pin GPIO_PIN_1 |
47 | #define V_Batt2_Pin GPIO_PIN_1 |
48 | #define VBatt_2_GPIO_Port GPIOA |
48 | #define V_Batt2_GPIO_Port GPIOC |
49 | #define VMAP_Pin GPIO_PIN_2 |
49 | #define V_Oil_Pin GPIO_PIN_2 |
50 | #define VMAP_GPIO_Port GPIOA |
50 | #define V_Oil_GPIO_Port GPIOC |
51 | #define VOil_Pin GPIO_PIN_3 |
51 | #define V_MAP_Pin GPIO_PIN_3 |
52 | #define VOil_GPIO_Port GPIOA |
52 | #define V_MAP_GPIO_Port GPIOC |
53 | #define NSS_CHT_Pin GPIO_PIN_4 |
53 | #define NSS_CHT_Pin GPIO_PIN_4 |
54 | #define NSS_CHT_GPIO_Port GPIOA |
54 | #define NSS_CHT_GPIO_Port GPIOA |
55 | #define SPI_NSS1_Pin GPIO_PIN_4 |
55 | #define SPI_NSS1_Pin GPIO_PIN_4 |
56 | #define SPI_NSS1_GPIO_Port GPIOC |
56 | #define SPI_NSS1_GPIO_Port GPIOC |
57 | #define SPI1CD_Pin GPIO_PIN_5 |
57 | #define SPI1CD_Pin GPIO_PIN_5 |