diff --git a/APP/QualityReport(ECU_APP,DefaultBuild).txt b/APP/QualityReport(ECU_APP,DefaultBuild).txt
index 20b0415..4790c33 100644
--- a/APP/QualityReport(ECU_APP,DefaultBuild).txt
+++ b/APP/QualityReport(ECU_APP,DefaultBuild).txt
@@ -1,25 +1,53 @@
QualityReport
-2024年6月22日 15:57:13
+2024年7月13日 20:37:31
------ Start build(ECU_APP, DefaultBuild) ------
+C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe r_cg_port.c -cpu=S2 -o DefaultBuild\r_cg_port.obj "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F103AA.DVF" -g -g_line -I . -I user -I DataFlash -c -msg_lang=english
+C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe r_cg_serial.c -cpu=S2 -o DefaultBuild\r_cg_serial.obj "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F103AA.DVF" -g -g_line -I . -I user -I DataFlash -c -msg_lang=english
+C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe r_cg_cgc_user.c -cpu=S2 -o DefaultBuild\r_cg_cgc_user.obj "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F103AA.DVF" -g -g_line -I . -I user -I DataFlash -c -msg_lang=english
+C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe r_systeminit.c -cpu=S2 -o DefaultBuild\r_systeminit.obj "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F103AA.DVF" -g -g_line -I . -I user -I DataFlash -c -msg_lang=english
+C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe r_cg_adc.c -cpu=S2 -o DefaultBuild\r_cg_adc.obj "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F103AA.DVF" -g -g_line -I . -I user -I DataFlash -c -msg_lang=english
+C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe r_cg_serial_user.c -cpu=S2 -o DefaultBuild\r_cg_serial_user.obj "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F103AA.DVF" -g -g_line -I . -I user -I DataFlash -c -msg_lang=english
+C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe r_main.c -cpu=S2 -o DefaultBuild\r_main.obj "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F103AA.DVF" -g -g_line -I . -I user -I DataFlash -c -msg_lang=english
+C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe r_cg_cgc.c -cpu=S2 -o DefaultBuild\r_cg_cgc.obj "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F103AA.DVF" -g -g_line -I . -I user -I DataFlash -c -msg_lang=english
+C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe r_cg_adc_user.c -cpu=S2 -o DefaultBuild\r_cg_adc_user.obj "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F103AA.DVF" -g -g_line -I . -I user -I DataFlash -c -msg_lang=english
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe user\appTask.c -cpu=S2 -o DefaultBuild\appTask.obj "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F103AA.DVF" -g -g_line -I . -I user -I DataFlash -c -msg_lang=english
+C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe r_cg_port_user.c -cpu=S2 -o DefaultBuild\r_cg_port_user.obj "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F103AA.DVF" -g -g_line -I . -I user -I DataFlash -c -msg_lang=english
+C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe r_cg_timer.c -cpu=S2 -o DefaultBuild\r_cg_timer.obj "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F103AA.DVF" -g -g_line -I . -I user -I DataFlash -c -msg_lang=english
+C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe r_cg_wdt_user.c -cpu=S2 -o DefaultBuild\r_cg_wdt_user.obj "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F103AA.DVF" -g -g_line -I . -I user -I DataFlash -c -msg_lang=english
+C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe r_cg_timer_user.c -cpu=S2 -o DefaultBuild\r_cg_timer_user.obj "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F103AA.DVF" -g -g_line -I . -I user -I DataFlash -c -msg_lang=english
+C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe r_cg_wdt.c -cpu=S2 -o DefaultBuild\r_cg_wdt.obj "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F103AA.DVF" -g -g_line -I . -I user -I DataFlash -c -msg_lang=english
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe user\hwCtrl.c -cpu=S2 -o DefaultBuild\hwCtrl.obj "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F103AA.DVF" -g -g_line -I . -I user -I DataFlash -c -msg_lang=english
+W0511106:The folder "DataFlash" specified by the "-I" option is not found.
+W0511106:The folder "DataFlash" specified by the "-I" option is not found.
+user\appTask.c(41):W0520177:Variable "temp" was declared but never referenced
+W0511106:The folder "DataFlash" specified by the "-I" option is not found.
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\ccrl.exe user\MotorCtrl.c -cpu=S2 -o DefaultBuild\MotorCtrl.obj "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F103AA.DVF" -g -g_line -I . -I user -I DataFlash -c -msg_lang=english
W0511106:The folder "DataFlash" specified by the "-I" option is not found.
W0511106:The folder "DataFlash" specified by the "-I" option is not found.
-user\hwCtrl.c(214):W0520186:Pointless comparison of unsigned integer with zero
-user\appTask.c(41):W0520177:Variable "temp" was declared but never referenced
-user\hwCtrl.c(231):W0520186:Pointless comparison of unsigned integer with zero
W0511106:The folder "DataFlash" specified by the "-I" option is not found.
+W0511106:The folder "DataFlash" specified by the "-I" option is not found.
+W0511106:The folder "DataFlash" specified by the "-I" option is not found.
+W0511106:The folder "DataFlash" specified by the "-I" option is not found.
+W0511106:The folder "DataFlash" specified by the "-I" option is not found.
+W0511106:The folder "DataFlash" specified by the "-I" option is not found.
+W0511106:The folder "DataFlash" specified by the "-I" option is not found.
+W0511106:The folder "DataFlash" specified by the "-I" option is not found.
+W0511106:The folder "DataFlash" specified by the "-I" option is not found.
+W0511106:The folder "DataFlash" specified by the "-I" option is not found.
+W0511106:The folder "DataFlash" specified by the "-I" option is not found.
+W0511106:The folder "DataFlash" specified by the "-I" option is not found.
+user\hwCtrl.c(214):W0520186:Pointless comparison of unsigned integer with zero
+user\hwCtrl.c(231):W0520186:Pointless comparison of unsigned integer with zero
user\MotorCtrl.c(14):W0520550:Variable "amCtrl_counter" was set but never used
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.11.00\Bin\rlink.exe -subcommand=DefaultBuild\ECU_APP.clnk
-W0561017:The evaluation period of CC-RL V1 has expired. Please consider purchasing the product.
+W0561016:The evaluation version of CC-RL V1 is valid for the remaining 4 days. After that, link size limit (64 Kbyte) will be applied. Please consider purchasing the product.
RAMDATA SECTION: 00000069 Byte(s)
ROMDATA SECTION: 000000cd Byte(s)
-PROGRAM SECTION: 00000e6e Byte(s)
-W0561017:The evaluation period of CC-RL V1 has expired. Please consider purchasing the product.
+PROGRAM SECTION: 00000e73 Byte(s)
+W0561016:The evaluation version of CC-RL V1 is valid for the remaining 4 days. After that, link size limit (64 Kbyte) will be applied. Please consider purchasing the product.
Renesas Optimizing Linker Completed
------- Build ended(Error:0, Warning:9)(ECU_APP, DefaultBuild) ------
+------ Build ended(Error:0, Warning:23)(ECU_APP, DefaultBuild) ------
--- CommandFile 1 ---
DefaultBuild\ECU_APP.clnk :
@@ -71,13 +99,13 @@ DefaultBuild\ECU_APP.clnk :
--- SHA1 hash value of output files ---
-E:\workspace\M20\CODE\APP\DefaultBuild\ECU_APP.abs: 28274ecb0751ea5d3f279981d191544bf0847d27
-E:\workspace\M20\CODE\APP\DefaultBuild\ECU_APP.mot: fdf5d8c7aebc05b41851fdb5a3d64dc7477cd994
+F:\work\M28\CODE\APP\DefaultBuild\ECU_APP.abs: c19873976d93dbdea6a5cb1d220828fa990624d0
+F:\work\M28\CODE\APP\DefaultBuild\ECU_APP.mot: 49fe3f665fbffb4d6cdbe312f7b0c77841b17afe
--- System Information ---
*OS Version
- Microsoft Windows 10 企业版 LTSC (-, 10.0.17763, WOW64)
+ Microsoft Windows 10 企业版 LTSC (-, 10.0.19044, WOW64)
*Language
中文(中国)
*.NET Framework Version
@@ -100,11 +128,11 @@ E:\workspace\M20\CODE\APP\DefaultBuild\ECU_APP.mot: fdf5d8c7aebc05b41851fdb5a3d6
C:\Program Files (x86)\Renesas Electronics\CS+\CC
*Memory Usage
*Private Working Set
- 188 MB
+ 229 MB
*Number of GDI Objects
- 1967
+ 2128
*Number of USER Objects
- 1036
+ 1132
*Opened Files
4 editors, 4 files, 35 KB
@@ -235,7 +263,7 @@ Device Information Common Interface
DeviceInformation.dll
--- Main Project Information ---
-E:\workspace\M20\CODE\APP\ECU_APP.mtpj
+F:\work\M28\CODE\APP\ECU_APP.mtpj
Microcontroller Information
*R5F103AA
*File Name: Version
diff --git a/APP/function.html b/APP/function.html
index 21a5517..3d27807 100644
--- a/APP/function.html
+++ b/APP/function.html
@@ -87,13 +87,6 @@
| | | void R_UART0_Stop(void) | R_UART0_Stop | Used |
| | | MD_STATUS R_UART0_Send(uint8_t * const tx_buf, uint16_t tx_num) | R_UART0_Send | Used |
| | | MD_STATUS R_UART0_Receive(uint8_t * const rx_buf, uint16_t rx_num) | R_UART0_Receive | Used |
- | | CSI00 | | | |
- | | | void R_CSI00_Create(void) | R_CSI00_Create | Unused |
- | | | void R_CSI00_Start(void) | R_CSI00_Start | Unused |
- | | | void R_CSI00_Stop(void) | R_CSI00_Stop | Unused |
- | | | MD_STATUS R_CSI00_Send(uint8_t * const tx_buf, uint16_t tx_num) | R_CSI00_Send | Unused |
- | | | MD_STATUS R_CSI00_Receive(uint8_t * const rx_buf, uint16_t rx_num) | R_CSI00_Receive | Unused |
- | | | MD_STATUS R_CSI00_Send_Receive(uint8_t * const tx_buf, uint16_t tx_num, uint8_t * const rx_buf) | R_CSI00_Send_Receive | Unused |
| | IICA0 | | | |
| | | void R_IICA0_Create(void) | R_IICA0_Create | Unused |
| | | MD_STATUS R_IICA0_Master_Send(uint8_t adr, uint8_t * const tx_buf, uint16_t tx_num, uint8_t wait) | R_IICA0_Master_Send | Unused |
@@ -116,11 +109,6 @@
| | | static void r_uart0_callback_sendend(void) | r_uart0_callback_sendend | Used |
| | | static void r_uart0_callback_error(uint8_t err_type) | r_uart0_callback_error | Used |
| | | static void r_uart0_callback_softwareoverrun(uint16_t rx_data) | r_uart0_callback_softwareoverrun | Used |
- | | CSI00 | | | |
- | | | __interrupt static void r_csi00_interrupt(void) | r_csi00_interrupt | Unused |
- | | | static void r_csi00_callback_receiveend(void) | r_csi00_callback_receiveend | Unused |
- | | | static void r_csi00_callback_error(uint8_t err_type) | r_csi00_callback_error | Unused |
- | | | static void r_csi00_callback_sendend(void) | r_csi00_callback_sendend | Unused |
| | IICA0 | | | |
| | | void R_IICA0_Create_UserInit(void) | R_IICA0_Create_UserInit | Unused |
| | | __interrupt static void r_iica0_interrupt(void) | r_iica0_interrupt | Unused |
@@ -169,8 +157,8 @@
| | | void R_TAU0_Channel1_Lower8bits_Stop(void) | R_TAU0_Channel1_Lower8bits_Stop | Unused |
| | | void R_TAU0_Channel1_Get_PulseWidth(uint32_t * const width) | R_TAU0_Channel1_Get_PulseWidth | Unused |
| | Channel2 | | | |
- | | | void R_TAU0_Channel2_Start(void) | R_TAU0_Channel2_Start | Used |
- | | | void R_TAU0_Channel2_Stop(void) | R_TAU0_Channel2_Stop | Used |
+ | | | void R_TAU0_Channel2_Start(void) | R_TAU0_Channel2_Start | Unused |
+ | | | void R_TAU0_Channel2_Stop(void) | R_TAU0_Channel2_Stop | Unused |
| | | void R_TAU0_Channel2_Get_PulseWidth(uint32_t * const width) | R_TAU0_Channel2_Get_PulseWidth | Unused |
| | | void R_TAU0_Channel2_Set_SoftwareTriggerOn(void) | R_TAU0_Channel2_Set_SoftwareTriggerOn | Unused |
| | Channel3 | | | |
@@ -182,18 +170,22 @@
| | | void R_TAU0_Channel3_Lower8bits_Stop(void) | R_TAU0_Channel3_Lower8bits_Stop | Unused |
| | | void R_TAU0_Channel3_Get_PulseWidth(uint32_t * const width) | R_TAU0_Channel3_Get_PulseWidth | Unused |
| | Channel4 | | | |
- | | | void R_TAU0_Channel4_Start(void) | R_TAU0_Channel4_Start | Unused |
- | | | void R_TAU0_Channel4_Stop(void) | R_TAU0_Channel4_Stop | Unused |
+ | | | void R_TAU0_Channel4_Start(void) | R_TAU0_Channel4_Start | Used |
+ | | | void R_TAU0_Channel4_Stop(void) | R_TAU0_Channel4_Stop | Used |
+ | | | void R_TAU0_Channel4_Set_SoftwareTriggerOn(void) | R_TAU0_Channel4_Set_SoftwareTriggerOn | Unused |
| | Channel5 | | | |
| | | void R_TAU0_Channel5_Start(void) | R_TAU0_Channel5_Start | Unused |
| | | void R_TAU0_Channel5_Stop(void) | R_TAU0_Channel5_Stop | Unused |
| | | void R_TAU0_Channel5_Get_PulseWidth(uint32_t * const width) | R_TAU0_Channel5_Get_PulseWidth | Unused |
| | Channel6 | | | |
- | | | void R_TAU0_Channel6_Start(void) | R_TAU0_Channel6_Start | Unused |
- | | | void R_TAU0_Channel6_Stop(void) | R_TAU0_Channel6_Stop | Unused |
+ | | | void R_TAU0_Channel6_Start(void) | R_TAU0_Channel6_Start | Used |
+ | | | void R_TAU0_Channel6_Stop(void) | R_TAU0_Channel6_Stop | Used |
+ | | | void R_TAU0_Channel6_Get_PulseWidth(uint32_t * const width) | R_TAU0_Channel6_Get_PulseWidth | Unused |
+ | | | void R_TAU0_Channel6_Set_SoftwareTriggerOn(void) | R_TAU0_Channel6_Set_SoftwareTriggerOn | Unused |
| | Channel7 | | | |
| | | void R_TAU0_Channel7_Start(void) | R_TAU0_Channel7_Start | Unused |
| | | void R_TAU0_Channel7_Stop(void) | R_TAU0_Channel7_Stop | Unused |
+ | | | void R_TAU0_Channel7_Get_PulseWidth(uint32_t * const width) | R_TAU0_Channel7_Get_PulseWidth | Unused |
| r_cg_timer_user.c | | | r_cg_timer_user.c | Used |
| | TAU0 | | | |
| | | void R_TAUn_Create_UserInit(void) | R_TAU0_Create_UserInit | Unused |
@@ -203,7 +195,7 @@
| | | __interrupt static void r_tau0_channel1_interrupt(void) | r_tau0_channel1_interrupt | Used |
| | | __interrupt static void r_tau0_channel1_higher8bits_interrupt(void) | r_tau0_channel1_higher8bits_interrupt | Unused |
| | Channel2 | | | |
- | | | __interrupt static void r_tau0_channel2_interrupt(void) | r_tau0_channel2_interrupt | Used |
+ | | | __interrupt static void r_tau0_channel2_interrupt(void) | r_tau0_channel2_interrupt | Unused |
| | Channel3 | | | |
| | | __interrupt static void r_tau0_channel3_interrupt(void) | r_tau0_channel3_interrupt | Unused |
| | | __interrupt static void r_tau0_channel3_higher8bits_interrupt(void) | r_tau0_channel3_higher8bits_interrupt | Unused |
diff --git a/APP/macro.html b/APP/macro.html
index 8317f3b..3c07319 100644
--- a/APP/macro.html
+++ b/APP/macro.html
@@ -11,15 +11,15 @@
Clock Generator | | | | Used |
| CGC | | | Used |
- | | | Pin assignment setting-PIOR0 bit = 1 | Unused |
- | | | Pin assignment setting-PIOR1 bit = 1 | Unused |
+ | | | Pin assignment setting-PIOR0 bit = 1 | Used |
+ | | | Pin assignment setting-PIOR1 bit = 1 | Used |
| | | Operation mode setting | High speed main mode 3.6 (V) VDD 5.5 (V) |
| | | Main system clock (fMAIN) setting | High-speed OCO (fIH) |
| | | fIH operation | Used |
| | | fIH frequency | 24(MHz) |
| | | fMX operation | Unused |
| | | fIL Frequency | 15(kHz) |
- | | | Interval timer operation clock | Stop(kHz) |
+ | | | Interval timer operation clock | 15 (fIL)(kHz) |
| | | CPU and peripheral clock (fCLK) | 24000 (fIH)(kHz) |
| | | On-chip debug operation setting | Unused |
| | | Security ID setting | Used |
@@ -29,15 +29,7 @@
| | | Setting of data flash library | Unused |
Port | | | | Used |
| PORT | | | Used |
- | | P00 | | |
- | | | Mode | Out |
- | | | N-ch | Unused |
- | | | output value | 0 |
- | | P01 | | |
- | | | Mode | In |
- | | | Pull-up | Unused |
- | | | TTL buffer | Unused |
- | | P10 | | |
+ | | P11 | | |
| | | Mode | Out |
| | | N-ch | Unused |
| | | output value | 0 |
@@ -53,26 +45,14 @@
| | | Mode | Out |
| | | N-ch | Unused |
| | | output value | 0 |
- | | P16 | | |
- | | | Mode | Out |
- | | | N-ch | Unused |
- | | | output value | 0 |
- | | P17 | | |
- | | | Mode | Out |
- | | | N-ch | Unused |
- | | | output value | 0 |
| | P23 | | |
- | | | Mode | Out |
- | | | N-ch | Unused |
- | | | output value | 0 |
+ | | | Mode | In |
+ | | | Pull-up | Unused |
+ | | | TTL buffer | Unused |
| | P30 | | |
| | | Mode | Out |
| | | N-ch | Unused |
| | | output value | 0 |
- | | P31 | | |
- | | | Mode | In |
- | | | Pull-up | Unused |
- | | | TTL buffer | Unused |
| | P50 | | |
| | | Mode | Out |
| | | N-ch | Unused |
@@ -81,30 +61,14 @@
| | | Mode | Out |
| | | N-ch | Unused |
| | | output value | 0 |
- | | P60 | | |
- | | | Mode | In |
- | | | Pull-up | Unused |
- | | | TTL buffer | Unused |
- | | P61 | | |
- | | | Mode | In |
- | | | Pull-up | Unused |
- | | | TTL buffer | Unused |
- | | P120 | | |
- | | | Mode | Out |
- | | | N-ch | Unused |
- | | | output value | 0 |
- | | P121 | | |
- | | | Mode | In |
- | | | Pull-up | Unused |
- | | | TTL buffer | Unused |
| | P137 | | |
| | | Mode | In |
| | | Pull-up | Unused |
| | | TTL buffer | Unused |
| | P147 | | |
- | | | Mode | Out |
- | | | N-ch | Unused |
- | | | output value | 0 |
+ | | | Mode | In |
+ | | | Pull-up | Unused |
+ | | | TTL buffer | Unused |
Interrupt | | | | Unused |
Serial | | | | Used |
| SAU0 | | | Used |
@@ -115,7 +79,7 @@
| | | Parity setting (Receive function) | None |
| | | Stop bit length setting (Receive function) | 1 bit fixed |
| | | Receive data level setting | Normal |
- | | | Transfer rate setting (Receive function) | 19200(bps)(Current error: +0.16% the minimum is -5.14% the maximum is +5.12%) |
+ | | | Transfer rate setting (Receive function) | 9600(bps)(Current error: +0.16% the minimum is -5.14% the maximum is +5.12%) |
| | | Reception end interrupt priority (INTSR0) | Low |
| | | Reception error interrupt priority (INTSRE0) | Unused |
| | | Reception end (Callback function setting) | Used |
@@ -124,9 +88,9 @@
| | | Data length setting (Transmit function) | 8 bits |
| | | Transfer direction setting (Transmit function) | LSB |
| | | Parity setting (Transmit function) | None |
- | | | Stop bit length setting (Transmit function) | 2 bits |
+ | | | Stop bit length setting (Transmit function) | 1 bit |
| | | Transmit data level setting | Normal |
- | | | Transfer rate setting (Transmit function) | 19200(bps)(Current error: +0.16%) |
+ | | | Transfer rate setting (Transmit function) | 9600(bps)(Current error: +0.16%) |
| | | Transmit end interrupt priority (INTST0) | Low |
| | | Transmission end (Callback function setting) | Used |
| IICA0 | | | Unused |
@@ -139,9 +103,9 @@
| | | VREF(-) setting | VSS |
| | | Trigger mode setting | Hardware trigger no wait mode |
| | | Hardware trigger no wait mode | INTTM01 |
- | | | Operation mode setting | One-shot select mode |
+ | | | Operation mode setting | Continuous select mode |
| | | ANI0 - ANI3 analog input selection | ANI0 - ANI2 |
- | | | A/D channel selection | ANI0 |
+ | | | A/D channel selection | ANI1 |
| | | Conversion time mode | Normal 1 |
| | | Conversion time | 25.33333 (608/fCLK)(s) |
| | | Conversion result upper/lower bound value setting | Generates an interrupt request (INTAD) when ADLL ADCRH ADUL |
@@ -160,21 +124,35 @@
| | Channel1 | | |
| | | Channel 1 | Interval timer |
| | | Operation mode setting | 16 bits |
- | | | Interval value (16 bits) | 500s, (Actual value: 500) |
+ | | | Interval value (16 bits) | 1000s, (Actual value: 1000) |
| | | Generates INTTM01 when counting is started | Unused |
| | | End of timer channel 1 count, generate an interrupt (INTTM01) | Used |
| | | Priority (INTTM01) | Low |
- | | Channel2 | | |
- | | | Channel 2 | Interval timer |
- | | | Interval value (16 bits) | 572s, (Actual value: 572) |
- | | | Generates INTTM02 when counting is started | Unused |
- | | | End of timer channel 2 count, generate an interrupt (INTTM02) | Used |
- | | | Priority (INTTM02) | Low |
+ | | Channel4 | | |
+ | | | Channel 4 | PWM output (master) |
+ | | | Cycle value | 1000s, (Actual value: 1000) |
+ | | | End of timer channel 4 count, generate an interrupt (INTTM04) | Unused |
+ | | | Duty value | 50(%), (Actual value: 50%) |
+ | | | Initial output value | 0 |
+ | | | Output level | Active-high |
+ | | | End of timer channel 5 count, generate an interrupt (INTTM05) | Unused |
+ | | Channel5 | | |
+ | | | Channel 5 | PWM output (slave) |
+ | | Channel6 | | |
+ | | | Channel 6 | PWM output (master) |
+ | | | Cycle value | 100s, (Actual value: 100) |
+ | | | End of timer channel 6 count, generate an interrupt (INTTM06) | Unused |
+ | | | Duty value | 50(%), (Actual value: 50%) |
+ | | | Initial output value | 0 |
+ | | | Output level | Active-high |
+ | | | End of timer channel 7 count, generate an interrupt (INTTM07) | Unused |
+ | | Channel7 | | |
+ | | | Channel 7 | PWM output (slave) |
Watchdog Timer | | | | Used |
| WDT | | | Used |
| | | Watchdog timer operation setting | Used |
- | | | Operation in HALT/STOP/SNOOZE mode setting | Enabled |
- | | | Overflow time | 4369.07 (2^16/fIL)(ms) |
+ | | | Operation in HALT/STOP/SNOOZE mode setting | Stopped |
+ | | | Overflow time | 136.53 (2^11/fIL)(ms) |
| | | Window open period | 100(%) |
| | | Enable interval interrupt when 75% + 1/2fIL of overflow time (INTWDTI) | Used |
| | | Priority | Low |
@@ -184,7 +162,7 @@
| LVD | | | Used |
| | | Low voltage detector operation setting | Used |
| | | Operation mode setting | Reset mode |
- | | | Reset generation level (VLVD) | 3.67(V) |
+ | | | Reset generation level (VLVD) | 2.75(V) |