Adc_Ip_HeaderWrapper_S32K14x_Extended.h 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /*==================================================================================================
  2. * Project : RTD AUTOSAR 4.4
  3. * Platform : CORTEXM
  4. * Peripheral : ADC
  5. * Dependencies : none
  6. *
  7. * Autosar Version : 4.4.0
  8. * Autosar Revision : ASR_REL_4_4_REV_0000
  9. * Autosar Conf.Variant :
  10. * SW Version : 1.0.0
  11. * Build Version : S32K1_RTD_1_0_0_HF01_D2109_ASR_REL_4_4_REV_0000_20210907
  12. *
  13. * (c) Copyright 2020-2021 NXP Semiconductors
  14. * All Rights Reserved.
  15. *
  16. * NXP Confidential. This software is owned or controlled by NXP and may only be
  17. * used strictly in accordance with the applicable license terms. By expressly
  18. * accepting such terms or by downloading, installing, activating and/or otherwise
  19. * using the software, you are agreeing that you have read, and that you agree to
  20. * comply with and are bound by, such license terms. If you do not agree to be
  21. * bound by the applicable license terms, then you may not retain, install,
  22. * activate or otherwise use the software.
  23. ==================================================================================================*/
  24. #ifndef ADC_IP_HEADERWRAPPER_S32K14X_EXTENDED_H
  25. #define ADC_IP_HEADERWRAPPER_S32K14X_EXTENDED_H
  26. /**
  27. * @file
  28. *
  29. * @addtogroup adc_ip Adc IPL
  30. * @{
  31. */
  32. /* Important Note: This file cannot be used independently.
  33. * It depends on platform header files to be included before including it */
  34. /*==================================================================================================
  35. * SOURCE FILE VERSION INFORMATION
  36. ==================================================================================================*/
  37. #define ADC_IP_VENDOR_ID_HEADERWRAPPER_S32K14X_EXTENDED_H 43
  38. #define ADC_IP_AR_RELEASE_MAJOR_VERSION_HEADERWRAPPER_S32K14X_EXTENDED_H 4
  39. #define ADC_IP_AR_RELEASE_MINOR_VERSION_HEADERWRAPPER_S32K14X_EXTENDED_H 4
  40. #define ADC_IP_AR_RELEASE_REVISION_VERSION_HEADERWRAPPER_S32K14X_EXTENDED_H 0
  41. #define ADC_IP_SW_MAJOR_VERSION_HEADERWRAPPER_S32K14X_EXTENDED_H 1
  42. #define ADC_IP_SW_MINOR_VERSION_HEADERWRAPPER_S32K14X_EXTENDED_H 0
  43. #define ADC_IP_SW_PATCH_VERSION_HEADERWRAPPER_S32K14X_EXTENDED_H 0
  44. /*==================================================================================================
  45. * DEFINITIONS
  46. ==================================================================================================*/
  47. /*
  48. * ADC_SC1ZZ_COUNT is the number of extended channels, there are 16 base
  49. * channels that are available on all K14X platforms, including this one
  50. */
  51. #define ADC_MAX_CHAN_COUNT (16u + ADC_SC1ZZ_COUNT)
  52. /* Register access defines */
  53. #define REG_ACCESS(reg, index) (*(volatile uint32*)(&(((&(reg))[(index)]))))
  54. #define SC1(Base, RegIndex) REG_ACCESS(Base->ASC1A, (RegIndex))
  55. #define R(Base, RegIndex) REG_ACCESS(Base->ARA, (RegIndex))
  56. /** @} */
  57. #endif /* ADC_IP_HEADERWRAPPER_S32K14X_EXTENDED_H */