nvt_rs485

Dependents:   modbus-over-rs485-sample NTOUEE-mbed-modbus-RTU NuMaker-mbed-modbus-sample NuMaker_NuWicam_Lite ... more

Files at this revision

API Documentation at this revision

Comitter:
wclin
Date:
Fri Oct 06 02:23:24 2017 +0000
Parent:
2:750bbd296b36
Commit message:
Support NUMAKER_PFM_M487

Changed in this revision

nvt_rs485.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 750bbd296b36 -r 4c9d65e9275c nvt_rs485.cpp
--- a/nvt_rs485.cpp	Wed Jan 04 08:31:22 2017 +0000
+++ b/nvt_rs485.cpp	Fri Oct 06 02:23:24 2017 +0000
@@ -20,7 +20,7 @@
     lock();
     
     //Implement RS485-AUD mode for various platform of Nuvoton
-#if defined(TARGET_NUMAKER_PFM_NUC472) || defined(TARGET_NUMAKER_PFM_M453)
+#if defined(TARGET_NUMAKER_PFM_NUC472) || defined(TARGET_NUMAKER_PFM_M453) || defined(TARGET_NUMAKER_PFM_M487)
     /*
     Program Sequence example:
      1. Program FUNCSEL in UART_FUNCSEL to select RS-485 function.