Skip to main content

Utility

Utility

The components of the GR-SAKURA Utility library can be found below.

system_reboot

Description
Reset
Syntax
void system_reboot(mode)
Parameters
mode: Specify the mode of reset (REBOOT_USERAPP or REBOOT_FIRMWARE).
Returns
None
Note
Specify #include <reboot.h> for use.

Sample Program

This example shows a reset every 1 second.


#include <Arduino.h>
#include <reboot.h>

void setup()
{
    pinMode(PIN_LED0, OUTPUT);
    digitalWrite(PIN_LED0, HIGH);
 
    delay(1000);
 
    system_reboot(REBOOT_USERAPP);
//    system_reboot(REBOOT_FIRMWARE);
 
}
 
void loop()
{
}

Support

Support Communities

Support Communities

Get quick technical support online from Renesas Engineering Community technical staff.
Browse Articles

Knowledge Base

Browse our knowledge base for helpful articles, FAQs, and other useful resources.
Submit a Ticket

Submit a Ticket

Need to ask a technical question or share confidential information?