power_management.h 474 B

1234567891011121314151617181920
  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. void (*VRF_EN_5)( bool state );
  15. }
  16. PM_Handle_t;
  17. extern const PM_Handle_t PMHandle;
  18. #endif