English
Language : 

M16C26A-24NT Datasheet, PDF (5/16 Pages) Renesas Technology Corp – Sample Program (24-Number Time-of-Day Clock)
ç
M16C/26A Group
Sample Program (24-Number Time-of-Day Clock)
6. Definition of the RSK Functionality and the RSK_LIB APIs and Common Functions Used by the
24-Number Time-of-Day Clock
6.1 Definition of the RSK Functionality
RSKdefine.h file
In this application, the following functionalities (those shown in red) are set.
/*********************************************************
The boot information on CPU is defined
Usually, this mode is used
***************************************௿***ॴ**අ**Ϟ***ʔ**υ**ͷ***࣮*/ߦՄೳ
//#define _CPU_M16C26A_NORMAL_MOD
/* Use in low power mode can be performed. */
Operation in low power mode executable
#define _CPU_M16C26A_32KHZ_MOD
/* Use of access of a flash can be performed. */
//#define _CPU_M16C26A_DATAFLASF_USE
/********************************************************
The hardware function which RSK supports is chosen
/********************************************************/
//#define _USE_KEY
//#define _USE_BUZZER
//#define _OPTION_USE_AD
//#define _OPTION_USE_COM_RX
//#define _OPTION_USE_COM_TX
//#define _OPTION_USE_INFRAEDRX
//#define _OPTION_USE_INFRAEDTX
#define _OPTION_USE_SW
Push keys enabled
//#define _OPTION_USE_LED
//#define _OPTION_USE_IO
Individual definition of each selected functionality
#if defined _OPTION_USE_SW
#define _OPTION_USE_PUSHSW1
#define _OPTION_USE_PUSHSW2
#define _OPTION_USE_PUSHSW3
#endif
All of SW1–SW3 are enabled.
REJ05B0810_0110 Rev.1.10
2007.11
Page 5 of 16