So, lets cut to the chase!
We need three pieces of software for this:
- configure the timers and registers and data set for each event required
- turn pins on at specific times based on timer events and data set provided
- turn pins off at specific times based on timer events and data set provided
- pin number to fire (1 - 12)
- delay after input event to begin pulse (0 - 65535) in ticks
- duration of pulse (0 - 65535) in ticks
- ECT time stamp that the delay is based off (0 - 65535) absolute number - must handle roll over
2) fired by PIT timer - reads data set and switches pins ON as per setup done by 1)
3) fired by PIT timer - reads data set and switches pins OFF as per setup done by 1)
Sean, shoot holes in this! :-)
Fred.