Data Structures | |
struct | PWMdatastruct |
struct | Countdatastruct |
struct | DtoAdatastruct |
Functions | |
int | init (void) |
int | PWM_Ipac_Init (void) |
int | PWM_Ipac (int ict, int duty, unsigned long frequency) |
int | Counter_Ipac (int ict, u8 trigger, u16 load, count_callback callback, void *privatedata, u8 flags) |
int | DtoA_pwm (int dac, int output) |
int | DtoA_Set (int dac, int percent) |
int | rc (void) |
|
Configure and start a 16 bit down counter Currently this function is just used to set up IC counters. It configures an ICT to be a counter, starts it, and stores the information about it in CountData[IOCNUMPORTS] For a more in depth discussion of the callback/trigger/flags see the IOC module
|
|
Change the output % of a filtered pwm DtoA
|
|
Change the output % of a general IPAC (could be either)
|
|
Initializes the board This sets up and intializes: The status LED The Pll The 2 serial ports The 2 internal AtoD modules Disconnects IRQ from E1 and enables IRQ's (X is not enables) The realtime scheduler The IOC PWM data structures The IC counter data structures The DtoA data structures Starts the global down counter. Initializes the PLD Initializes the Keypad Initializes the PLL Initializes the SPI and external RTC Initializes the eeprom |
|
Configure and start a PWM Currently this function is just used to set up IOC PWMs. It configures an ICT to be a PWM, starts it, and stores the information about it in PWMdata[PWMSYS]
|
|
Initialize the Ipacs PWM data structures Called by IpacInit
|
|
rc "run commands" entry into the end users application |