Download ST7 8-bit MCU family user guide

Transcript
Table of Contents
10.5.3 Polling the push-buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .302
10.5.4 Reading and filtering the wind direction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .303
10.5.5 The periodic interrupt service routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .304
10.5.6 Computation of the results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .305
10.5.7 Handling of the serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .307
10.5.8 Initialization of the peripherals and the parameters . . . . . . . . . . . . . . . . . . . . . . . . . . .308
10.6 MEMORY ALLOCATION AND COMPILE AND LINK OPTIONS . . . . . . . . . . . . 310
10.7 CONCLUSION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
11 SOME LAST REMARKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
11/315