r_pdl_cgc_rx62nxx.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*""FILE COMMENT""*******************************************************
  2. * System Name : CGC API for RX62Nxx
  3. * File Name : r_pdl_cgc_RX62Nxx.h
  4. * Version : 1.02
  5. * Contents : CGC 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_CGC_RX62Nxx_H
  23. #define R_PDL_CGC_RX62Nxx_H
  24. /* Library prototypes */
  25. bool R_CGC_SetAll(
  26. const uint32_t,
  27. const uint32_t,
  28. const uint32_t,
  29. const uint32_t,
  30. const uint16_t
  31. );
  32. bool R_CGC_ControlAll(
  33. const uint16_t
  34. );
  35. bool R_CGC_GetStatusAll(
  36. volatile uint8_t * const
  37. );
  38. /* Macro definitions */
  39. #define R_CGC_Set(a, b, c, d, e) \
  40. R_CGC_SetAll( (a), (b), (c), (d), (e) )
  41. #define R_CGC_Control(a) \
  42. R_CGC_ControlAll( (a) )
  43. #define R_CGC_GetStatus(a) \
  44. R_CGC_GetStatusAll( (a) )
  45. #endif
  46. /* End of file */