tools.h 422 B

1234567891011121314151617181920212223242526
  1. #ifndef TOOLS_H__
  2. #define TOOLS_H__
  3. #include <stdint.h>
  4. #include <stdbool.h>
  5. #include "define.h"
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9. /**@brief button and led init function.
  10. *
  11. * @param[in] No Param.
  12. */
  13. float ntc_data(float vol);
  14. uint8_t xor_data(uint8_t *data, int len);
  15. uint32_t Get_Rand(void);
  16. void rng_init(uint32_t seed);
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20. #endif // TOOLS_H__
  21. /** @} */