22 #ifndef __SLICETIMER_H__ 23 #define __SLICETIMER_H__ 32 #define SLT0_INT_FREQUENCY 10000 33 #define SLT1_INT_FREQUENCY 0 35 #define SLT_CNTRL_RW (1 << 26) 36 #define SLT_CNTRL_INTEN (1 << 25) 37 #define SLT_CNTRL_TIMEN (1 << 24) 39 #define SLT_TSR_ST (1 << 24) 41 #define SLT_TSR_COUNT(freq) ((freq) ? ((IPB_CLOCK)/(freq)) : (0xFFFFFF)) 44 rtems_device_minor_number,
48 #define SLTIME_DRIVER_TABLE_ENTRY \ 49 { slt_initialize, NULL, NULL, \ 52 void mpc5200_slt_isr(uint32_t);
53 rtems_isr mpc5200_slt0_isr(rtems_irq_hdl_param);
54 rtems_isr mpc5200_slt1_isr(rtems_irq_hdl_param);
55 void mpc5200_init_slt(uint32_t);
56 void mpc5200_set_slt_count(uint32_t);
57 void mpc5200_enable_slt_int(uint32_t);
58 void mpc5200_disable_slt_int(uint32_t);
59 uint32_t mpc5200_check_slt_status(uint32_t);
63 void Install_slt(rtems_device_minor_number);
ISR_Handler rtems_isr
Return type for interrupt handler.
Definition: intr.h:52
rtems_status_code
Classic API Status.
Definition: status.h:43