Révision 396
Ajouté par ahkurklu il y a plus de 4 ans
| branch/KURKLU/sp4b1/SP4b1/SessionM32C_E8a_SYSTEM.ini | ||
|---|---|---|
|
Renesas Communications=USB interface,0,
|
||
|
[Target]
|
||
|
M32C E8a SYSTEM=Renesas Communications
|
||
|
[USER_DATA]
|
||
|
RESET=fe0000
|
||
| branch/KURKLU/sp4b1/SP4b1/SessionM32C_E8a_SYSTEM.hsf | ||
|---|---|---|
|
"{6C4D5B81-FD67-46A9-A089-EA44DCDE47FD}RAMMonitorManagerCtrlBlockInfoFileDir" ""
|
||
|
"{6C4D5B81-FD67-46A9-A089-EA44DCDE47FD}RAMMonitorManagerCtrlBlockInfoFileName" ""
|
||
|
"{7943C44E-7D44-422A-9140-4CF55C88F7D3}DifferenceCtrlViews" "0"
|
||
|
"{D3D4595F-12B4-4866-8F9A-78C30AC967E3}T_CONFIG_FLASH_MODE" "0"
|
||
|
"{D3D4595F-12B4-4866-8F9A-78C30AC967E3}T_CONFIG_GOOPTION" "0 5 0 0"
|
||
|
"{D3D4595F-12B4-4866-8F9A-78C30AC967E3}T_CONFIG_ROUND" "RM_NEAR"
|
||
|
"{D3D4595F-12B4-4866-8F9A-78C30AC967E3}T_CONFIG_STEPOPTION" "0"
|
||
|
"{D3D4595F-12B4-4866-8F9A-78C30AC967E3}T_EVENT_BC1" "0,0,1,0,1,0,1,0,0,0"
|
||
|
"{D3D4595F-12B4-4866-8F9A-78C30AC967E3}T_EVENT_BC2" "0,0,1,0,1,0"
|
||
|
"{D3D4595F-12B4-4866-8F9A-78C30AC967E3}T_EVENT_BC3" "0,0,1,0,1,0,1,0,0,0"
|
||
|
"{D3D4595F-12B4-4866-8F9A-78C30AC967E3}T_EVENT_BC4" "0,0,1,0,1,0,1,0,0,0"
|
||
|
"{D3D4595F-12B4-4866-8F9A-78C30AC967E3}T_SESSION_IS_SAVED" "YES"
|
||
|
[LANGUAGE]
|
||
|
"English"
|
||
|
[CONFIG_INFO_VD1]
|
||
| ... | ... | |
|
[STATUSBAR_DEBUGGER_PANESTATE_VD3]
|
||
|
[STATUSBAR_DEBUGGER_PANESTATE_VD4]
|
||
|
[DEBUGGER_OPTIONS]
|
||
|
"Unknown Options"
|
||
|
"[B|SIMIOF|1] [I|SIMIOADR|0x00000000] [S|ROM_MODE|^"^"] [S|MAP|^"^"] [S|RESOURCE|^"^"]"
|
||
|
[DOWNLOAD_MODULES]
|
||
|
"$(CONFIGDIR)\$(PROJECTNAME).x30" 0 "IEEE695_RENESAS" 0 0 1 0
|
||
|
[CONNECT_ON_GO]
|
||
| branch/KURKLU/sp4b1/SP4b1/SP4b1.c | ||
|---|---|---|
|
/* This file is generated by Renesas Project Generator (Ver.4.18). */
|
||
|
/* NOTE:THIS IS A TYPICAL EXAMPLE. */
|
||
|
/***********************************************************************/
|
||
|
#include"sfr32c87.h"
|
||
|
char touche;
|
||
|
char t;
|
||
|
void main(void){
|
||
|
pd10 = 0x0F;
|
||
|
pu31 = 1;
|
||
|
p10 = 0x00;
|
||
|
while(1){
|
||
|
t=p10;
|
||
|
if(t!= 0xF0){
|
||
|
p10 =0xFE;
|
||
|
t=p10;
|
||
|
if(t==0xDE){
|
||
|
touche ='2';
|
||
|
}
|
||
|
if(t==0x7E){
|
||
|
touche ='3';
|
||
|
}
|
||
|
if(t==0xBE){
|
||
|
touche ='1';
|
||
|
}
|
||
|
p10 =0xFD;
|
||
|
t=p10;
|
||
|
if(t==0xDD){
|
||
|
touche ='5';
|
||
|
}
|
||
|
if(t==0x7D){
|
||
|
touche ='6';
|
||
|
}
|
||
|
if(t==0xBD){
|
||
|
touche ='4';
|
||
|
}
|
||
|
p10 =0xFB;
|
||
|
t=p10;
|
||
|
if(t==0xDB){
|
||
|
touche ='8';
|
||
|
}
|
||
|
if(t==0x7B){
|
||
|
touche ='9';
|
||
|
}
|
||
|
if(t==0xEB){
|
||
|
touche ='7';
|
||
|
}
|
||
|
p10 =0xF7;
|
||
|
t=p10;
|
||
|
if(t==0xE7){
|
||
|
touche ='*';
|
||
|
}
|
||
|
if(t==0x77){
|
||
|
touche ='#';
|
||
|
}
|
||
|
if(t==0xD7){
|
||
|
touche ='0';
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
void main(void)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
Formats disponibles : Unified diff
Fin tp4 décodage de touche