stm32l4_hal.h 534 B

123456789101112131415161718192021222324
  1. #ifndef STM32L4_HAL_H
  2. #define STM32L4_HAL_H
  3. //You probably don't need this from rest of code
  4. //#include "stm32f4_hal_lowlevel.h"
  5. #include <stdint.h>
  6. void init_uart(void);
  7. void putch(char c);
  8. char getch(void);
  9. void trigger_setup(void);
  10. void trigger_low(void);
  11. void trigger_high(void);
  12. void HW_AES128_Init(void);
  13. void HW_AES128_LoadKey(uint8_t* key);
  14. void HW_AES128_Enc_pretrigger(uint8_t* pt);
  15. void HW_AES128_Enc(uint8_t* pt);
  16. void HW_AES128_Enc_posttrigger(uint8_t* pt);
  17. void HW_AES128_Dec(uint8_t *pt);
  18. #endif // STM32L4_HAL_H