NuMaker RS485 lib

Dependents:   NuMaker-mbed-modbus-sample

Files at this revision

API Documentation at this revision

Comitter:
cyliang
Date:
Tue Mar 14 17:36:56 2023 +0800
Parent:
4:3bdf456890b6
Child:
6:531888b928d6
Commit message:
Support NUMAKER_IOT_M467

Changed in this revision

nvt_rs485.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 3bdf456890b6 -r 3725fa015f1d nvt_rs485.cpp
--- a/nvt_rs485.cpp	Thu Feb 25 15:26:25 2021 +0800
+++ b/nvt_rs485.cpp	Tue Mar 14 17:36:56 2023 +0800
@@ -24,7 +24,7 @@
     lock();
     
     //Implement RS485-AUD mode for various platform of Nuvoton
-#if defined(TARGET_NUMAKER_PFM_NUC472) || defined(TARGET_NUMAKER_PFM_M453) || defined(TARGET_NUMAKER_PFM_M487)
+#if defined(TARGET_NUMAKER_PFM_NUC472) || defined(TARGET_NUMAKER_PFM_M453) || defined(TARGET_NUMAKER_PFM_M487) || defined(TARGET_NUMAKER_IOT_M467)
     /*
     Program Sequence example:
      1. Program FUNCSEL in UART_FUNCSEL to select RS-485 function.
@@ -57,4 +57,4 @@
 
     unlock();    
     return ret;
-}
\ No newline at end of file
+}