diff --git a/ch32v003fun/ch32v003fun.h b/ch32v003fun/ch32v003fun.h
index 1634bcb8e1d59b10b564fba9e94370168f4dddee..694a4b3b8d10a90f9ae246f4be1180889bdb378e 100644
--- a/ch32v003fun/ch32v003fun.h
+++ b/ch32v003fun/ch32v003fun.h
@@ -3875,7 +3875,7 @@ typedef struct
 
 /* SPI_data_direction */
 #define SPI_Direction_2Lines_FullDuplex    ((uint16_t)0x0000)
-#define SPI_Direction_2Lines_RxOnly        ((uint16_t)0x0400)
+#define SPI_Direction_2Lines_RxOnly        ((uint16_t)0x4000)
 #define SPI_Direction_1Line_Rx             ((uint16_t)0x8000)
 #define SPI_Direction_1Line_Tx             ((uint16_t)0xC000)