26 lines
717 B
C
Raw Normal View History

2023-07-13 11:27:03 +08:00
/******************************************************************
* @file ape_cnt.h
* @brief: [file description]
* @author: xuekun.zhang
* @Date 2022625
* COPYRIGHT NOTICE: (c) smartlogictech. All rights reserved.
* Change_date Owner Change_content
* 2022625 xuekun.zhang create file
*****************************************************************/
#ifndef APE_CNT_H
#define APE_CNT_H
#include "typedef.h"
#include "ucp_utility.h"
extern int32_t apeid_cnt_ad_val[8];
#define GET_CNT_VAL(apeid) do_read_volatile((volatile uint32_t*)(apeid_cnt_ad_val[apeid]))
void ape_cnt_init();
//uint32_t get_cnt_val();
#endif