34#ifndef __SLICETIMER_H__
35#define __SLICETIMER_H__
44#define SLT0_INT_FREQUENCY 10000
45#define SLT1_INT_FREQUENCY 0
47#define SLT_CNTRL_RW (1 << 26)
48#define SLT_CNTRL_INTEN (1 << 25)
49#define SLT_CNTRL_TIMEN (1 << 24)
51#define SLT_TSR_ST (1 << 24)
53#define SLT_TSR_COUNT(freq) ((freq) ? ((IPB_CLOCK)/(freq)) : (0xFFFFFF))
60#define SLTIME_DRIVER_TABLE_ENTRY \
61 { slt_initialize, NULL, NULL, \
64void mpc5200_slt_isr(uint32_t);
65rtems_isr mpc5200_slt0_isr(rtems_irq_hdl_param);
66rtems_isr mpc5200_slt1_isr(rtems_irq_hdl_param);
67void mpc5200_init_slt(uint32_t);
68void mpc5200_set_slt_count(uint32_t);
69void mpc5200_enable_slt_int(uint32_t);
70void mpc5200_disable_slt_int(uint32_t);
71uint32_t mpc5200_check_slt_status(uint32_t);
uint32_t rtems_device_major_number
This integer type represents the major number of devices.
Definition: io.h:103
uint32_t rtems_device_minor_number
This integer type represents the minor number of devices.
Definition: io.h:115
ISR_Handler rtems_isr
This type defines the return type of interrupt service routines.
Definition: intr.h:123
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85