r_pdl_lvd.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*""FILE COMMENT""*******************************************************
  2. * System Name : Voltage detection circuit API for RX62Nxx
  3. * File Name : r_pdl_lvd.h
  4. * Version : 1.02
  5. * Contents : LVD API header
  6. * Customer :
  7. * Model :
  8. * Order :
  9. * CPU : RX
  10. * Compiler : RXC
  11. * OS : Nothing
  12. * Programmer :
  13. * Note :
  14. ************************************************************************
  15. * Copyright, 2011. Renesas Electronics Corporation
  16. * and Renesas Solutions Corporation
  17. ************************************************************************
  18. * History : 2011.04.08
  19. * : Ver 1.02
  20. * : CS-5 release.
  21. *""FILE COMMENT END""**************************************************/
  22. #ifndef R_PDL_LVD_H
  23. #define R_PDL_LVD_H
  24. #include "r_pdl_common_defs_RX62Nxx.h"
  25. /* Function prototypes */
  26. bool LVD_Control(
  27. uint8_t
  28. );
  29. /* LVD2 and LVD1 control */
  30. #define PDL_LVD_VDET2_DISABLE_VDET1_DISABLE 0x01u
  31. #define PDL_LVD_VDET2_DISABLE_VDET1_RESET 0x02u
  32. #define PDL_LVD_VDET2_DISABLE_VDET1_INTERRUPT 0x04u
  33. #define PDL_LVD_VDET2_RESET_VDET1_DISABLE 0x08u
  34. #define PDL_LVD_VDET2_INTERRUPT_VDET1_DISABLE 0x10u
  35. #define PDL_LVD_VDET2_INTERRUPT_VDET1_RESET 0x20u
  36. #endif
  37. /* End of file */