摘要 |
Method for assigning identification codes to a plurality of peripheral devices, comprises the steps of asserting a first signal to all of the peripheral devices to indicate the start of an identification code assignment procedure, and asserting a series of pulses to all of the peripheral devices beginning after the assertion of the first signal. Each of the peripheral devices except a first and a last one of the peripheral devices asserts a logic transition to a respective subsequent one of the peripheral devices in a daisy chain in response to one of the pulses which occurs after the peripheral device receives the logic transition from a prior one of the peripheral devices in the daisy chain, and the first peripheral device asserts the logic transition to a respective subsequent one of the peripheral devices in the daisy chain in response to one of the pulses which occurs after the assertion of the first signal. Each of the peripheral devices derives a respective unique identification code from the number of such pulses which occur between assertion of the first signal and receipt by the peripheral device of the logic transition. |