Other Parts Discussed in Thread: CC2530, TIMAC, Z-STACK
我自己思路是可不可以直接向裸机一样来配置,中断处理的时候来触发OSAL层事件,这样可以不可以呢
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
zigbee 2.5.1a中有描述
/* Channel mode definitions */
#define HAL_TIMER_CH_MODE_INPUT_CAPTURE 0x01 // Channel Mode Input-Capture
#define HAL_TIMER_CH_MODE_OUTPUT_COMPARE 0x02 // Channel Mode Output_Compare
#define HAL_TIMER_CH_MODE_OVERFLOW 0x04 // Channel Mode Overflow
#define HAL_TIMER_CH_MODE_MASK (HAL_TIMER_CH_MODE_INPUT_CAPTURE | \
HAL_TIMER_CH_MODE_OUTPUT_COMPARE | \
HAL_TIMER_CH_MODE_OVERFLOW)
这个只是在timer.h中的定义,但是timer.c并没有给出任何借口函数
/*********************************************************************
NOTE: Z-Stack and TIMAC no longer use CC2530 Timer 1, Timer 3, and
Timer 4. The supporting timer driver module is removed and left
for the users to implement their own application timer
functions.
*********************************************************************/