Creating a pulse for injector drivers

Johan Rodling Johan.Rodling at Jrt.SE
Thu Jan 16 07:05:18 GMT 1997


S. Lastuka wrote:

[snip]
	>>An output compare can be
	>>used to turn off a pulse after a certain time, but how to you turn the
	>>pulse on in the first place?  Please help.

I dont know if you are using all off the OC outputs, but if you don't, use =
the OC1 to turn all other OC's on and then let the OC turn it self off. Thi=
s is done by setting some bits in the OC1M reg (0x100C), each bit correspon=
ds to one of the OC outputs. You should also set witch data to be output at=
 OC1 compare in the OC1D reg (0x100D).

Hope this helps

Regards=20

	/JR

-74 Jaguar XJ5.3 L (V12)
---------------------------------------------------------------------------=
----------------
Johan Rodling                                          Email:  Johan.Rodlin=
g at Jrt.SE
JoRoTech HB                                          Phone:  +46 (0)18 36 9=
0 91     =20
Borje, Stromsborg                                     Fax:    +46 (0)18 36 =
91 02     =20
SE-755 92 Uppsala, Sweden                   Mobile: +46 (0)708 385 380





More information about the Diy_efi mailing list