diff --git a/Makefile b/Makefile index 8154d05..09a66f8 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,9 @@ $(OBJECTS8): $(SOURCES8) @cp ch395-8.lib build/lib8/ @cp ch395-8.lib target/telestrat/lib/ +test: + $(CC) -ttelestrat -I src/include test/ch395.c target/telestrat/lib/ch395-8.lib -o ch395 + tool: @mkdir -p target/telestrat/ch395cfg/ $(CC) -ttelestrat -I src/include tools/ch395cfg/src/main.c target/telestrat/lib/ch395-8.lib -o target/telestrat/ch395cfg/ch395cfg diff --git a/docs/api/2024.2/assembly/index.html b/docs/api/2024.2/assembly/index.html index 7d2a036..f26d4e0 100644 --- a/docs/api/2024.2/assembly/index.html +++ b/docs/api/2024.2/assembly/index.html @@ -1316,7 +1316,7 @@

ch395_get_ic_ver


ch395_get_int_status_sn

Description

-

This command is used to get the interrupt status of Socket. It is necessary to input 1 byte of Socket index

+

This command is used to get the interrupt status of Socket. It is necessary to input 1 byte of Socket index value. After receiving this command, CH395 will output 1 byte of Socket interrupt code. The interrupt code bits are defined as follows:

Input