Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of d7a_1x by
Diff: include/d7a_com.h
- Revision:
- 30:d775c1409849
- Parent:
- 25:aac250164497
- Child:
- 31:ab9bfdbc6b44
--- a/include/d7a_com.h Tue May 03 16:53:52 2016 +0000
+++ b/include/d7a_com.h Wed May 25 08:23:15 2016 +0000
@@ -120,11 +120,15 @@
KAL_COM_FLOW_SYS_TLEV = KAL_COM_FLOW(KAL_COM_FLOWID_SYS,7),
/// Configure COM port redirection
KAL_COM_FLOW_SYS_REDIR = KAL_COM_FLOW(KAL_COM_FLOWID_SYS,8),
+ /// Flow control signalling
+ KAL_COM_FLOW_SYS_XON = KAL_COM_FLOW(KAL_COM_FLOWID_SYS,9),
+ KAL_COM_FLOW_SYS_XOFF = KAL_COM_FLOW(KAL_COM_FLOWID_SYS,10),
+ KAL_COM_FLOW_SYS_XACK = KAL_COM_FLOW(KAL_COM_FLOWID_SYS,11),
/// File System Command/Response
KAL_COM_FLOW_FS_CMD = KAL_COM_FLOW(KAL_COM_FLOWID_FS,0),
KAL_COM_FLOW_FS_RESP = KAL_COM_FLOW(KAL_COM_FLOWID_FS,1),
-
+
} d7a_com_flow_t;
@@ -172,6 +176,7 @@
void d7a_com_open( const d7a_com_config_t* config );
void d7a_com_close();
void d7a_com_send_msg( d7a_com_tx_msg_t* msg );
+void d7a_com_dump(uint8_t* buf, uint8_t len, d7a_com_flow_t flow);
d7a_com_rx_msg_t* d7a_com_wait_pkt( uint32_t millisec = osWaitForever );
#endif // _D7A_COM_H_
\ No newline at end of file
