r_pdl_dac_10_rx62nxx.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*""FILE COMMENT""*******************************************************
  2. * System Name : DAC API for RX62Nxx
  3. * File Name : r_pdl_dac_10_RX62Nxx.h
  4. * Version : 1.02
  5. * Contents : DAC 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_DAC_RX62Nxx_H
  23. #define R_PDL_DAC_RX62Nxx_H
  24. /* Library prototypes */
  25. bool R_DAC_10_CreateAll(
  26. const uint8_t,
  27. const uint16_t,
  28. const uint16_t
  29. );
  30. bool R_DAC_10_DestroyAll(
  31. const uint8_t
  32. );
  33. bool R_DAC_10_WriteAll(
  34. const uint8_t,
  35. const uint16_t,
  36. const uint16_t
  37. );
  38. /* Macro definitions */
  39. #define R_DAC_10_Create(a, b, c) \
  40. ( \
  41. R_DAC_10_CreateAll( (a), (b), (c) ) \
  42. )
  43. #define R_DAC_10_Destroy(a) \
  44. ( \
  45. R_DAC_10_DestroyAll( (a) ) \
  46. )
  47. #define R_DAC_10_Write(a, b, c) \
  48. ( \
  49. R_DAC_10_WriteAll( (a), (b), (c) ) \
  50. )
  51. #endif
  52. /* End of file */