forked from renesas-rx/amazon-freertos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare RX65N-TB and SX-ULPGN (via UART) projects of CC-RX/CS+ & CC-R…
…X/e2 studio & GNURX/e2 studio for SheltyDog-san's later work
- Loading branch information
Showing
144 changed files
with
30,127 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/HardwareDebug/ |
85 changes: 85 additions & 0 deletions
85
demos/renesas/rx65n-tb-uart-sx-ulpgn/ccrx-csplus/.settings/fittemp/r_sci_rx.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<#-- | ||
Copyright(C) 2015 Renesas Electronics Corporation | ||
RENESAS ELECTRONICS CONFIDENTIAL AND PROPRIETARY | ||
This program must be used solely for the purpose for which it was furnished | ||
by Renesas Electronics Corporation. No part of this program may be reproduced | ||
or disclosed to others, in any form, without the prior written permission of | ||
Renesas Electronics Corporation. | ||
--> | ||
<#-- = DECLARE FUNCTION INFORMATION HERE =================== --> | ||
<#-- | ||
(Step 1) Explanation: These variables are necessary information for the function header. | ||
Please fill up or leave blank, but do not delete | ||
--> | ||
<#assign Function_Base_Name = "R_SCI_PinSet"> | ||
<#assign Function_Description = "This function initializes pins for r_sci_rx module"> | ||
<#assign Function_Arg = "none"> | ||
<#assign Function_Ret = "none"> | ||
<#assign Version = 1.00> | ||
|
||
<#-- = DECLARE FUNCTION CONTENT HERE ======================= --> | ||
<#-- | ||
(Step 2) Explanation: Function content. | ||
- Macro [initialsection] : | ||
Any text that goes into this section will be printed out 1 time per function | ||
input [postfix] :Use this variable to add the channel number to the function base name. | ||
--> | ||
<#macro initialsection postfix> | ||
<#assign Function_Name = "${Function_Base_Name}${postfix}"> | ||
<#include "lib/functionheader.ftl"> | ||
void ${Function_Name}() | ||
{ | ||
R_BSP_RegisterProtectDisable(BSP_REG_PROTECT_MPC); | ||
</#macro> | ||
|
||
<#-- | ||
(Step 3) Explanation: Function content. | ||
- Macro [peripheralpincode] : Any text that goes into this section will be printed out 1 time per peripheral | ||
- input [pin] : Available info includes: | ||
pin.pinName :The name of pin, eg “SSLA0” | ||
pin.assignedPinName :The pin assigned to, eg “P32” | ||
pin.pinMPC :The port number of assigned pin, eg “P32” has portNume = “3” | ||
pin.portNum :The bit number of the assigned pin, eg “P32” has pinBitNum = “2” | ||
pin.pinBitNum :The value of MPC | ||
--> | ||
<#macro peripheralpincode pin> | ||
</#macro> | ||
|
||
<#-- | ||
(Step 4) Explanation: Function content. | ||
- Macro [channelpincode] : Any text that goes into this section will be printed out 1 time per channel | ||
- input [pin] : Same as above | ||
--> | ||
<#macro channelpincode pin> | ||
|
||
/* Set ${pin.pinName} pin */ | ||
MPC.${pin.assignedPinName}PFS.BYTE = 0x${pin.pinMPC}U; | ||
PORT${pin.portNum}.PMR.BIT.B${pin.pinBitNum} = 1U; | ||
</#macro> | ||
|
||
<#macro channelpincodeextra pin postfix> | ||
</#macro> | ||
|
||
<#-- | ||
(Step 5) Explanation: Function content. | ||
- Macro [endsection] : Any text that goes into this section will be printed out 1 time last | ||
--> | ||
<#macro endsection> | ||
|
||
R_BSP_RegisterProtectEnable(BSP_REG_PROTECT_MPC); | ||
} | ||
</#macro> | ||
|
||
<#-- | ||
(Step 6) Explanation: Header file content | ||
- Macro [headerfilesection] : Any text that goes into this section will be printed out 1 time in the header file | ||
- input [postfix] :Use this variable to add the channel number to the function base name. | ||
--> | ||
<#macro headerfilesection postfix> | ||
void ${Function_Base_Name}${postfix}(); | ||
</#macro> | ||
|
||
<#macro headerfilesectionExtra postfix> | ||
</#macro> | ||
|
||
<#-- = END OF FILE ========================================= --> |
11,363 changes: 11,363 additions & 0 deletions
11,363
demos/renesas/rx65n-tb-uart-sx-ulpgn/ccrx-csplus/aws_demos.mtpj
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.