| 1234567891011121314151617181920212223242526272829 |
- #ifndef _BOARD_H_
- #define _BOARD_H_
- # include "mxconstants.h"
- #include "stm32f0xx_hal.h"
- //TODO changé si 1 sortie pouvant etre active sinon toujours a 0
- #define GPIOS1PIN 0
- #define GPIOS2PIN 0
- #define GPIOS3PIN 0
- #define GPIOS4PIN 0
- #define GPIOS5PIN 0
- #define GPIOS6PIN 0
- #define GPIOS7PIN 0
- #define GPIOS8PIN 0
- #define GPIOS9PIN 0
- #define GPIOS10PIN 0
- #define GPIOS11PIN 0
- #define GPIOS12PIN 0
- GPIO_TypeDef listPort[12]={s1_GPIO_Port, s2_GPIO_Port, s3_GPIO_Port, s4_GPIO_Port, s5_GPIO_Port, s6_GPIO_Port, s7_GPIO_Port, s8_GPIO_Port, s9_GPIO_Port, s10_GPIO_Port, s11_GPIO_Port, s12_GPIO_Port};
- uint16_t listPin[12]={s1_Pin, s2_Pin, s3_Pin, s4_Pin, s5_Pin, s6_Pin, s7_Pin, s8_Pin, s9_Pin, s10_Pin, s11_Pin, s12_Pin};
- #endif
|