ECE155 Lecture Notes - Lecture 8: Infinite Loop, Interrupt Handler
Document Summary
One source of events is through polling the sensors every so often; sensor readings then generate events: important events may interrupt the processor. Cpu talks to the sensors and actuators through two methods: memory-mapped io. Writes memory from sensor and reads from actuators. Sends out appropriate requests on the system bus for them to be listened: port-mapped io or special instructions. Executes special in and out instructions, which may transmit data on a special bus, or set a specific signal on the bus. Actively synchronizes a device and a processor.