efm32tg11b_hal.h 415 B

123456789101112131415161718
  1. #ifndef EFM32TG11B_HAL_H
  2. #define EFM32TG11B_HAL_H
  3. void init_uart(void);
  4. void putch(char c);
  5. char getch(void);
  6. void trigger_setup(void);
  7. void trigger_low(void);
  8. void trigger_high(void);
  9. void HW_AES128_Init(void);
  10. void HW_AES128_LoadKey(uint8_t* key);
  11. void HW_AES128_Enc(uint8_t* pt);
  12. void HW_AES128_Enc_pretrigger(uint8_t* pt);
  13. void HW_AES128_Enc_posttrigger(uint8_t* pt);
  14. void HW_AES128_Dec(uint8_t *ct);
  15. #endif