Figure 5-12 Can Timer Interrupt Control - Fujitsu FR Family FR60 Lite User Manual

32-bit microcontroller bits pot red can motor board
Hide thumbs Also See for FR Family FR60 Lite:
Table of Contents

Advertisement

As shown in "Figure 5-12 CAN timer interrupt control", around Line 817 in MAIN.C, there is the timer
interrupt function IRQ_reload1. In it, motor rotation information transmit, temperature sensor information
transmit, and receive processing are handled.
__interrupt void IRQ_reload1(void)
{
(omitted)
for (i = 0; i < 3; i++)
{
(omitted)
/* Cycle check */
if (counter[i] >= val)
{
switch (i)
{
case 0:
canSendTask01();
break;
case 1:
canSendTask02();
break;
case 2:
canRecvTask();
break;
default:
break;
}
}
}
(omitted)
}
←Motor rotation information transmit
←Temperature sensor information transmit
←Receive processing

Figure 5-12 CAN timer interrupt control

- 101 -
AN07-00180-3E

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb91f267n

Table of Contents