power_management.h 436 B

12345678910111213141516171819
  1. #ifndef POWER_MANAGEMENT_H
  2. #define POWER_MANAGEMENT_H
  3. //The driver manages the power of the RF circuit
  4. #include <stdint.h>
  5. #include <stdbool.h>
  6. typedef struct
  7. {
  8. bool (*Init)( );
  9. void (*DeInit)();
  10. void (*INPTRG)( bool state );
  11. void (*INPTRG_1)( bool state );
  12. void (*INPTRG_EN)( bool state );
  13. void (*EXT_REG_MR)( bool state );
  14. }
  15. PM_Handle_t;
  16. extern const PM_Handle_t PMHandle;
  17. #endif