Return to previous page Return to menu Go to next page

■ How to use INTBACK command in SMPC control mode

Chapter 2 explained how to get the SMPC status using the INTBACK command. As explained in Chapter 2, the INTBACK command can be used in the following three ways.

  1. Get SMPC status only
  2. Acquire peripheral data following SMPC status acquisition
  3. Only get peripheral data

    This chapter will focus on the peripheral control function. This section explains the acquisition of peripheral data following the acquisition of SMPC status in (2) and the acquisition of only peripheral data in (3).

    ● How to get peripheral data following SMPC status acquisition

    This section describes the procedure for acquiring peripheral data following the SMPC status acquisition using the INTBACK command. Since SMPC status acquisition was explained in Chapter 2, the procedure after status data acquisition is shown below. (See Figure 3.3 and Figure 3.4)

    1. Continue request or break request (SH-2)
    2. Peripheral data collection, result parameter setting (SMPC)
    3. SMPC interrupt generation (SMPC)
    4. Peripheral data acquisition (SH-2)
        If there is any remaining peripheral data, repeat from step (1)
    5. End of INTBACK command

    ● How to get peripheral data only

    The procedure for acquiring only peripheral data using the INTBACK command is shown below. (See Figure 3.3 and Figure 3.4)

    1. Command parameter setting (SH-2)
        Table 3.3 shows examples of command parameter settings.
    2. Issue INTBACK command (SH-2)
    3. Peripheral data collection, result parameter setting (SMPC)
    4. SMPC interrupt generation (SMPC)
    5. Peripheral data acquisition (SH-2)
        Endback command (SMPC) when there is no remaining peripheral data
      • Continue request or break request (SH-2)
      • When a continuation request is made, the processing from (3) is repeated.
      • End INTBACK command


Return to previous page Return to menu Go to next page