80C51 family microcontrollers are equippedwith up to two inputs which may be used asgeneral-purpose interrupts. A typical deviceprovides a total of 5 interrupt sources. Timer0 and Timer 1 generate vectored interrupts,as does the Serial Port. Applications thatrequire more than two externally signaledvectored interrupts, and do not use one ormore of the counters or the serial port, can beconfigured to use these facilities for additionalexternal interrupt inputs.This note describes a method to configurethe timer/counters and the serial port for useas interrupt inputs (see Figure 1). Minimumresponse time is a goal for this configuration.
猜您喜欢
评论