
AN07-00200-03E
8
Figure 4-10 peripheral circuit diagram for temperature sensor
............................................. 73
Figure 4-11 Single-unit operation flowcharts
...................................................................... 74
Figure 4-12 Operation mode settings (when using volume switch)
....................................... 75
Figure 4-13 Operation mode settings (when using the temperature sensor)
........................... 75
Figure 4-14 Main function program
................................................................................... 76
Figure 4-15 SW2 interrupts (LED on/off processing)
.......................................................... 77
Figure 4-16 SW3 interrupts (buzzer output processing)
....................................................... 77
Figure 4-17 A/D converter interrupts
................................................................................. 78
Figure 5-1 Example of vehicle LIN applications
................................................................. 80
Figure 5-2 Main LIN network configuration
...................................................................... 81
Figure 5-3 LIN communication flow
................................................................................. 83
Figure 5-4 LIN frame configuration
.................................................................................. 83
Figure 5-5 Main LIN network configuration
...................................................................... 86
Figure 5-6 Example of communication sequence between the master and slaves during normal
Figure 5-8 Entire LIN communication control registers
....................................................... 89
Figure 5-9 LIN communication flowchart (main routine)
.................................................... 97
Figure 5-10 LIN communication flowchart (interrupt routine: UART reception interrupts)
Figure 5-11 LIN communication flowchart (interrupt routine: input capture interrupts)
Figure 5-12 Operations points of interrupt processes
........................................................... 99
Figure 5-13 Synch break interrupt control
........................................................................ 100
Figure 5-14 Input capture operation in the synch field
....................................................... 101
Figure 5-15 Input capture (ICU) interrupt controls
............................................................ 102
Figure 5-16 LIN-UART receive interrupt control
.............................................................. 103
Figure 5-17 Receive determination processing
................................................................. 104
Figure 5-18 Timeout detection processing
........................................................................ 105
Figure 5-19 Data send processing
.................................................................................... 106
Figure 5-20 Data reception processing
............................................................................. 107
Figure 5-21 Submain processing
..................................................................................... 108