OSDN Git Service
(root)
/
openi2cradio
/
OpenI2CRadio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SCHEMATIC] Modify SW/MW/LW Preamp, insert galbanic-isolator replace of common-mode...
[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_C_VAL_I 0b10011000 /* FOR I2C-WRITE, RC7=INPUT */
#define AN_C_VAL 0b00000000
-#define TRIS_D_VAL 0b0000
0000 /*
FOR OUTPUT, LCD(Optional) */
+#define TRIS_D_VAL 0b0000
1000 /* RD3="RTS IN" another =
FOR OUTPUT, LCD(Optional) */
#ifdef _LCD_IF_4BIT
#ifdef _LCD_IF_4BIT
- #define TRIS_D_RVAL 0b1111
0000 /*
FOR INPUT*/
+ #define TRIS_D_RVAL 0b1111
1000 /* RD3="RTS IN"
FOR INPUT*/
#else
#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 */
#endif
#define TRIS_E_VAL 0b00000100 /* FOR OUTPUT, ADC, PSP=OFF */