tailieunhanh - Seminar 2: Basic hardware foundations (resets, oscillators and port I/O) Vcc Vcc EA Atmel

Typical features of a modern 8051: • Thirty-two input / output lines. • Internal data (RAM) memory - 256 bytes. • Up to 64 kbytes of ROM memory (usually flash) • Three 16-bit timers / counters • Nine interrupts (two external) with two priority levels. • Low-power Idle and Power-down modes. The different members of this family are suitable for everything from automotive and aerospace systems to TV “remotes”. COPYRIGHT © MICHAEL J. PONT, 2001-2006. Contains material from: Pont, . (2002) “Embedded C”, Addison-Wesley. VSS XTL1 XTL2 . | Seminar 2 Basic hardware foundations resets oscillators and port I O Vcc Copyright Michael J. Pont 2001-2006. Contains material from Pont . 2002 Embedded C Addison-Wesley. PES I - 21 Review The 8051 microcontroller 8051 c Typical features of a modern 8051 Thirty-two input output lines. Internal data RAM memory - 256 bytes. Up to 64 kbytes of ROM memory usually flash Three 16-bit timers counters Nine interrupts two external with two priority levels. Low-power Idle and Power-down modes. The different members of this family are suitable for everything from automotive and aerospace systems to TV remotes . Copyright Michael J. Pont 2001-2006. Contains material from Pont . 2002 Embedded C Addison-Wesley. PES I - 22 Review Central-heating controller void main void Init the system C_HEAT_Init while 1 for ever Super Loop Find out what temperature the user requires via the user interface C_HEAT_Get_Required_Temperature Find out what the current room temperature is via temperature sensor C_HEAT_Get_Actual_Temperature Adjust the gas burner as required C_HEAT_Control_Boiler Copyright Michael J. Pont 2001-2006. Contains material from Pont . 2002 Embedded C Addison-Wesley. PES I - .

TỪ KHÓA LIÊN QUAN