xinxin.li 79c795ee4d 1. UCP4008-SL-EVB feature enhancement#1740/1741;
2. 将pp1s中断从APE0移到PET RFM1;
3. 去掉APE上的接收时隙中断,并修改接收帧号/时隙号/时隙cycle的计算方式;
4. 测试case:case21、case24、case34.
2024-04-24 20:28:37 +08:00

35 lines
792 B
C

#ifndef _APE_MTIMER_H_
#define _APE_MTIMER_H_
#include "typedef.h"
void ape_mtimer_int_init(uint16_t nTimerId);
void ape_mtimer_int_clear(uint16_t nTimerId);
void ape_mtimer_sync(int32_t nScsId);
void ape_mtimer_unsync(int32_t nScsId);
int32_t mtimer_sfn_para_init(int32_t nTmrId, int32_t nScsId);
void ape_slot_ctw_set(uint8_t nTmrId);
int32_t mtimer_ape_slot_callback(uint8_t nTmrId);
int32_t get_tx_nr_sfn();
int32_t get_tx_lte_sfn();
int32_t get_tx_nr_slot();
int32_t get_tx_lte_subframe();
int32_t get_rx_nr_sfn();
int32_t get_rx_lte_sfn();
int32_t get_rx_nr_slot();
int32_t get_rx_lte_subframe();
int32_t get_tx_nr_slot_cycle();
int32_t get_tx_lte_subframe_cycle();
int32_t get_rx_nr_slot_cycle();
int32_t get_rx_lte_subframe_cycle();
#endif