text: /***********************************************************************/
  /*  													               */
  /*      PROJECT NAME :  RTOSDemo                                       */
  /*      FILE         :  hardware_setup.c                               */
  /*      DESCRIPTION  :  Hardware Initialization                        */
  /*      CPU SERIES   :  RL78 - G1C                                     */
  /*      CPU TYPE     :  R5F10JBC                                       */
  /*  													               */
  /*      This file is generated by e2studio.                        */
  /*  													               */
  /***********************************************************************/
  
  /* Scheduler include files. */
  #include "FreeRTOS.h"
  
  void HardwareSetup( void )
  {
  	portDISABLE_INTERRUPTS();
  
  	/* Set fMX */
  	CMC = 0x00;
  	MSTOP = 1U;
  
  	/* Set fMAIN */
  	MCM0 = 0U;
  
  	/* Set fSUB */
  	XTSTOP = 1U;
  	OSMC = 0x10;
  
  	/* Set fCLK */
  	CSS = 0U;
  
  	/* Set fIH */
  	HIOSTOP = 0U;
  
  	/* LED port initialization. */
  	LED_INIT();
  }
  