rx65n_hal.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef RX65N_HAL_H
  2. #define RX65N_HAL_H
  3. //You probably don't need this from rest of code
  4. //#include "stm32f4_hal_lowlevel.h"
  5. #ifdef USE_FULL_ASSERT
  6. /**
  7. * @brief The assert_param macro is used for function's parameters check.
  8. * @param expr: If expr is false, it calls assert_failed function
  9. * which reports the name of the source file and the source
  10. * line number of the call that failed.
  11. * If expr is true, it returns no value.
  12. * @retval None
  13. */
  14. #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
  15. /* Exported functions ------------------------------------------------------- */
  16. void assert_failed(uint8_t* file, uint32_t line);
  17. #else
  18. #define assert_param(expr) ((void)0)
  19. #endif /* USE_FULL_ASSERT */
  20. #include <stdint.h>
  21. void init_uart(void);
  22. void putch(char c);
  23. char getch(void);
  24. void trigger_setup(void);
  25. void trigger_low(void);
  26. void trigger_high(void);
  27. // void HW_AES128_Init(void);
  28. // void HW_AES128_LoadKey(uint8_t* key);
  29. // void HW_AES128_Enc(uint8_t* pt);
  30. // void HW_AES128_Enc_pretrigger(uint8_t* pt);
  31. // void HW_AES128_Enc_posttrigger(uint8_t* pt);
  32. // void HW_AES128_Dec(uint8_t *pt);
  33. #endif // RX65N_HAL_H