Açıklama Yok
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

util.h 335B

1234567891011121314151617181920
  1. /*
  2. * util.h
  3. */
  4. #ifndef __UTIL_H__
  5. #define __UTIL_H__
  6. void heartbeat_init(void);
  7. void heartbeat_run(void);
  8. int32_t convert_two_complement(int32_t b);
  9. bool str_startswith(const char *str, const char *start);
  10. void reset_to_bootloader(void);
  11. void reset_to_main(void);
  12. void hexdump(uint8_t *buff, size_t len);
  13. #endif // __UTIL_H__