clock_config.h 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /* Copyright Statement:
  2. *
  3. * This software/firmware and related documentation ("AutoChips Software") are
  4. * protected under relevant copyright laws. The information contained herein is
  5. * confidential and proprietary to AutoChips Inc. and/or its licensors. Without
  6. * the prior written permission of AutoChips inc. and/or its licensors, any
  7. * reproduction, modification, use or disclosure of AutoChips Software, and
  8. * information contained herein, in whole or in part, shall be strictly
  9. * prohibited.
  10. *
  11. * AutoChips Inc. (C) 2022. All rights reserved.
  12. *
  13. * BY OPENING THIS FILE, RECEIVER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
  14. * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("AUTOCHIPS SOFTWARE")
  15. * RECEIVED FROM AUTOCHIPS AND/OR ITS REPRESENTATIVES ARE PROVIDED TO RECEIVER
  16. * ON AN "AS-IS" BASIS ONLY. AUTOCHIPS EXPRESSLY DISCLAIMS ANY AND ALL
  17. * WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
  18. * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
  19. * NONINFRINGEMENT. NEITHER DOES AUTOCHIPS PROVIDE ANY WARRANTY WHATSOEVER WITH
  20. * RESPECT TO THE SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY,
  21. * INCORPORATED IN, OR SUPPLIED WITH THE AUTOCHIPS SOFTWARE, AND RECEIVER AGREES
  22. * TO LOOK ONLY TO SUCH THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO.
  23. * RECEIVER EXPRESSLY ACKNOWLEDGES THAT IT IS RECEIVER'S SOLE RESPONSIBILITY TO
  24. * OBTAIN FROM ANY THIRD PARTY ALL PROPER LICENSES CONTAINED IN AUTOCHIPS
  25. * SOFTWARE. AUTOCHIPS SHALL ALSO NOT BE RESPONSIBLE FOR ANY AUTOCHIPS SOFTWARE
  26. * RELEASES MADE TO RECEIVER'S SPECIFICATION OR TO CONFORM TO A PARTICULAR
  27. * STANDARD OR OPEN FORUM. RECEIVER'S SOLE AND EXCLUSIVE REMEDY AND AUTOCHIPS'S
  28. * ENTIRE AND CUMULATIVE LIABILITY WITH RESPECT TO THE AUTOCHIPS SOFTWARE
  29. * RELEASED HEREUNDER WILL BE, AT AUTOCHIPS'S OPTION, TO REVISE OR REPLACE THE
  30. * AUTOCHIPS SOFTWARE AT ISSUE, OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE
  31. * CHARGE PAID BY RECEIVER TO AUTOCHIPS FOR SUCH AUTOCHIPS SOFTWARE AT ISSUE.
  32. */
  33. /******************************************************************************
  34. * @version: V2.0.1 AC7840x Demo
  35. ******************************************************************************/
  36. #ifndef _CLOCK_CONIFG_H
  37. #define _CLOCK_CONIFG_H
  38. /*!
  39. * @file clock_config.h
  40. *
  41. * @brief clock config function definition.
  42. */
  43. #ifdef __cplusplus
  44. extern "C" {
  45. #endif /* __cplusplus */
  46. /* =========================================== Includes =========================================== */
  47. #include <stdbool.h>
  48. #include <stdint.h>
  49. #include "ckgen_drv.h"
  50. /* =========================================== Typedef ============================================ */
  51. /* ========================================== Variables =========================================== */
  52. /*! @brief User configuration structure 0 */
  53. extern clock_manager_user_config_t clockMan1_InitConfig0;
  54. /*! @brief Count of user configuration structures */
  55. #define CLOCK_MANAGER_CONFIG_CNT 1U
  56. /*! @brief Array of pointers to User configuration structures */
  57. extern clock_manager_user_config_t const *g_clockManConfigsArr[];
  58. /*! @brief User peripheral configuration structure 0 */
  59. extern peripheral_clock_config_t peripheralClockConfig0[];
  60. /*! @brief Count of peripheral clock user configurations */
  61. #define NUM_OF_PERIPHERAL_CLOCKS_0 23U
  62. /*! @brief Count of user Callbacks */
  63. #define CLOCK_MANAGER_CALLBACK_CNT 0U
  64. /*! @brief Array of User callbacks */
  65. extern clock_manager_callback_user_config_t *g_clockManCallbacksArr[];
  66. /* ==================================== Functions declaration ===================================== */
  67. /* ====================================== Functions define ======================================== */
  68. #ifdef __cplusplus
  69. }
  70. #endif /* __cplusplus */
  71. #endif /* _CLOCK_CONIFG_H */
  72. /* ============================================= EOF ============================================== */