OSDN Git Service

[USART] Add RTS/CTS function (with FT232RL). XON/XOFF is not effectable.
[openi2cradio/OpenI2CRadio.git] / iodef.h
diff --git a/iodef.h b/iodef.h
index 99137d0..c63f1e1 100644 (file)
--- a/iodef.h
+++ b/iodef.h
@@ -113,11 +113,11 @@ extern "C" {
 #define TRIS_C_VAL_I  0b10011000 /* FOR I2C-WRITE, RC7=INPUT */
 #define AN_C_VAL     0b00000000
 
-#define TRIS_D_VAL   0b00000000 /* FOR OUTPUT, LCD(Optional) */
+#define TRIS_D_VAL   0b00001000 /* RD3="RTS IN" another = FOR OUTPUT, LCD(Optional) */
 #ifdef _LCD_IF_4BIT
- #define TRIS_D_RVAL 0b11110000 /* FOR INPUT*/
+ #define TRIS_D_RVAL 0b11111000 /* RD3="RTS IN" FOR INPUT*/
 #else
- #define TRIS_D_RVAL 0b11111111 /* FOR INPUT*/
+ #define TRIS_D_RVAL 0b11111111 /* RD3="RTS IN" FOR INPUT*/
 #endif
 
 #define TRIS_E_VAL   0b00000100 /* FOR OUTPUT, ADC, PSP=OFF */