board.h 736 B

1234567891011121314151617181920212223242526272829
  1. #ifndef _BOARD_H_
  2. #define _BOARD_H_
  3. # include "mxconstants.h"
  4. #include "stm32f0xx_hal.h"
  5. //TODO changé si 1 sortie pouvant etre active sinon toujours a 0
  6. #define GPIOS1PIN 0
  7. #define GPIOS2PIN 0
  8. #define GPIOS3PIN 0
  9. #define GPIOS4PIN 0
  10. #define GPIOS5PIN 0
  11. #define GPIOS6PIN 0
  12. #define GPIOS7PIN 0
  13. #define GPIOS8PIN 0
  14. #define GPIOS9PIN 0
  15. #define GPIOS10PIN 0
  16. #define GPIOS11PIN 0
  17. #define GPIOS12PIN 0
  18. 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};
  19. 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};
  20. #endif