7 //#define PCD_TIMER_USE_PIT
10 #ifdef PCD_TIMER_USE_PIT
11 #define TIMER_FOR_PCD 0
13 #define PCD_TIMER_FREQUENCY 1000000
14 #define PCD_TIMER BSP_BUS_CLOCK
16 #define PCD_TIMER_INT BSP_PIT1_INT_VECTOR
17 #define PCD_TIMER BSP_LAST_TIMER
18 #define _pcd_timer_mask_int _pit_mask_int
19 #define _pcd_timer_unmask_int _pit_unmask_int
20 #define _pcd_timer_init_freq _pit_init_freq
21 #define _pcd_clear_int _pit_clear_int
24 void SetTimer100us(uint16_t timeOut
);
25 void Delay1s(uint8_t delay
);
26 void Delay1ms(uint32_t delay
);
27 void Delay256P3us(uint8_t delay
);
28 void Delay256P2us(uint8_t delay
);
29 void Delay256us(uint8_t delay
);
30 void Delay1us(uint32_t delay
);