diff --git a/docs/development_guide/build/doctrees/api_reference/api_overview.doctree b/docs/development_guide/build/doctrees/api_reference/api_overview.doctree index 35734501..ffc8a2a3 100644 Binary files a/docs/development_guide/build/doctrees/api_reference/api_overview.doctree and b/docs/development_guide/build/doctrees/api_reference/api_overview.doctree differ diff --git a/docs/development_guide/build/doctrees/api_reference/peripheral/api_adc.doctree b/docs/development_guide/build/doctrees/api_reference/peripheral/api_adc.doctree index 6ab5ab22..88804180 100644 Binary files a/docs/development_guide/build/doctrees/api_reference/peripheral/api_adc.doctree and b/docs/development_guide/build/doctrees/api_reference/peripheral/api_adc.doctree differ diff --git a/docs/development_guide/build/doctrees/api_reference/peripheral/api_dma.doctree b/docs/development_guide/build/doctrees/api_reference/peripheral/api_dma.doctree index a9720e08..29b76a49 100644 Binary files a/docs/development_guide/build/doctrees/api_reference/peripheral/api_dma.doctree and b/docs/development_guide/build/doctrees/api_reference/peripheral/api_dma.doctree differ diff --git a/docs/development_guide/build/doctrees/api_reference/peripheral/api_i2c.doctree b/docs/development_guide/build/doctrees/api_reference/peripheral/api_i2c.doctree index a000cd89..e0c0af6d 100644 Binary files a/docs/development_guide/build/doctrees/api_reference/peripheral/api_i2c.doctree and b/docs/development_guide/build/doctrees/api_reference/peripheral/api_i2c.doctree differ diff --git a/docs/development_guide/build/doctrees/api_reference/peripheral/api_i2s.doctree b/docs/development_guide/build/doctrees/api_reference/peripheral/api_i2s.doctree index 27a011dd..0ac620a2 100644 Binary files a/docs/development_guide/build/doctrees/api_reference/peripheral/api_i2s.doctree and b/docs/development_guide/build/doctrees/api_reference/peripheral/api_i2s.doctree differ diff --git a/docs/development_guide/build/doctrees/api_reference/peripheral/api_pwm.doctree b/docs/development_guide/build/doctrees/api_reference/peripheral/api_pwm.doctree index 98af7d1b..5fce916f 100644 Binary files a/docs/development_guide/build/doctrees/api_reference/peripheral/api_pwm.doctree and b/docs/development_guide/build/doctrees/api_reference/peripheral/api_pwm.doctree differ diff --git a/docs/development_guide/build/doctrees/api_reference/peripheral/api_spi.doctree b/docs/development_guide/build/doctrees/api_reference/peripheral/api_spi.doctree index 60a37ba3..ffaf70a2 100644 Binary files a/docs/development_guide/build/doctrees/api_reference/peripheral/api_spi.doctree and b/docs/development_guide/build/doctrees/api_reference/peripheral/api_spi.doctree differ diff --git a/docs/development_guide/build/doctrees/api_reference/peripheral/api_timer.doctree b/docs/development_guide/build/doctrees/api_reference/peripheral/api_timer.doctree index 3aa2a268..56883a3b 100644 Binary files a/docs/development_guide/build/doctrees/api_reference/peripheral/api_timer.doctree and b/docs/development_guide/build/doctrees/api_reference/peripheral/api_timer.doctree differ diff --git a/docs/development_guide/build/doctrees/api_reference/peripheral/api_uart.doctree b/docs/development_guide/build/doctrees/api_reference/peripheral/api_uart.doctree index ac1db127..5a747780 100644 Binary files a/docs/development_guide/build/doctrees/api_reference/peripheral/api_uart.doctree and b/docs/development_guide/build/doctrees/api_reference/peripheral/api_uart.doctree differ diff --git a/docs/development_guide/build/doctrees/api_reference/peripheral/api_usb.doctree b/docs/development_guide/build/doctrees/api_reference/peripheral/api_usb.doctree index befebfd3..afe0fda2 100644 Binary files a/docs/development_guide/build/doctrees/api_reference/peripheral/api_usb.doctree and b/docs/development_guide/build/doctrees/api_reference/peripheral/api_usb.doctree differ diff --git a/docs/development_guide/build/doctrees/api_reference/usb stack/api_usb_stack.doctree b/docs/development_guide/build/doctrees/api_reference/usb stack/api_usb_stack.doctree index 1a0de7a3..93fbb8b6 100644 Binary files a/docs/development_guide/build/doctrees/api_reference/usb stack/api_usb_stack.doctree and b/docs/development_guide/build/doctrees/api_reference/usb stack/api_usb_stack.doctree differ diff --git a/docs/development_guide/build/doctrees/environment.pickle b/docs/development_guide/build/doctrees/environment.pickle index cf1bdedb..5f9bad51 100644 Binary files a/docs/development_guide/build/doctrees/environment.pickle and b/docs/development_guide/build/doctrees/environment.pickle differ diff --git a/docs/development_guide/build/doctrees/samples/advance samples/shell_demo.doctree b/docs/development_guide/build/doctrees/samples/advance samples/shell_demo.doctree index 2c001281..74ae1e24 100644 Binary files a/docs/development_guide/build/doctrees/samples/advance samples/shell_demo.doctree and b/docs/development_guide/build/doctrees/samples/advance samples/shell_demo.doctree differ diff --git a/docs/development_guide/build/doctrees/samples/basic samples/dma/dma_m2m_demo.doctree b/docs/development_guide/build/doctrees/samples/basic samples/dma/dma_m2m_demo.doctree index df1d9e59..7448f8be 100644 Binary files a/docs/development_guide/build/doctrees/samples/basic samples/dma/dma_m2m_demo.doctree and b/docs/development_guide/build/doctrees/samples/basic samples/dma/dma_m2m_demo.doctree differ diff --git a/docs/development_guide/build/doctrees/samples/basic samples/i2c/i2c_eeprom_demo.doctree b/docs/development_guide/build/doctrees/samples/basic samples/i2c/i2c_eeprom_demo.doctree index fbb68845..6087e56e 100644 Binary files a/docs/development_guide/build/doctrees/samples/basic samples/i2c/i2c_eeprom_demo.doctree and b/docs/development_guide/build/doctrees/samples/basic samples/i2c/i2c_eeprom_demo.doctree differ diff --git a/docs/development_guide/build/doctrees/samples/basic samples/pwm/pwm_breath_demo.doctree b/docs/development_guide/build/doctrees/samples/basic samples/pwm/pwm_breath_demo.doctree index 4558a70a..38ceaab6 100644 Binary files a/docs/development_guide/build/doctrees/samples/basic samples/pwm/pwm_breath_demo.doctree and b/docs/development_guide/build/doctrees/samples/basic samples/pwm/pwm_breath_demo.doctree differ diff --git a/docs/development_guide/build/doctrees/samples/basic samples/pwm/pwm_step_motor.doctree b/docs/development_guide/build/doctrees/samples/basic samples/pwm/pwm_step_motor.doctree index 1bf95782..3a601aab 100644 Binary files a/docs/development_guide/build/doctrees/samples/basic samples/pwm/pwm_step_motor.doctree and b/docs/development_guide/build/doctrees/samples/basic samples/pwm/pwm_step_motor.doctree differ diff --git a/docs/development_guide/build/doctrees/samples/basic samples/spi/spi_lcd_demo.doctree b/docs/development_guide/build/doctrees/samples/basic samples/spi/spi_lcd_demo.doctree index 9539aabf..6e13440f 100644 Binary files a/docs/development_guide/build/doctrees/samples/basic samples/spi/spi_lcd_demo.doctree and b/docs/development_guide/build/doctrees/samples/basic samples/spi/spi_lcd_demo.doctree differ diff --git a/docs/development_guide/build/doctrees/samples/basic samples/uart/uart_loopback_demo.doctree b/docs/development_guide/build/doctrees/samples/basic samples/uart/uart_loopback_demo.doctree index 0bed5d7d..3d42364e 100644 Binary files a/docs/development_guide/build/doctrees/samples/basic samples/uart/uart_loopback_demo.doctree and b/docs/development_guide/build/doctrees/samples/basic samples/uart/uart_loopback_demo.doctree differ diff --git a/docs/development_guide/build/html/_sources/api_reference/api_overview.rst.txt b/docs/development_guide/build/html/_sources/api_reference/api_overview.rst.txt index fca3efaa..e5c725a2 100644 --- a/docs/development_guide/build/html/_sources/api_reference/api_overview.rst.txt +++ b/docs/development_guide/build/html/_sources/api_reference/api_overview.rst.txt @@ -107,26 +107,16 @@ API 概述 **device_register** ^^^^^^^^^^^^^^^^^^^^ -``device_register`` 用于设备的注册,将设备信息注册到链表当中。 +``device_register`` 用于设备标准驱动的注册,并将设备信息注册到链表当中。 .. code-block:: C - int device_register(struct device *dev, const char *name, uint16_t flag); + int device_register(struct device *dev, const char *name); - dev 设备句柄。 - name 设备名称。 -- flag 设备的读写属性 - return 返回错误码,0 表示注册成功,其他表示错误。 -``flag`` 可以写入以下参数,表示:**只读**、**只写**、**可读可写**。 - -.. code-block:: C - - #define DEVICE_OFLAG_RDONLY 0x1000 /* 以只读方式打开设备 */ - #define DEVICE_OFLAG_WRONLY 0x2000 /* 以只写方式打开设备 */ - #define DEVICE_OFLAG_RDWR 0x3000 /* 以读写方式打开设备 */ - - **device_unregister** ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/docs/development_guide/build/html/_sources/api_reference/peripheral/api_adc.rst.txt b/docs/development_guide/build/html/_sources/api_reference/peripheral/api_adc.rst.txt index 39c00768..0771fd75 100644 --- a/docs/development_guide/build/html/_sources/api_reference/peripheral/api_adc.rst.txt +++ b/docs/development_guide/build/html/_sources/api_reference/peripheral/api_adc.rst.txt @@ -79,17 +79,16 @@ ADC 设备接口 ADC 设备接口全部遵循标准设备驱动管理层提供的接口。 -**ADC_register** +**adc_register** ^^^^^^^^^^^^^^^^^^^^^^^^ ``adc_register`` 用来注册 ADC 设备标准驱动接口,在注册之前需要打开对应 ADC 设备的宏定义。例如定义宏 ``BSP_USING_ADC0`` 方可使用 ``ADC0`` 设备,注册完成以后才可以使用其他接口,如果没有定义宏,则无法使用 ``ADC0`` 设备。 .. code-block:: C - int ADC_register(enum ADC_index_type index, const char *name, uint16_t flag); + int adc_register(enum ADC_index_type index, const char *name); - index 要注册的设备索引 -- name 为注册的设备命名 - flag 默认可读可写属性 ``index`` 用来选择 ADC 设备配置,一个 index 对应一个 ADC 设备配置,比如 ``ADC0_INDEX`` 对应 ``ADC0_CONFIG`` 配置,``index`` 有如下可选类型 diff --git a/docs/development_guide/build/html/_sources/api_reference/peripheral/api_dma.rst.txt b/docs/development_guide/build/html/_sources/api_reference/peripheral/api_dma.rst.txt index 9ad4d9d2..6fb7cac4 100644 --- a/docs/development_guide/build/html/_sources/api_reference/peripheral/api_dma.rst.txt +++ b/docs/development_guide/build/html/_sources/api_reference/peripheral/api_dma.rst.txt @@ -217,11 +217,10 @@ DMA 设备接口全部遵循标准设备驱动管理层提供的接口。并且 .. code-block:: C - int dma_register(enum dma_index_type index, const char *name, uint16_t flag); + int dma_register(enum dma_index_type index, const char *name); - index 要注册的设备索引 - name 为注册的设备命名 -- flag 默认可读可写属性 ``index`` 用来选择 DMA 设备某个通道的配置,一个 index 对应一个 DMA 设备的一个通道配置,比如 ``DMA_CH0_INDEX`` 对应 DMA 通道0 配置,``index`` 有如下可选类型 diff --git a/docs/development_guide/build/html/_sources/api_reference/peripheral/api_i2c.rst.txt b/docs/development_guide/build/html/_sources/api_reference/peripheral/api_i2c.rst.txt index 21af5bdc..61a210e8 100644 --- a/docs/development_guide/build/html/_sources/api_reference/peripheral/api_i2c.rst.txt +++ b/docs/development_guide/build/html/_sources/api_reference/peripheral/api_i2c.rst.txt @@ -75,11 +75,10 @@ I2C 设备标准接口当前仅使用 ``device_open`` , 并提供标准的数据 .. code-block:: C - int i2c_register(enum i2c_index_type index, const char *name, uint16_t flag); + int i2c_register(enum i2c_index_type index, const char *name); - index 要注册的设备索引 - name 为注册的设备命名 -- flag 默认可读可写属性 ``index`` 用来选择 I2C 设备,一个 index 对应一个 I2C 设备配置,比如 ``I2C0_INDEX`` 对应 ``I2C0_CONFIG`` 配置,``index`` 有如下可选类型 diff --git a/docs/development_guide/build/html/_sources/api_reference/peripheral/api_i2s.rst.txt b/docs/development_guide/build/html/_sources/api_reference/peripheral/api_i2s.rst.txt index adef075e..c48d1252 100644 --- a/docs/development_guide/build/html/_sources/api_reference/peripheral/api_i2s.rst.txt +++ b/docs/development_guide/build/html/_sources/api_reference/peripheral/api_i2s.rst.txt @@ -144,11 +144,10 @@ I2S 设备接口全部遵循标准设备驱动管理层提供的接口。 .. code-block:: C - int i2s_register(enum i2s_index_type index, const char *name, uint16_t flag); + int i2s_register(enum i2s_index_type index, const char *name); - index 要注册的设备索引 - name 为注册的设备命名 -- flag 默认可读可写属性 ``index`` 用来选择 I2S 设备配置,一个 index 对应一个 I2S 设备配置,比如 ``I2S0_INDEX`` 对应 ``I2S0_CONFIG`` 配置。index 有如下可选类型 diff --git a/docs/development_guide/build/html/_sources/api_reference/peripheral/api_pwm.rst.txt b/docs/development_guide/build/html/_sources/api_reference/peripheral/api_pwm.rst.txt index 5087745d..11b771d3 100644 --- a/docs/development_guide/build/html/_sources/api_reference/peripheral/api_pwm.rst.txt +++ b/docs/development_guide/build/html/_sources/api_reference/peripheral/api_pwm.rst.txt @@ -94,11 +94,10 @@ PWM 设备接口全部遵循标准设备驱动管理层提供的接口。并且 .. code-block:: C - int pwm_register(enum pwm_index_type index, const char *name, uint16_t flag); + int pwm_register(enum pwm_index_type index, const char *name); - index 要注册的设备索引 - name 为注册的设备命名 -- flag 默认可读可写属性 ``index`` 用来选择 PWM 设备某个通道的配置,一个 index 对应一个 PWM 设备的一个通道配置,比如 ``PWM_CH0_INDEX`` 对应 PWM 通道0 配置,``index`` 有如下可选类型 diff --git a/docs/development_guide/build/html/_sources/api_reference/peripheral/api_spi.rst.txt b/docs/development_guide/build/html/_sources/api_reference/peripheral/api_spi.rst.txt index 35561551..76bee5c2 100644 --- a/docs/development_guide/build/html/_sources/api_reference/peripheral/api_spi.rst.txt +++ b/docs/development_guide/build/html/_sources/api_reference/peripheral/api_spi.rst.txt @@ -137,11 +137,10 @@ SPI 设备接口全部遵循标准设备驱动管理层提供的接口。 .. code-block:: C - int spi_register(enum spi_index_type index, const char *name, uint16_t flag); + int spi_register(enum spi_index_type index, const char *name); - index 要注册的设备索引 - name 为注册的设备命名 -- flag 默认可读可写属性 ``index`` 用来选择 SPI 设备配置,一个 index 对应一个 SPI 设备配置,比如 ``SPI0_INDEX`` 对应 ``SPI0_CONFIG`` 配置,``index`` 有如下可选类型 diff --git a/docs/development_guide/build/html/_sources/api_reference/peripheral/api_timer.rst.txt b/docs/development_guide/build/html/_sources/api_reference/peripheral/api_timer.rst.txt index 327a82df..23228745 100644 --- a/docs/development_guide/build/html/_sources/api_reference/peripheral/api_timer.rst.txt +++ b/docs/development_guide/build/html/_sources/api_reference/peripheral/api_timer.rst.txt @@ -124,11 +124,10 @@ TIMER 设备接口全部遵循标准设备驱动管理层提供的接口。 .. code-block:: C - int timer_register(enum timer_index_type index, const char *name, uint16_t flag); + int timer_register(enum timer_index_type index, const char *name); - index 要注册的设备索引 - name 为注册的设备命名 -- flag 默认可读可写属性 ``index`` 用来选择 TIMER 设备配置,一个 index 对应一个 TIMER 设备配置,比如 ``TIMER_CH0_INDEX`` 对应 ``TIMER_CH0_CONFIG`` 配置,``index`` 有如下可选类型 diff --git a/docs/development_guide/build/html/_sources/api_reference/peripheral/api_uart.rst.txt b/docs/development_guide/build/html/_sources/api_reference/peripheral/api_uart.rst.txt index 33b0aebe..dd49087a 100644 --- a/docs/development_guide/build/html/_sources/api_reference/peripheral/api_uart.rst.txt +++ b/docs/development_guide/build/html/_sources/api_reference/peripheral/api_uart.rst.txt @@ -125,11 +125,10 @@ UART 设备接口全部遵循标准设备驱动管理层提供的接口。 .. code-block:: C - int uart_register(enum uart_index_type index, const char *name, uint16_t flag); + int uart_register(enum uart_index_type index, const char *name); - index 要注册的设备索引 - name 为注册的设备命名 -- flag 默认可读可写属性 ``index`` 用来选择 UART 设备配置,一个 index 对应一个 UART 设备配置,比如 ``UART0_INDEX`` 对应 ``UART0_CONFIG`` 配置,``index`` 有如下可选类型 diff --git a/docs/development_guide/build/html/_sources/api_reference/peripheral/api_usb.rst.txt b/docs/development_guide/build/html/_sources/api_reference/peripheral/api_usb.rst.txt index 1a7c8dea..e9a19bd0 100644 --- a/docs/development_guide/build/html/_sources/api_reference/peripheral/api_usb.rst.txt +++ b/docs/development_guide/build/html/_sources/api_reference/peripheral/api_usb.rst.txt @@ -81,11 +81,10 @@ USB 设备接口遵循标准设备驱动管理层提供的接口。 .. code-block:: C - int usb_dc_register(enum usb_index_type index, const char *name, uint16_t flag); + int usb_dc_register(enum usb_index_type index, const char *name); - index 要注册的设备索引 - name 为注册的设备命名 -- flag 默认可读可写属性 - return 错误码,0表示成功,其他表示失败 **device_open** diff --git a/docs/development_guide/build/html/_sources/api_reference/usb stack/api_usb_stack.rst.txt b/docs/development_guide/build/html/_sources/api_reference/usb stack/api_usb_stack.rst.txt index dafd402b..8f631733 100644 --- a/docs/development_guide/build/html/_sources/api_reference/usb stack/api_usb_stack.rst.txt +++ b/docs/development_guide/build/html/_sources/api_reference/usb stack/api_usb_stack.rst.txt @@ -42,7 +42,7 @@ USB DEVICE 控制器接口 struct device *usb_dc_init(void) { - usb_dc_register(USB_INDEX, "usb", DEVICE_OFLAG_RDWR); + usb_dc_register(USB_INDEX, "usb"); usb = device_find("usb"); device_set_callback(usb, usb_dc_event_callback); device_open(usb, 0); diff --git a/docs/development_guide/build/html/_sources/samples/advance samples/shell_demo.rst.txt b/docs/development_guide/build/html/_sources/samples/advance samples/shell_demo.rst.txt index 8e19924e..e433af2d 100644 --- a/docs/development_guide/build/html/_sources/samples/advance samples/shell_demo.rst.txt +++ b/docs/development_guide/build/html/_sources/samples/advance samples/shell_demo.rst.txt @@ -77,7 +77,7 @@ shell 移植到串口 .. code-block:: C :linenos: - uart_register(board_get_debug_uart_index(), "debug_log", DEVICE_OFLAG_RDWR); + uart_register(board_get_debug_uart_index(), "debug_log"); struct device *uart = device_find("debug_log"); if (uart) diff --git a/docs/development_guide/build/html/_sources/samples/basic samples/dma/dma_m2m_demo.rst.txt b/docs/development_guide/build/html/_sources/samples/basic samples/dma/dma_m2m_demo.rst.txt index 9be58654..79fc664f 100644 --- a/docs/development_guide/build/html/_sources/samples/basic samples/dma/dma_m2m_demo.rst.txt +++ b/docs/development_guide/build/html/_sources/samples/basic samples/dma/dma_m2m_demo.rst.txt @@ -38,7 +38,7 @@ DMA - RAM间数据搬运 .. code-block:: C :linenos: - dma_register(DMA0_CH0_INDEX, "DMA", DEVICE_OFLAG_RDWR); + dma_register(DMA0_CH0_INDEX, "DMA"); struct device *dma = device_find("DMA"); diff --git a/docs/development_guide/build/html/_sources/samples/basic samples/i2c/i2c_eeprom_demo.rst.txt b/docs/development_guide/build/html/_sources/samples/basic samples/i2c/i2c_eeprom_demo.rst.txt index 8df3042a..490be4d0 100644 --- a/docs/development_guide/build/html/_sources/samples/basic samples/i2c/i2c_eeprom_demo.rst.txt +++ b/docs/development_guide/build/html/_sources/samples/basic samples/i2c/i2c_eeprom_demo.rst.txt @@ -33,7 +33,7 @@ I2C - AT24CXX 读写 #define CONFIG_GPIO11_FUNC GPIO_FUN_I2C #define CONFIG_GPIO16_FUNC GPIO_FUN_I2C -- 配置 ``I2C`` 设备复用引脚,见 ``bsp/board/bl706_iot/peripheral_config.h`` +- 配置 ``I2C`` 设备复用引脚,见 ``bsp/board/bl706_iot/pinmux_config.h`` .. code-block:: C :linenos: @@ -56,7 +56,7 @@ I2C - AT24CXX 读写 .. code-block:: C :linenos: - i2c_register(I2C0_INDEX, "i2c", DEVICE_OFLAG_RDWR); + i2c_register(I2C0_INDEX, "i2c"); struct device *i2c0 = device_find("i2c"); if (i2c0) diff --git a/docs/development_guide/build/html/_sources/samples/basic samples/pwm/pwm_breath_demo.rst.txt b/docs/development_guide/build/html/_sources/samples/basic samples/pwm/pwm_breath_demo.rst.txt index 6ad05a0c..475b5778 100644 --- a/docs/development_guide/build/html/_sources/samples/basic samples/pwm/pwm_breath_demo.rst.txt +++ b/docs/development_guide/build/html/_sources/samples/basic samples/pwm/pwm_breath_demo.rst.txt @@ -59,7 +59,7 @@ PWM - 呼吸灯 .. code-block:: C :linenos: - pwm_register(PWM_CH2_INDEX, "led_breath", DEVICE_OFLAG_RDWR); + pwm_register(PWM_CH2_INDEX, "led_breath"); struct device *led_breath = device_find("led_breath"); diff --git a/docs/development_guide/build/html/_sources/samples/basic samples/pwm/pwm_step_motor.rst.txt b/docs/development_guide/build/html/_sources/samples/basic samples/pwm/pwm_step_motor.rst.txt index d63e16bc..c3c11e1b 100644 --- a/docs/development_guide/build/html/_sources/samples/basic samples/pwm/pwm_step_motor.rst.txt +++ b/docs/development_guide/build/html/_sources/samples/basic samples/pwm/pwm_step_motor.rst.txt @@ -151,10 +151,10 @@ PWM - 驱动步进电机 .. code-block:: C :linenos: - pwm_register(PWM_CH0_INDEX, "motor_ch0", DEVICE_OFLAG_RDWR); - pwm_register(PWM_CH1_INDEX, "motor_ch1", DEVICE_OFLAG_RDWR); - pwm_register(PWM_CH2_INDEX, "motor_ch2", DEVICE_OFLAG_RDWR); - pwm_register(PWM_CH3_INDEX, "motor_ch3", DEVICE_OFLAG_RDWR); + pwm_register(PWM_CH0_INDEX, "motor_ch0"); + pwm_register(PWM_CH1_INDEX, "motor_ch1"); + pwm_register(PWM_CH2_INDEX, "motor_ch2"); + pwm_register(PWM_CH3_INDEX, "motor_ch3"); motor_ch0 = device_find("motor_ch0"); motor_ch1 = device_find("motor_ch1"); diff --git a/docs/development_guide/build/html/_sources/samples/basic samples/spi/spi_lcd_demo.rst.txt b/docs/development_guide/build/html/_sources/samples/basic samples/spi/spi_lcd_demo.rst.txt index 3552207f..449e90e2 100644 --- a/docs/development_guide/build/html/_sources/samples/basic samples/spi/spi_lcd_demo.rst.txt +++ b/docs/development_guide/build/html/_sources/samples/basic samples/spi/spi_lcd_demo.rst.txt @@ -80,7 +80,7 @@ SPI - TFT LCD 显示 device_close(spi0); } else{ - spi_register(SPI0_INDEX,"spi0",DEVICE_OFLAG_RDWR); + spi_register(SPI0_INDEX,"spi0"); spi0 = device_find("spi0"); } if(spi0) diff --git a/docs/development_guide/build/html/_sources/samples/basic samples/uart/uart_loopback_demo.rst.txt b/docs/development_guide/build/html/_sources/samples/basic samples/uart/uart_loopback_demo.rst.txt index dc31158b..806af4e1 100644 --- a/docs/development_guide/build/html/_sources/samples/basic samples/uart/uart_loopback_demo.rst.txt +++ b/docs/development_guide/build/html/_sources/samples/basic samples/uart/uart_loopback_demo.rst.txt @@ -67,7 +67,7 @@ UART - 数据自收发 .. code-block:: C :linenos: - uart_register(board_get_debug_uart_index(), "debug_log", DEVICE_OFLAG_RDWR); + uart_register(board_get_debug_uart_index(), "debug_log"); struct device *uart = device_find("debug_log"); if (uart) diff --git a/docs/development_guide/build/html/api_reference/api_overview.html b/docs/development_guide/build/html/api_reference/api_overview.html index 65694af9..c4cc50cd 100644 --- a/docs/development_guide/build/html/api_reference/api_overview.html +++ b/docs/development_guide/build/html/api_reference/api_overview.html @@ -303,22 +303,15 @@

1.3. 设备驱动管理层标准接口

1.3.1. device_register

-

device_register 用于设备的注册,将设备信息注册到链表当中。

-
int device_register(struct device *dev, const char *name, uint16_t flag);
+

device_register 用于设备标准驱动的注册,并将设备信息注册到链表当中。

+
int device_register(struct device *dev, const char *name);
 
  • dev 设备句柄。

  • name 设备名称。

  • -
  • flag 设备的读写属性

  • return 返回错误码,0 表示注册成功,其他表示错误。

-

flag 可以写入以下参数,表示:只读只写可读可写

-
#define DEVICE_OFLAG_RDONLY 0x1000 /* 以只读方式打开设备 */
-#define DEVICE_OFLAG_WRONLY 0x2000 /* 以只写方式打开设备 */
-#define DEVICE_OFLAG_RDWR   0x3000 /* 以读写方式打开设备 */
-
-

1.3.2. device_unregister

diff --git a/docs/development_guide/build/html/api_reference/peripheral/api_adc.html b/docs/development_guide/build/html/api_reference/peripheral/api_adc.html index ded57ed3..e370e061 100644 --- a/docs/development_guide/build/html/api_reference/peripheral/api_adc.html +++ b/docs/development_guide/build/html/api_reference/peripheral/api_adc.html @@ -116,7 +116,7 @@
  • 3.9.2. ADC 设备结构体定义
  • 3.9.3. ADC 设备参数配置表
  • 3.9.4. ADC 设备接口
      -
    • 3.9.4.1. ADC_register
    • +
    • 3.9.4.1. adc_register
    • 3.9.4.2. device_open
    • 3.9.4.3. device_close
    • 3.9.4.4. device_control
    • @@ -304,14 +304,13 @@

      3.9.4. ADC 设备接口

      ADC 设备接口全部遵循标准设备驱动管理层提供的接口。

      -

      3.9.4.1. ADC_register

      +

      3.9.4.1. adc_register

      adc_register 用来注册 ADC 设备标准驱动接口,在注册之前需要打开对应 ADC 设备的宏定义。例如定义宏 BSP_USING_ADC0 方可使用 ADC0 设备,注册完成以后才可以使用其他接口,如果没有定义宏,则无法使用 ADC0 设备。

      -
      int ADC_register(enum ADC_index_type index, const char *name, uint16_t flag);
      +
      int adc_register(enum ADC_index_type index, const char *name);
       
      • index 要注册的设备索引

      • -
      • name 为注册的设备命名

      • flag 默认可读可写属性

      index 用来选择 ADC 设备配置,一个 index 对应一个 ADC 设备配置,比如 ADC0_INDEX 对应 ADC0_CONFIG 配置,index 有如下可选类型

      diff --git a/docs/development_guide/build/html/api_reference/peripheral/api_dma.html b/docs/development_guide/build/html/api_reference/peripheral/api_dma.html index 1f18fb33..8732e26b 100644 --- a/docs/development_guide/build/html/api_reference/peripheral/api_dma.html +++ b/docs/development_guide/build/html/api_reference/peripheral/api_dma.html @@ -424,13 +424,12 @@

      3.5.4.1. dma_register

      dma_register 用来注册 DMA 设备标准驱动接口,在注册之前需要打开对应 DMA 设备的通道宏定义。例如定义宏 BSP_USING_DMA_CH0 方可使用 DMA 设备的 0 通道,注册完成以后才可以使用其他接口,如果没有定义宏,则无法使用 DMA 设备的 0 通道。

      -
      int dma_register(enum dma_index_type index, const char *name, uint16_t flag);
      +
      int dma_register(enum dma_index_type index, const char *name);
       
      • index 要注册的设备索引

      • name 为注册的设备命名

      • -
      • flag 默认可读可写属性

      index 用来选择 DMA 设备某个通道的配置,一个 index 对应一个 DMA 设备的一个通道配置,比如 DMA_CH0_INDEX 对应 DMA 通道0 配置,index 有如下可选类型

      enum dma_index_type
      diff --git a/docs/development_guide/build/html/api_reference/peripheral/api_i2c.html b/docs/development_guide/build/html/api_reference/peripheral/api_i2c.html
      index 3d1c1f58..9c4b5b53 100644
      --- a/docs/development_guide/build/html/api_reference/peripheral/api_i2c.html
      +++ b/docs/development_guide/build/html/api_reference/peripheral/api_i2c.html
      @@ -289,13 +289,12 @@
       

      3.6.4.1. i2c_register

      i2c_register 用来注册 I2C 设备标准驱动接口,在注册之前需要打开对应 I2C 设备的宏定义。例如定义宏 BSP_USING_I2C0 方可使用 I2C0 设备,注册完成以后才可以使用其他接口,如果没有定义宏,则无法使用 I2C0 设备。

      -
      int i2c_register(enum i2c_index_type index, const char *name, uint16_t flag);
      +
      int i2c_register(enum i2c_index_type index, const char *name);
       
      • index 要注册的设备索引

      • name 为注册的设备命名

      • -
      • flag 默认可读可写属性

      index 用来选择 I2C 设备,一个 index 对应一个 I2C 设备配置,比如 I2C0_INDEX 对应 I2C0_CONFIG 配置,index 有如下可选类型

      enum i2c_index_type
      diff --git a/docs/development_guide/build/html/api_reference/peripheral/api_i2s.html b/docs/development_guide/build/html/api_reference/peripheral/api_i2s.html
      index e0291f7b..1a573397 100644
      --- a/docs/development_guide/build/html/api_reference/peripheral/api_i2s.html
      +++ b/docs/development_guide/build/html/api_reference/peripheral/api_i2s.html
      @@ -354,13 +354,12 @@
       

      3.7.4.1. i2s_register

      i2s_register 用来注册 I2S 标准驱动接口,在注册之前需要打开对应 I2S 设备的宏定义,例如定义宏 BSP_USING_I2S0 方可使用 I2S0 设备。注册完成以后才可以使用其他接口,如果没有定义宏,则无法使用 I2S 设备。

      -
      int i2s_register(enum i2s_index_type index, const char *name, uint16_t flag);
      +
      int i2s_register(enum i2s_index_type index, const char *name);
       
      • index 要注册的设备索引

      • name 为注册的设备命名

      • -
      • flag 默认可读可写属性

      index 用来选择 I2S 设备配置,一个 index 对应一个 I2S 设备配置,比如 I2S0_INDEX 对应 I2S0_CONFIG 配置。index 有如下可选类型

      enum i2s_index_type {
      diff --git a/docs/development_guide/build/html/api_reference/peripheral/api_pwm.html b/docs/development_guide/build/html/api_reference/peripheral/api_pwm.html
      index cb99dc70..d4cd8a95 100644
      --- a/docs/development_guide/build/html/api_reference/peripheral/api_pwm.html
      +++ b/docs/development_guide/build/html/api_reference/peripheral/api_pwm.html
      @@ -321,13 +321,12 @@
       

      3.4.4.1. pwm_register

      pwm_register 用来注册 PWM 设备的一个通道的标准驱动接口,在注册之前需要打开对应 PWM 设备某个通道的宏定义,例如定义 BSP_USING_PWM_CH0 方可使用 PWM 通道0 设备。注册完成以后才可以使用其他接口,如果没有定义宏,则无法使用 PWM 设备。

      -
      int pwm_register(enum pwm_index_type index, const char *name, uint16_t flag);
      +
      int pwm_register(enum pwm_index_type index, const char *name);
       
      • index 要注册的设备索引

      • name 为注册的设备命名

      • -
      • flag 默认可读可写属性

      index 用来选择 PWM 设备某个通道的配置,一个 index 对应一个 PWM 设备的一个通道配置,比如 PWM_CH0_INDEX 对应 PWM 通道0 配置,index 有如下可选类型

      enum pwm_index_type
      diff --git a/docs/development_guide/build/html/api_reference/peripheral/api_spi.html b/docs/development_guide/build/html/api_reference/peripheral/api_spi.html
      index b583fe95..c47d594b 100644
      --- a/docs/development_guide/build/html/api_reference/peripheral/api_spi.html
      +++ b/docs/development_guide/build/html/api_reference/peripheral/api_spi.html
      @@ -348,13 +348,12 @@ SDI(数据输入)、SDO(数据输出)、SCLK(时钟)、CS(片选
       

      3.8.4.1. spi_register

      spi_register 用来注册 SPI 设备标准驱动接口,在注册之前需要打开对应 SPI 设备的宏定义,例如定义宏 BSP_USING_SPI0 方可使用 SPI0 设备。注册完成以后才可以使用其他接口,如果没有定义宏,则无法使用 SPI 设备。

      -
      int spi_register(enum spi_index_type index, const char *name, uint16_t flag);
      +
      int spi_register(enum spi_index_type index, const char *name);
       
      • index 要注册的设备索引

      • name 为注册的设备命名

      • -
      • flag 默认可读可写属性

      index 用来选择 SPI 设备配置,一个 index 对应一个 SPI 设备配置,比如 SPI0_INDEX 对应 SPI0_CONFIG 配置,index 有如下可选类型

      enum spi_index_type
      diff --git a/docs/development_guide/build/html/api_reference/peripheral/api_timer.html b/docs/development_guide/build/html/api_reference/peripheral/api_timer.html
      index f55b1dd9..3fcf9baf 100644
      --- a/docs/development_guide/build/html/api_reference/peripheral/api_timer.html
      +++ b/docs/development_guide/build/html/api_reference/peripheral/api_timer.html
      @@ -335,13 +335,12 @@
       

      3.11.4.1. timer_register

      timer_register 用来注册 TIMER 设备标准驱动接口,在注册之前需要打开对应 TIMER 设备的宏定义。例如定义宏 BSP_USING_TIMER_CH0 方可使用 TIMER_CH0_INDEX 设备,注册完成以后才可以使用其他接口,如果没有定义宏,则无法使用 TIMER_CH0_INDEX 设备。

      -
      int timer_register(enum timer_index_type index, const char *name, uint16_t flag);
      +
      int timer_register(enum timer_index_type index, const char *name);
       
      • index 要注册的设备索引

      • name 为注册的设备命名

      • -
      • flag 默认可读可写属性

      index 用来选择 TIMER 设备配置,一个 index 对应一个 TIMER 设备配置,比如 TIMER_CH0_INDEX 对应 TIMER_CH0_CONFIG 配置,index 有如下可选类型

      enum timer_index_type {
      diff --git a/docs/development_guide/build/html/api_reference/peripheral/api_uart.html b/docs/development_guide/build/html/api_reference/peripheral/api_uart.html
      index c8216879..aa9e4e6e 100644
      --- a/docs/development_guide/build/html/api_reference/peripheral/api_uart.html
      +++ b/docs/development_guide/build/html/api_reference/peripheral/api_uart.html
      @@ -339,13 +339,12 @@
       

      3.3.4.1. uart_register

      uart_register 用来注册 UART 设备标准驱动接口,在注册之前需要打开对应 UART 设备的宏定义。例如定义宏 BSP_USING_UART0 方可使用 UART0 设备,注册完成以后才可以使用其他接口,如果没有定义宏,则无法使用 UART0 设备。

      -
      int uart_register(enum uart_index_type index, const char *name, uint16_t flag);
      +
      int uart_register(enum uart_index_type index, const char *name);
       
      • index 要注册的设备索引

      • name 为注册的设备命名

      • -
      • flag 默认可读可写属性

      index 用来选择 UART 设备配置,一个 index 对应一个 UART 设备配置,比如 UART0_INDEX 对应 UART0_CONFIG 配置,index 有如下可选类型

      enum uart_index_type
      diff --git a/docs/development_guide/build/html/api_reference/peripheral/api_usb.html b/docs/development_guide/build/html/api_reference/peripheral/api_usb.html
      index 51269054..5f129f2d 100644
      --- a/docs/development_guide/build/html/api_reference/peripheral/api_usb.html
      +++ b/docs/development_guide/build/html/api_reference/peripheral/api_usb.html
      @@ -307,13 +307,12 @@
       

      3.12.3.1. usb_dc_register

      usb_dc_register 用来注册 USB 设备标准驱动接口,在注册之前需要打开对应 USB 设备的宏定义,例如定义宏 BSP_USING_USB 方可使用 USB 设备。注册完成以后才可以使用其他接口,如果没有定义宏,则无法使用 USB 设备。

      -
      int usb_dc_register(enum usb_index_type index, const char *name, uint16_t flag);
      +
      int usb_dc_register(enum usb_index_type index, const char *name);
       
      • index 要注册的设备索引

      • name 为注册的设备命名

      • -
      • flag 默认可读可写属性

      • return 错误码,0表示成功,其他表示失败

      diff --git a/docs/development_guide/build/html/api_reference/usb stack/api_usb_stack.html b/docs/development_guide/build/html/api_reference/usb stack/api_usb_stack.html index 71fb89f5..7eb50372 100644 --- a/docs/development_guide/build/html/api_reference/usb stack/api_usb_stack.html +++ b/docs/development_guide/build/html/api_reference/usb stack/api_usb_stack.html @@ -260,7 +260,7 @@

      usb_dc_init 用来注册 USB 设备和初始化 USB 硬件相关寄存器,注册 usb 中断回调函数。在注册之前需要打开对应 USB 设备的宏定义,例如定义宏 BSP_USING_USB 方可使用 USB 设备。

      struct device *usb_dc_init(void)
       {
      -    usb_dc_register(USB_INDEX, "usb", DEVICE_OFLAG_RDWR);
      +    usb_dc_register(USB_INDEX, "usb");
           usb = device_find("usb");
           device_set_callback(usb, usb_dc_event_callback);
           device_open(usb, 0);
      diff --git a/docs/development_guide/build/html/samples/advance samples/shell_demo.html b/docs/development_guide/build/html/samples/advance samples/shell_demo.html
      index 4a6dcda4..a676e8ce 100644
      --- a/docs/development_guide/build/html/samples/advance samples/shell_demo.html	
      +++ b/docs/development_guide/build/html/samples/advance samples/shell_demo.html	
      @@ -296,7 +296,7 @@
       6
       7
       8
      -9
          uart_register(board_get_debug_uart_index(), "debug_log", DEVICE_OFLAG_RDWR);
      +9
          uart_register(board_get_debug_uart_index(), "debug_log");
           struct device *uart = device_find("debug_log");
       
           if (uart)
      diff --git a/docs/development_guide/build/html/samples/basic samples/dma/dma_m2m_demo.html b/docs/development_guide/build/html/samples/basic samples/dma/dma_m2m_demo.html
      index d7711670..9073cb07 100644
      --- a/docs/development_guide/build/html/samples/basic samples/dma/dma_m2m_demo.html	
      +++ b/docs/development_guide/build/html/samples/basic samples/dma/dma_m2m_demo.html	
      @@ -264,7 +264,7 @@
        7
        8
        9
      -10
      dma_register(DMA0_CH0_INDEX, "DMA", DEVICE_OFLAG_RDWR);
      +10
      dma_register(DMA0_CH0_INDEX, "DMA");
       
       struct device *dma = device_find("DMA");
       
      diff --git a/docs/development_guide/build/html/samples/basic samples/i2c/i2c_eeprom_demo.html b/docs/development_guide/build/html/samples/basic samples/i2c/i2c_eeprom_demo.html
      index 771de56f..97eddf2b 100644
      --- a/docs/development_guide/build/html/samples/basic samples/i2c/i2c_eeprom_demo.html	
      +++ b/docs/development_guide/build/html/samples/basic samples/i2c/i2c_eeprom_demo.html	
      @@ -236,7 +236,7 @@
       
        -
      • 配置 I2C 设备复用引脚,见 bsp/board/bl706_iot/peripheral_config.h

      • +
      • 配置 I2C 设备复用引脚,见 bsp/board/bl706_iot/pinmux_config.h

       1
        2
      @@ -273,7 +273,7 @@
       5
       6
       7
      -8
      i2c_register(I2C0_INDEX, "i2c", DEVICE_OFLAG_RDWR);
      +8
      i2c_register(I2C0_INDEX, "i2c");
       struct device *i2c0 = device_find("i2c");
       
       if (i2c0)
      diff --git a/docs/development_guide/build/html/samples/basic samples/pwm/pwm_breath_demo.html b/docs/development_guide/build/html/samples/basic samples/pwm/pwm_breath_demo.html
      index c9d3a292..852cc9ae 100644
      --- a/docs/development_guide/build/html/samples/basic samples/pwm/pwm_breath_demo.html	
      +++ b/docs/development_guide/build/html/samples/basic samples/pwm/pwm_breath_demo.html	
      @@ -282,7 +282,7 @@
        8
        9
       10
      -11
      pwm_register(PWM_CH2_INDEX, "led_breath", DEVICE_OFLAG_RDWR);
      +11
      pwm_register(PWM_CH2_INDEX, "led_breath");
       
       struct device *led_breath = device_find("led_breath");
       
      diff --git a/docs/development_guide/build/html/samples/basic samples/pwm/pwm_step_motor.html b/docs/development_guide/build/html/samples/basic samples/pwm/pwm_step_motor.html
      index 55588f5e..fe459a9b 100644
      --- a/docs/development_guide/build/html/samples/basic samples/pwm/pwm_step_motor.html	
      +++ b/docs/development_guide/build/html/samples/basic samples/pwm/pwm_step_motor.html	
      @@ -445,10 +445,10 @@
       36
       37
       38
      -39
      pwm_register(PWM_CH0_INDEX, "motor_ch0", DEVICE_OFLAG_RDWR);
      -pwm_register(PWM_CH1_INDEX, "motor_ch1", DEVICE_OFLAG_RDWR);
      -pwm_register(PWM_CH2_INDEX, "motor_ch2", DEVICE_OFLAG_RDWR);
      -pwm_register(PWM_CH3_INDEX, "motor_ch3", DEVICE_OFLAG_RDWR);
      +39
      pwm_register(PWM_CH0_INDEX, "motor_ch0");
      +pwm_register(PWM_CH1_INDEX, "motor_ch1");
      +pwm_register(PWM_CH2_INDEX, "motor_ch2");
      +pwm_register(PWM_CH3_INDEX, "motor_ch3");
       
       motor_ch0 = device_find("motor_ch0");
       motor_ch1 = device_find("motor_ch1");
      diff --git a/docs/development_guide/build/html/samples/basic samples/spi/spi_lcd_demo.html b/docs/development_guide/build/html/samples/basic samples/spi/spi_lcd_demo.html
      index b9ffe628..bee33e45 100644
      --- a/docs/development_guide/build/html/samples/basic samples/spi/spi_lcd_demo.html	
      +++ b/docs/development_guide/build/html/samples/basic samples/spi/spi_lcd_demo.html	
      @@ -314,7 +314,7 @@
           device_close(spi0);
       }
       else{
      -    spi_register(SPI0_INDEX,"spi0",DEVICE_OFLAG_RDWR);
      +    spi_register(SPI0_INDEX,"spi0");
           spi0 = device_find("spi0");
       }
       if(spi0)
      diff --git a/docs/development_guide/build/html/samples/basic samples/uart/uart_loopback_demo.html b/docs/development_guide/build/html/samples/basic samples/uart/uart_loopback_demo.html
      index a30baae3..52f1b46a 100644
      --- a/docs/development_guide/build/html/samples/basic samples/uart/uart_loopback_demo.html	
      +++ b/docs/development_guide/build/html/samples/basic samples/uart/uart_loopback_demo.html	
      @@ -287,7 +287,7 @@
       6
       7
       8
      -9
          uart_register(board_get_debug_uart_index(), "debug_log", DEVICE_OFLAG_RDWR);
      +9
          uart_register(board_get_debug_uart_index(), "debug_log");
           struct device *uart = device_find("debug_log");
       
           if (uart)
      diff --git a/docs/development_guide/build/html/searchindex.js b/docs/development_guide/build/html/searchindex.js
      index 3bd87aae..9a4033b8 100644
      --- a/docs/development_guide/build/html/searchindex.js
      +++ b/docs/development_guide/build/html/searchindex.js
      @@ -1 +1 @@
      -Search.setIndex({docnames:["api_reference/api_overview","api_reference/bluetooth/api_ble","api_reference/board","api_reference/peripheral/api_adc","api_reference/peripheral/api_clock","api_reference/peripheral/api_dac","api_reference/peripheral/api_dma","api_reference/peripheral/api_gpio","api_reference/peripheral/api_i2c","api_reference/peripheral/api_i2s","api_reference/peripheral/api_pwm","api_reference/peripheral/api_spi","api_reference/peripheral/api_timer","api_reference/peripheral/api_uart","api_reference/peripheral/api_usb","api_reference/peripheral/index","api_reference/shell/api_shell","api_reference/usb stack/api_usb_stack","get_started/Linux_quick_start_ubuntu","get_started/Windows_quick_start_cdk","get_started/Windows_quick_start_eclipse","get_started/bl_dev_cube","get_started/cdk_ck_link","get_started/cdk_new_project_quick_start","get_started/cdk_rv_debugger_plus","get_started/cmake_quick_start","get_started/connecting_hardware","get_started/get_started","get_started/index","index","samples/advance samples/ble_scan_demo","samples/advance samples/boot2_iap_info","samples/advance samples/fatfs_demo","samples/advance samples/lowpower_demo","samples/advance samples/shell_demo","samples/advance samples/usb/index","samples/advance samples/usb/usbd_audio","samples/advance samples/usb/usbd_cdc","samples/advance samples/usb/usbd_hid","samples/advance samples/usb/usbd_msc","samples/advance samples/usb/usbd_video","samples/basic samples/adc/adc_key_demo","samples/basic samples/adc/index","samples/basic samples/dma/dma_m2m_demo","samples/basic samples/dma/index","samples/basic samples/gpio/blink_demo","samples/basic samples/gpio/button_demo","samples/basic samples/gpio/index","samples/basic samples/i2c/i2c_eeprom_demo","samples/basic samples/i2c/index","samples/basic samples/mtimer/index","samples/basic samples/mtimer/mtimer_demo","samples/basic samples/pwm/index","samples/basic samples/pwm/pwm_breath_demo","samples/basic samples/pwm/pwm_step_motor","samples/basic samples/spi/index","samples/basic samples/spi/spi_lcd_demo","samples/basic samples/timer/index","samples/basic samples/timer/timer_interrupt_demo","samples/basic samples/uart/index","samples/basic samples/uart/uart_loopback_demo"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":3,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":2,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["api_reference\\api_overview.rst","api_reference\\bluetooth\\api_ble.rst","api_reference\\board.rst","api_reference\\peripheral\\api_adc.rst","api_reference\\peripheral\\api_clock.rst","api_reference\\peripheral\\api_dac.rst","api_reference\\peripheral\\api_dma.rst","api_reference\\peripheral\\api_gpio.rst","api_reference\\peripheral\\api_i2c.rst","api_reference\\peripheral\\api_i2s.rst","api_reference\\peripheral\\api_pwm.rst","api_reference\\peripheral\\api_spi.rst","api_reference\\peripheral\\api_timer.rst","api_reference\\peripheral\\api_uart.rst","api_reference\\peripheral\\api_usb.rst","api_reference\\peripheral\\index.rst","api_reference\\shell\\api_shell.rst","api_reference\\usb stack\\api_usb_stack.rst","get_started\\Linux_quick_start_ubuntu.rst","get_started\\Windows_quick_start_cdk.rst","get_started\\Windows_quick_start_eclipse.rst","get_started\\bl_dev_cube.rst","get_started\\cdk_ck_link.rst","get_started\\cdk_new_project_quick_start.rst","get_started\\cdk_rv_debugger_plus.rst","get_started\\cmake_quick_start.rst","get_started\\connecting_hardware.rst","get_started\\get_started.rst","get_started\\index.rst","index.rst","samples\\advance samples\\ble_scan_demo.rst","samples\\advance samples\\boot2_iap_info.rst","samples\\advance samples\\fatfs_demo.rst","samples\\advance samples\\lowpower_demo.rst","samples\\advance samples\\shell_demo.rst","samples\\advance samples\\usb\\index.rst","samples\\advance samples\\usb\\usbd_audio.rst","samples\\advance samples\\usb\\usbd_cdc.rst","samples\\advance samples\\usb\\usbd_hid.rst","samples\\advance samples\\usb\\usbd_msc.rst","samples\\advance samples\\usb\\usbd_video.rst","samples\\basic samples\\adc\\adc_key_demo.rst","samples\\basic samples\\adc\\index.rst","samples\\basic samples\\dma\\dma_m2m_demo.rst","samples\\basic samples\\dma\\index.rst","samples\\basic samples\\gpio\\blink_demo.rst","samples\\basic samples\\gpio\\button_demo.rst","samples\\basic samples\\gpio\\index.rst","samples\\basic samples\\i2c\\i2c_eeprom_demo.rst","samples\\basic samples\\i2c\\index.rst","samples\\basic samples\\mtimer\\index.rst","samples\\basic samples\\mtimer\\mtimer_demo.rst","samples\\basic samples\\pwm\\index.rst","samples\\basic samples\\pwm\\pwm_breath_demo.rst","samples\\basic samples\\pwm\\pwm_step_motor.rst","samples\\basic samples\\spi\\index.rst","samples\\basic samples\\spi\\spi_lcd_demo.rst","samples\\basic samples\\timer\\index.rst","samples\\basic samples\\timer\\timer_interrupt_demo.rst","samples\\basic samples\\uart\\index.rst","samples\\basic samples\\uart\\uart_loopback_demo.rst"],objects:{"":{SHELL_CMD_EXPORT:[16,0,1,"c.SHELL_CMD_EXPORT"],SHELL_CMD_EXPORT_ALIAS:[16,0,1,"c.SHELL_CMD_EXPORT_ALIAS"]}},objnames:{"0":["c","macro","C \u5b8f"]},objtypes:{"0":"c:macro"},terms:{"0v":[3,41],"0x":48,"0x00":[1,48],"0x0000":8,"0x00000000":6,"0x00000001":6,"0x00000002":6,"0x00000003":6,"0x00000006":6,"0x00000007":6,"0x0000000a":6,"0x0000000b":6,"0x00000014":6,"0x00000015":6,"0x00000016":6,"0x00000017":6,"0x00000018":6,"0x00000019":6,"0x0000001a":6,"0x0000001b":6,"0x0000001c":6,"0x0000001d":6,"0x0000001e":6,"0x0000001f":6,"0x0001":8,"0x001":[0,3,6,8,9,10,11,13],"0x0010":8,"0x0018":1,"0x002":[0,3,6,8,9,10,11,13],"0x0020":8,"0x0028":1,"0x004":[0,3,6,8,10,11,13],"0x0040":8,"0x008":[0,3,6,8,10,11,13],"0x00a0":1,"0x00f0":1,"0x01":[0,1,12,30],"0x010":[0,3,6,8,9,10,11,13],"0x0180":30,"0x02":[0,12,30],"0x020":[0,3,6,8,9,10,11,13],"0x03":[0,30],"0x04":[0,30],"0x05":[0,30],"0x06":[0,30],"0x07":[0,30],"0x08":[0,30],"0x09":[0,30],"0x0a":0,"0x0b":0,"0x0c":0,"0x0d":0,"0x0e":0,"0x0f":0,"0x10":[3,6,9,10,11,13],"0x1000":0,"0x11":[3,6,9,13],"0x12":[3,6,30],"0x13":[3,6,30],"0x14":3,"0x15":3,"0x16":3,"0x18":30,"0x1812":30,"0x2000":0,"0x3000":0,"0x50":48,"0x71":30,"0x80":[12,30],"0x81":12,"0x82":12,"0xff":43,"10":[7,18,30,33],"100":10,"1000":[9,41],"1000000":[51,53],"11":[7,27,30],"12":[3,7,30],"125hz":54,"13":[1,7,30],"14":[3,30,33],"14bit":3,"15":[8,30,40,48],"16":[3,6,9,10,12,30,53],"160":54,"16bit":3,"17":30,"18":[27,30],"18000000":11,"19":[18,30],"1m":51,"1mhz":53,"1s":[33,51],"1v":41,"20":30,"2000000":[13,18,34,60],"20210120":18,"24":9,"244":30,"256":12,"25hz":54,"28":33,"28byj48":54,"2f":41,"2m":21,"2mhz":3,"2v":[3,41],"31":33,"32":[6,9,12,43,53,54],"32768":33,"32k":[10,33,54],"32m":[33,53],"360":54,"36000000":56,"37":54,"3v":41,"3v3":26,"400":1,"4096":54,"40m":11,"43v":41,"4ghz":1,"4k":33,"50":[10,53],"625":[1,54],"64":[14,51,54],"64k":33,"68":33,"8000":43,"break":13,"case":[20,23,25],"char":[0,1,3,6,8,9,10,11,12,13,14,30,34],"class":17,"const":[0,1,3,6,8,9,10,11,12,13,14,30],"default":26,"enum":[0,1,3,4,6,8,9,10,11,12,13,14,54],"export":18,"for":[1,9,18,34,40,43,53],"function":[34,40,41,45,46,48,53,54,56,60],"if":[1,2,3,6,8,9,10,11,12,13,30,34,40,41,43,48,53,54,56,58,60],"import":20,"in":[1,14,30,31,40],"int":[0,1,3,6,7,8,9,10,11,12,13,14,30,34],"null":[0,1,3,6,10,11,12,13,14,30,34,43,58,60],"public":1,"return":[0,1,3,6,7,8,9,10,11,12,13,14,17,30,34],"static":[3,6,8,9,10,11,13,30,46,51],"try":1,"void":[0,1,2,3,6,7,9,10,11,12,13,14,16,17,30,34,41,43,46,51,54,56,58,60],"while":[30,33],"with":1,__hal_rcc_gpiob_clk_en:2,__hal_rcc_uart5_clk_en:2,_printf_float:23,access:[1,6],ack:14,acknowledg:1,acl:1,activ:1,ad:1,ad_discov:1,ad_len:1,adc0:[3,6,41],adc0_config:[3,41],adc0_index:[3,41],adc:[0,15,29],adc_channel_cfg:41,adc_channel_cfg_t:[3,41],adc_channel_start:41,adc_clk_div_t:3,adc_clock_div_32:[3,41],adc_clos:3,adc_control:3,adc_data_width_16b_with_256_averag:[3,41],adc_data_width_t:3,adc_dev:[3,41],adc_devic:3,adc_device_t:3,adc_event_fifo_readi:3,adc_event_overrun:3,adc_event_typ:3,adc_event_underrun:3,adc_fifo_threshold_1byt:[3,41],adc_fifo_threshold_t:3,adc_gain_1:[3,41],adc_index_typ:3,adc_it_typ:3,adc_kei:41,adc_max_index:3,adc_open:3,adc_param_cfg_t:3,adc_pga_gain_t:3,adc_read:3,adc_regist:41,adc_start:3,adc_stop:3,adc_vref_3p2v:[3,41],adc_vref_t:3,adcx_devic:3,add:22,addr:[1,14],addr_typ:1,address:1,adv:[1,30],adv_addr:1,adv_data:30,adv_nam:30,adv_param:30,advanc:21,advertis:1,after:1,alia:16,all:[2,21,27],altern:2,an:1,analog:3,and:[1,2],ani:1,aon:33,api:[1,29],app:[18,20,25,30,33,34,40,41,43,45,46,48,51,53,54,56,58,60],appear:1,appli:20,applic:[1,20,31],apt:[18,27],are:1,arg:[0,3,6,9,10,11,12,13,14,34,43,58,60],argc:34,argv:34,array_s:30,as:[1,9,30],asynchron:13,at24cxx:49,atomic_defin:1,atomic_t:1,attr:30,attribut:1,audio:35,avb:[26,40],bashrc:18,baudrat:[13,34,60],bclk:[9,10],be:[1,30],bearer:1,befor:1,begin:2,bflb_mcu_prefer:20,bflb_platform_delay_m:53,bflb_platform_init:[34,60],bflb_platform_set_alarm_tim:51,bilibili:17,bin:[18,20,21,22,24,31],bit:[1,3,9,10,12,13],bl602:1,bl702:[18,19,20,27,29,30],bl702_avb:56,bl702_bl704_bl706_ds_en_combo_1:33,bl702_driver:[56,58],bl702_iot:26,bl706:[20,26,31,33,40],bl706_avb:[27,40,41,56],bl706_iot:[18,20,23,25,27,30,34,43,45,46,48,51,53,54,58,60],bl706_lp:33,bl70x:[14,26,29,33],bl70x_flash:22,bl70x_flasher:22,bl:[7,24,33],bl_clean:20,bl_config_wizard:2,bl_make:20,bl_mcu_sdk:[0,23,25,30,31,33,34,40,41,43,45,46,48,51,53,54,56,58,60],bl_test_01:30,bldevcub:[24,29,30,34,40,41,43,45,46,48,51,53,54,56,58,60],ble:29,ble_centr:30,ble_contr:30,ble_peripher:30,ble_start_adv:30,ble_start_scan:30,ble_tp_conn:30,ble_tp_conn_callback:30,ble_tp_connect:30,ble_tp_disconnect:30,ble_tp_init:30,ble_tp_notify_task:30,ble_tp_recv_wr:30,ble_write_data:30,ble_write_data_task:30,bluetooth:1,board:[3,4,6,7,8,9,10,11,12,13,18,20,23,25,26,29,30,33,34,40,41,43,45,46,48,51,53,54,56,58,60],board_get_debug_uart_index:[34,60],bool:[1,3],boot2:29,boot2_iap:31,boot:[18,21,26,27],boot_rom:18,borad:20,bouffalo:[20,26,27,31],bouffalolab:[18,19,20,21],boufflao:[2,33],br:1,breath:53,broadcast:1,brows:21,bsp:[2,3,4,6,7,8,9,10,11,12,13,34,40,41,43,48,53,54,56,58,60],bsp_adc_clock_div:41,bsp_adc_clock_sourc:41,bsp_cam_clock_div:40,bsp_cam_clock_sourc:40,bsp_common:40,bsp_i2c_clock_div:[40,48],bsp_i2c_clock_sourc:[40,48],bsp_image_sensor:40,bsp_pwm_clock_div:[53,54],bsp_pwm_clock_sourc:[53,54],bsp_spi_clock_div:56,bsp_spi_clock_sourc:56,bsp_uart_clock_div:[34,60],bsp_uart_clock_sourc:[34,60],bsp_using_adc0:[3,41],bsp_using_cam:40,bsp_using_dma0_ch0:[6,43],bsp_using_dma0_ch1:6,bsp_using_dma0_ch2:[6,40],bsp_using_dma0_ch3:6,bsp_using_dma0_ch4:6,bsp_using_dma0_ch5:6,bsp_using_dma0_ch6:6,bsp_using_dma0_ch7:6,bsp_using_dma_ch0:6,bsp_using_i2c0:[8,40,48],bsp_using_i2s0:9,bsp_using_pwm_ch0:[10,54],bsp_using_pwm_ch1:[10,54],bsp_using_pwm_ch2:[10,53,54],bsp_using_pwm_ch3:[10,54],bsp_using_pwm_ch4:10,bsp_using_spi0:[11,56],bsp_using_timer_ch0:[12,58],bsp_using_timer_ch1:12,bsp_using_uart0:[13,34,60],bsp_using_uart1:13,bsp_using_usb:[14,17,40],bsp_using_xxx:2,bt:1,bt_addr_le_ani:1,bt_addr_le_t:1,bt_char_ble_tp_not_attr_val_index:30,bt_conn:[1,30],bt_conn_auth_cb:1,bt_conn_br:1,bt_conn_cb:[1,30],bt_conn_cb_regist:30,bt_conn_info:1,bt_conn_l:1,bt_conn_num_flag:1,bt_conn_rv:1,bt_conn_sco:1,bt_conn_state_t:1,bt_data:[1,30],bt_data_byt:1,bt_data_flag:[1,30],bt_data_gap_appear:30,bt_data_manufacturer_data:30,bt_data_name_complet:[1,30],bt_data_uuid16_al:30,bt_gap_adv_fast_int_max_3:30,bt_gap_adv_fast_int_min_3:30,bt_gap_init_conn_int_max:1,bt_gap_init_conn_int_min:1,bt_gap_scan_slow_interval_1:1,bt_gap_scan_slow_window_1:1,bt_gatt_attr:30,bt_gatt_notifi:30,bt_gatt_subscribe_param:30,bt_gatt_write_without_respons:30,bt_le_ad_gener:1,bt_le_ad_limit:30,bt_le_ad_no_bredr:[1,30],bt_le_adv_opt_connect:1,bt_le_adv_opt_dir_addr_rpa:1,bt_le_adv_opt_dir_mode_low_duti:1,bt_le_adv_opt_filter_conn:1,bt_le_adv_opt_filter_scan_req:1,bt_le_adv_opt_non:1,bt_le_adv_opt_one_tim:1,bt_le_adv_opt_use_ident:1,bt_le_adv_opt_use_nam:1,bt_le_adv_param:[1,30],bt_le_adv_start:30,bt_le_conn_param:1,bt_le_scan_cb_t:1,bt_le_scan_param:1,bt_le_scan_type_act:1,bt_le_scan_type_pass:1,bt_ready_cb_t:1,bt_security_t:1,bt_warn:30,buf:[8,30,48],buffer:[0,3,9,11,13,14],build:[18,20,22,24],bus:[11,14],but:1,bv1ef4y1t73d:17,by:[1,14],call:1,callback:[0,1,3,6,10,11,12,13,14,30],cam:40,can:1,cancel:20,canon:18,care:1,cb:1,cbfun:7,ccw:54,cd:[18,30,34,40,41,43,45,46,48,51,53,54,56,58,60],cdc:35,cdk:[27,29,30,33,34,40,41,43,45,46,48,51,53,54,56,58,60],cdk_flashload:22,cdkproj:[22,23,24,30,34,40,41,43,45,46,48,51,53,54,56,58,60],central:1,cfg:10,ch0:58,ch8:41,ch:[6,8,10,12,40,43,53,54,58],chan_map:1,channel:[1,9],channel_num:9,char_hdl:30,characterist:1,check:1,chip:21,circuit:8,ck:[19,27],ck_link:26,ck_link_debug:22,clean:[22,24],clear:0,click:21,client:1,clk:[11,56],clk_div:[3,12,41],clk_out:40,clk_phase:[11,56],clk_polara:[11,56],clock:[2,21,33],clock_config:[4,34,40,41,48,53,54,56,60],clock_period:33,clone:[18,19,20],close:0,cmake:29,cmake_current_source_dir:25,cmakelist:[23,25],cmd:[0,3,6,9,10,11,12,13,14],cmd_echo:34,cnt:58,cnt_mode:[12,58],code:[0,2],com:[17,18,19,20,21,26,27],command:[16,20],common:17,commun:17,comp0:58,comp1:58,comp2:58,comp:58,compil:23,complet:[1,14,30],compromis:1,comx:18,config:0,config_bt_bredr:1,config_bt_privaci:1,config_bt_remote_vers:1,config_bt_smp:1,config_bt_stack_pt:1,config_gpio0_func:40,config_gpio10_func:54,config_gpio11_func:[40,48,54],config_gpio12_func:[40,54],config_gpio14_func:[34,58,60],config_gpio15_func:[34,58,60],config_gpio16_func:[40,48],config_gpio18_func:41,config_gpio19_func:56,config_gpio1_func:40,config_gpio20_func:56,config_gpio21_func:56,config_gpio22_func:53,config_gpio29_func:40,config_gpio2_func:40,config_gpio30_func:40,config_gpio31_func:40,config_gpio3_func:[40,54],config_gpio4_func:40,config_gpio5_func:40,config_gpio6_func:40,config_gpio7_func:40,config_gpio8_func:40,config_gpio9_func:40,configur:[0,2,14],conn:[1,30],connect:[1,14,26,30],consol:20,continuous_conv_mod:[3,41],control:[0,1,14],conveni:1,convert:[3,27],core:29,count:10,cp:18,cpha:11,cpol:11,cpu:[22,24,33],creat:21,cs1:56,cs1_high:56,cs1_low:56,cs:11,csky:22,ctrl:0,cts:13,cube:[24,26,31],custom:17,cw:54,d0:45,d1:45,d2:45,d3:45,dac0:6,dac:[3,15],data:[1,9,13,14,16,30,34,56],data_appear:30,data_len:[1,14],data_manu:30,data_s:9,data_uuid:30,data_width:[3,41],databit:[13,34,60],datas:[11,56],datasheet:33,dc12v:54,dc5v:54,dc:56,dc_high:56,dcd:17,debug:[20,22,24],debug_log:[34,60],debugg:[18,19,21,22,27],default_config:[56,58],defer:1,defin:[0,1,2,3,6,7,8,9,10,11,12,13,34,40,41,43,48,53,54,56,58,60],deivce_ctrl_pwm_dutycycle_config:[10,53,54],deivce_ctrl_pwm_frequence_config:10,deivce_ctrl_pwm_it_pulse_count_config:10,delai:1,demo:[2,20,30,34,40,41,43,45,46,48,51,53,54,56,58,60],desc:16,descript:[3,6,9,10,11,12,13,14],determin:1,dev:[0,1,3,6,8,9,10,11,12,13,14,18,20,24,26,27,31,34,43,58,60],devcub:31,devic:[0,1,3,6,8,9,10,11,12,13,14,21,27,29,34,40,41,43,48,53,58,60],device_class_adc:0,device_class_camera:0,device_class_dma:0,device_class_gpio:0,device_class_i2:0,device_class_i2c:0,device_class_non:0,device_class_pwm:0,device_class_sdio:0,device_class_sec_hash:0,device_class_spi:0,device_class_tim:0,device_class_typ:0,device_class_uart:0,device_class_usb:0,device_clos:56,device_contorl:[53,54],device_control:[34,41,43,53,54,58,60],device_ctrl_adc_channel_config:[3,41],device_ctrl_adc_channel_start:3,device_ctrl_adc_channel_stop:3,device_ctrl_adc_tsen_off:3,device_ctrl_adc_tsen_on:3,device_ctrl_adc_vbat_off:3,device_ctrl_adc_vbat_on:3,device_ctrl_attach_rx_dma:[0,3,11,13,14],device_ctrl_attach_tx_dma:[0,11,13,14],device_ctrl_clr_int:[0,3,6,10,11,12,13,34,60],device_ctrl_config:[0,3,13],device_ctrl_get_config:[0,9,12],device_ctrl_get_int:0,device_ctrl_get_match_statu:12,device_ctrl_i2s_attach_rx_dma:9,device_ctrl_i2s_attach_tx_dma:9,device_ctrl_pwm_dutycycle_config:10,device_ctrl_pwm_frequence_config:10,device_ctrl_pwm_it_pulse_count_config:10,device_ctrl_resum:[0,10,11,12],device_ctrl_resvd1:0,device_ctrl_resvd2:0,device_ctrl_rx_dma_resum:[0,11,13],device_ctrl_rx_dma_suspend:[0,11,13],device_ctrl_set_int:[0,3,6,10,11,12,13,14,34,43,58,60],device_ctrl_spi_config_clock:11,device_ctrl_suspend:[0,10,11,12],device_ctrl_timer_ch_start:[12,58],device_ctrl_timer_ch_stop:12,device_ctrl_tx_dma_resum:[0,11,13],device_ctrl_tx_dma_suspend:[0,11,13],device_ctrl_uart_get_rx_fifo:13,device_ctrl_uart_get_tx_fifo:13,device_ctrl_usb_dc_enum_off:14,device_ctrl_usb_dc_enum_on:14,device_ctrl_usb_dc_get_ep_rx_fifo_cnt:14,device_ctrl_usb_dc_get_ep_tx_fifo_cnt:14,device_ctrl_usb_dc_set_ack:14,device_ctrl_usb_dc_set_rx_dma:14,device_ctrl_usb_dc_set_tx_dma:14,device_find:[17,34,41,43,48,53,54,56,60],device_found:30,device_oflag_dma_rx:[0,3,6,8,9,10,11,13],device_oflag_dma_tx:[0,3,6,8,9,10,11,13],device_oflag_int:[12,58],device_oflag_int_rx:[0,3,6,8,10,11,13,34,60],device_oflag_int_tx:[0,3,6,8,10,11,13],device_oflag_pol:12,device_oflag_rdonli:0,device_oflag_rdwr:[0,17,34,43,48,53,54,56,60],device_oflag_stream_rx:[0,3,6,8,9,10,11,13,41,56],device_oflag_stream_tx:[0,3,6,8,9,10,11,13,34,53,54,56,60],device_oflag_wronli:0,device_open:[2,17,34,40,41,43,48,53,54,56,58,60],device_read:41,device_set_callback:[17,34,43,58,60],device_status_typ:0,device_writ:60,differential_mod:[3,41],digit:3,dir:54,direct:[1,6,11,40,43,56],disabl:[3,10,41,54],disconnect:[1,30],displai:56,dl:[21,27],dlist_t:0,dma0_ch0_config:[6,43],dma0_ch0_index:[6,43],dma0_ch1_config:6,dma0_ch1_index:6,dma0_ch2_config:[6,40],dma0_ch2_index:6,dma0_ch3_config:6,dma0_ch3_index:6,dma0_ch4_config:6,dma0_ch4_index:6,dma0_ch5_config:6,dma0_ch5_index:6,dma0_ch6_config:6,dma0_ch6_index:6,dma0_ch7_config:6,dma0_ch7_index:6,dma:[0,3,8,9,10,11,13,14,15,29],dma_burst_16byt:6,dma_burst_1byt:6,dma_burst_4byt:6,dma_burst_8byt:6,dma_ch0:43,dma_ch0_index:6,dma_ch2:40,dma_channel_get_statu:6,dma_channel_start:43,dma_clos:6,dma_control:6,dma_dev:[6,40],dma_devic:6,dma_device_t:6,dma_dst_buff:43,dma_event_complet:6,dma_event_typ:6,dma_index_typ:6,dma_lli_ctrl_t:6,dma_lli_cycle_mod:6,dma_lli_once_mod:[6,40,43],dma_m2m:43,dma_max_index:6,dma_memory_to_memori:[6,43],dma_memory_to_periph:[6,40],dma_open:6,dma_periph_to_memori:6,dma_periph_to_periph:6,dma_regist:43,dma_reload:43,dma_request_adc0:6,dma_request_dac0:6,dma_request_i2c0_rx:6,dma_request_i2c0_tx:6,dma_request_i2s_rx:6,dma_request_i2s_tx:6,dma_request_non:[6,40,43],dma_request_spi0_rx:6,dma_request_spi0_tx:6,dma_request_uart0_rx:6,dma_request_uart0_tx:6,dma_request_uart1_rx:6,dma_request_uart1_tx:[6,40],dma_request_usb_ep0:6,dma_request_usb_ep1:[6,40],dma_request_usb_ep2:6,dma_request_usb_ep3:6,dma_request_usb_ep4:6,dma_request_usb_ep5:6,dma_request_usb_ep6:6,dma_request_usb_ep7:6,dma_src_buff:43,dma_transfer_dir_typ:6,dma_transfer_don:43,dma_transfer_width_16bit:6,dma_transfer_width_32bit:[6,43],dma_transfer_width_8bit:[6,40],dmax_devic:6,don:1,done:[14,43],download:[18,19,20,21,22,24],dparamet:34,driver:[21,27,56,58],dsp:9,dst_addr:6,dst_burst_siz:6,dst_req:[6,40,43],dst_width:[6,40,43],dtcm:33,duti:1,dutycycl:53,e24:29,echo:[18,34],eclips:27,edit:20,eeprom:48,effect:1,elf:[18,20,22],els:[41,54,56,58,60],empti:23,enabl:[1,2,7,41,46,54],encrypt:1,end:2,endif:[1,3,6,8,9,10,11,12,13,34,40,41,43,48,53,54,56,58,60],enumer:14,ep0:[6,14],ep1:[6,14],ep2:6,ep3:6,ep4:6,ep5:6,ep6:6,ep7:[6,14],ep:14,ep_addr:14,ep_cfg:14,ep_ena:14,ep_mp:14,ep_typ:14,epf:20,equal:9,err:[1,30],error:[1,14,30,43],establish:14,even:[1,13],event:[0,3,6,10,11,12,13,14,58],exampl:[18,20,22,24,30,31,33,34,40,41,43,45,46,48,51,53,54,56,58,60],except:14,exe:[19,20,21,27],exist:20,fail:41,fatf:29,featur:1,field:1,fifo:[3,9,11,13,14,60],fifo_threshold:[3,9,11,13,34,41,56,60],file:[18,20,21],filter:1,filter_dup:1,find:[34,41,43,48,53,54,56,60],finish:[20,21],finsh:20,flag:[0,1,3,6,8,9,10,11,12,13,14,23,30,48],flash:[2,21,22,24,31],flashdownload:22,format_sel:40,frame:[9,14],frame_s:9,freerto:25,freerun:12,frequenc:[53,54],friend:1,ft2232c:27,ftdi:27,func1:26,func2:26,gain:[3,41],gap:1,gate:33,gatt:1,gc0308:40,gdb:20,gener:[1,7,20],generate_bin:25,get:0,get_adc_key_valu:41,get_attr:30,git:[18,19,20],gite:[18,19,20],github:27,gnd:[20,26],gpio0:40,gpio10:[54,56],gpio11:[40,46,48,54],gpio11_int_callback:46,gpio12:54,gpio14:[34,60],gpio15:[34,60],gpio16:[40,48],gpio18:41,gpio19:56,gpio1:40,gpio20:56,gpio21:56,gpio22:[45,53,56],gpio29:[40,45],gpio2:40,gpio30:[40,45],gpio31:[40,45],gpio3:[40,54],gpio4:40,gpio5:40,gpio6:40,gpio7:40,gpio8:40,gpio9:40,gpio:[2,15,20,29,33,34,40,41,48,53,54,56,60],gpio_af14_uart5:2,gpio_async_falling_triger_int_mod:7,gpio_async_high_level_int_mod:7,gpio_async_low_level_int_mod:7,gpio_async_rising_triger_int_mod:7,gpio_attach_irq:46,gpio_blink:[20,45],gpio_cas:[23,25],gpio_fun_adc:41,gpio_fun_cam:40,gpio_fun_clk_out:40,gpio_fun_i2c:[40,48],gpio_fun_pwm:[53,54],gpio_fun_spi:56,gpio_fun_uart0_rx:[34,58,60],gpio_fun_uart0_tx:[34,58,60],gpio_fun_usb:40,gpio_initstruct:2,gpio_inittypedef:2,gpio_input_mod:7,gpio_input_pd_mod:7,gpio_input_pp_mod:7,gpio_int:46,gpio_irq_en:46,gpio_mode_af_pp:2,gpio_nopul:2,gpio_output_mod:[7,56],gpio_output_pd_mod:7,gpio_output_pp_mod:[7,45],gpio_pin_11:46,gpio_pin_12:2,gpio_pin_13:2,gpio_pin_22:45,gpio_pin_29:45,gpio_pin_30:45,gpio_pin_31:45,gpio_set_mod:[45,46,56],gpio_speed_freq_low:2,gpio_sync_falling_triger_int_mod:7,gpio_sync_high_level_int_mod:7,gpio_sync_low_level_int_mod:7,gpio_sync_rising_triger_int_mod:[7,46],gpio_test_cas:25,gpio_writ:[45,56],gpiob:2,guest:21,gz:18,hal:[0,2],hal_adc:3,hal_dma:6,hal_drv:[56,58],hal_gpio_init:2,hal_i2c:8,hal_init:2,hal_nvic_enableirq:2,hal_nvic_setprior:2,hal_pwm:10,hal_spi:11,hal_tim:[12,58],hal_uart:13,hal_uart_mspinit:2,handl:[0,1],happen:1,hardwar:[1,14],hbn:33,hci:1,hd12:26,hd1:26,hd3:26,hd8:26,header:40,hello:34,hellowd:[18,20,22,24,34],helloworld:[18,20,22,23,24],hellwd:34,help:[16,22,24],here:21,hid:35,high:1,host:[1,14],http:[17,18,19,20,21,27],huart:2,human:17,i2c0:[8,48],i2c0_config:[8,40,48],i2c0_index:[8,48],i2c1:8,i2c:[6,15,29],i2c_at24cxx:48,i2c_clk:8,i2c_dev:8,i2c_devic:8,i2c_device_t:8,i2c_hw_mod:[8,40,48],i2c_index_typ:8,i2c_max_index:8,i2c_msg:8,i2c_msg_t:[8,48],i2c_open:8,i2c_rd:[8,48],i2c_regist:48,i2c_scl:[40,48],i2c_sda:[40,48],i2c_source_clk:8,i2c_transf:48,i2c_wr:[8,48],i2cx_devic:8,i2s0:9,i2s0_config:9,i2s0_index:9,i2s:[6,15,26],i2s_channel_num_t:9,i2s_clos:9,i2s_control:9,i2s_data_len_16:9,i2s_data_len_24:9,i2s_data_len_32:9,i2s_data_len_8:9,i2s_data_size_t:9,i2s_dev:9,i2s_devic:9,i2s_device_t:9,i2s_frame_len_16:9,i2s_frame_len_24:9,i2s_frame_len_32:9,i2s_frame_len_8:9,i2s_frame_size_t:9,i2s_fs_channels_num_2:9,i2s_fs_channels_num_3:9,i2s_fs_channels_num_4:9,i2s_fs_channels_num_mono:9,i2s_get_rx_fifo_cmd:9,i2s_get_tx_fifo_cmd:9,i2s_index_typ:9,i2s_max_index:9,i2s_mode_dsp_a:9,i2s_mode_dsp_b:9,i2s_mode_left:9,i2s_mode_mast:9,i2s_mode_right:9,i2s_mode_slav:9,i2s_mode_std:9,i2s_mode_t:9,i2s_open:9,i2sx_devic:9,iap:29,ic:9,id:[1,6,8,9,11,12,13,14,34,40,43,48,56,58,60],ident:1,identifi:1,ifdef:[3,6,8,9,10,11,12,13],ifndef:[3,6,8,9,10,11,12,13,34,40,41,43,48,53,54,56,58,60],iis_mod:9,il9431:56,imag:21,in_ep:14,includ:23,incom:1,index:[3,6,8,9,10,11,12,13,14,43],indic:1,info:1,init:2,initi:[2,14],input:7,instal:[18,27],instanc:2,int8_t:1,inter:[8,9],interfac:[2,11,17,18,21,27],interface_mod:9,interface_mode_t:9,intergr:8,interrupt:[0,2,58],interv:1,interval_max:[1,30],interval_min:[1,30],into:20,iot:[20,26,29],is:[1,9,13,14],is_stal:14,isoch:40,isregist:30,it:1,it_pulse_count:[10,53,54],itcm:33,its:1,jlink:[26,27],jlink_bl_mcu_sdk:20,jtag:[21,26,27,29],jtag_tck:26,jtag_tdi:26,jtag_tdo:26,jtag_tm:26,justifi:9,k_delayed_work:1,k_fifo:1,k_forev:30,k_sem_giv:30,k_sem_tak:30,k_work:1,keep:1,kei:[1,41],keil:[30,34,40,41,43,45,46,48,51,53,54,56,58,60],key_no_valu:41,keyvalu:41,l2cap:1,lab:[2,20,26,27,31,33],latenc:1,launch:20,lcd:55,lcd_c:56,lcd_cs_pin:56,lcd_dc:56,lcd_dc_pin:56,lcd_wr_byte:56,lcd_wr_halfword:56,lcd_wr_word:56,le:1,led:[27,53],led_breath:53,left:9,len:[8,30,48],length:[11,13,30],level:[1,33],libftdi:27,libhidapi:27,libusb:27,lin:13,link:[19,20,27],linker:23,linker_script:25,linux:[28,33],list:[0,6,21,27],ll:1,lli:6,lli_cfg:6,load:[22,24],loader:22,local:1,log:20,lost:14,low:1,lowpow:29,lowpower_test:33,lpm:14,lpn:1,lsb:11,lsusb:27,lts:27,ma:33,main:[2,18,20,23,25],maix:[21,27],make:[20,25,30,33,34,40,41,43,45,46,48,51,53,54,56,58,60],manag:1,manufactur:1,map:1,mass:17,master:9,max_data_len:14,maximum:1,mcu:[0,2,3,6,7,8,9,10,11,12,13,14,17,18,19,20,21,26,27,33],mdk:[30,34,40,41,43,45,46,48,51,53,54,56,58,60],meaning:1,media:18,memori:[6,43],mesh:1,mini:[18,21,26],minimum:1,miso:56,mjpeg:40,mkdir:18,mobaxterm:34,mode:[1,2,7,8,9,11,40,48,56],modul:10,mosi:56,motor_ch0:54,motor_ch1:54,motor_ch2:54,motor_ch3:54,motor_dir_typ:54,motor_set_dir:54,ms:1,msb:11,msc:35,msg:[8,34,41,43,46,48,51,58,60],mtimer:29,must:[1,9,30],mv:41,mx_gpio_init:2,mx_quadspi_init:2,mx_usart1_uart_init:2,my_cas:[23,25],name:[0,1,3,6,8,9,10,11,12,13,14,23,30],name_max:0,need:1,neg_channel:41,negchlist:41,net_buf:1,next:[1,20],no:[1,13],node:[0,1],none:6,not:1,notif:30,notifi:[1,30],notify_func:30,notify_poll_sem:30,num:8,observ:1,occ:19,occur:1,ocram:33,octam:33,odd:13,of:[0,1,2,14],ofast:25,offset:30,oflag:[0,3,6,8,9,10,11,12,13,14],ok:[22,23],one:[13,30],onli:[1,9],oob:1,open:[0,41],openocd:[24,27],openocd_debug:[22,24],option:[1,21,27,30],or:[1,19,21,26,30,34],org:18,os:51,osr:3,ostrac:19,other:[1,23],otherwis:1,out:[14,20],out_ep:14,outgo:1,output:7,over:20,own:1,own_address_typ:1,packet:[1,14],page:33,pair:1,pane:[22,24],param:[1,30],paramet:1,parent:[0,3,6,8,9,10,11,12,13,14],pariti:[13,34,60],passkei:1,path:[18,23],pb12:2,pb13:2,pb:1,pc:[14,20,26,27,33,34],pcm:9,pdf:33,pds:33,peer:1,pending_no_cb:1,period:[10,53,54],peripher:[1,2,6,11,22,24,29],peripheral_clock_adc:4,peripheral_clock_cam:4,peripheral_clock_dac:4,peripheral_clock_i2:4,peripheral_clock_i2c:4,peripheral_clock_pwm:4,peripheral_clock_spi:4,peripheral_clock_typ:4,peripheral_clock_uart:4,peripheral_config:[3,6,8,9,10,11,12,13,34,40,41,43,48,53,54,56,58,60],phase:[8,40,48],picocom:18,pin:[1,2,7,34,40,41,45,46,48,53,54,56,60],pinmux:7,pinmux_config:[7,34,40,41,53,54,56,58,60],pinmux_select:40,pinmux_uvc:40,pix:26,pl_trig_src:[12,58],plu:[18,19,27],polarity_invert_mod:[10,54],port:[14,21,27],pos:[0,3,9,11,13,14],pos_channel:41,poschlist:41,power:[1,33],prefer:20,preload:12,press:41,printf:23,privaci:1,privat:1,profil:[1,19],program:[21,31],project:[20,22,23,24],provid:1,provis:1,proxi:1,psram:21,pull:2,puls:10,purpos:7,pvparamet:30,pwm:[6,15,29],pwm_breath_l:53,pwm_cfg:[53,54],pwm_ch0:54,pwm_ch0_config:[10,54],pwm_ch0_index:[10,54],pwm_ch1:54,pwm_ch1_config:[10,54],pwm_ch1_index:[10,54],pwm_ch2:[53,54],pwm_ch2_config:[10,53,54],pwm_ch2_index:[10,53,54],pwm_ch3:54,pwm_ch3_config:[10,54],pwm_ch3_index:[10,54],pwm_ch4_config:10,pwm_ch4_index:10,pwm_channel_start:[53,54],pwm_clk:10,pwm_close:10,pwm_control:10,pwm_dev:[10,53,54],pwm_devic:10,pwm_device_t:10,pwm_div:10,pwm_dutycycle_config_t:[10,54],pwm_event_complet:10,pwm_event_typ:10,pwm_index_typ:10,pwm_max_index:10,pwm_open:10,pwm_regist:[53,54],pwm_step_motor:54,pwmx_devic:10,queue:1,radio:1,ram:[33,44],random:1,rang:1,rb:14,read:[0,1,48],read_byt:14,reason:1,receiv:[13,14],recurs:[18,19,20],recv_buf:11,ref:1,refresh:[21,26],regist:[22,24],relai:1,remot:1,replac:[21,27],report:14,request:[1,6],requir:1,required_sec_level:1,reset:[2,14],resolut:1,resolv:1,resourc:1,respons:1,result_v:41,resum:[0,1,14],ret_byt:14,rf:18,rgb555:40,right:9,rinbuff:14,ring_buffer_typ:14,ringbuff:14,risc:[20,29,51],riscv64:18,rise:46,role:1,rom:[21,26],root_clock_source_32k_clk:54,root_clock_source_bclk:[40,48,56],root_clock_source_pll_96m:[34,40,60],root_clock_source_xclk:[41,53],rpa:1,rssi:1,rst:[18,20,21,22,24,26],rtc:33,rto:[13,60],rts:13,run:33,rv:[1,18,19,21,27],rx0:26,rx:[1,6,11,13,14,33],rx_dma:[9,11,13,14],rx_fifo:60,rx_len:1,rxd0:20,rxd:26,same:30,sampl_freq_hz:9,scan:1,scan_param:1,scan_rsp:1,sclk:11,sco:1,sd:1,sd_len:1,sdi:11,sdk:[2,7,18,19,20,22,23,24,25],sdk_path:[30,34,40,41,43,45,46,48,51,53,54,56,58,60],sdo:11,sec:1,sec_level:1,secur:1,segger:[20,21],select:21,send:30,send_buf:11,sent:1,serial:[11,14,22,24,27],server:1,servic:[1,30],set:[0,1,22,23,24,25],setup:[14,19],shell:29,shell_cmd_export:34,shell_cmd_export_alia:34,shell_handl:34,shell_init:34,shell_irq_callback:34,show:21,sifiv:29,simpl:1,sipe:[18,19,21,27],size:[0,3,6,9,10,11,12,13,14,34,43,58,60],size_t:1,sizeof:30,sky:22,slave:[1,9],slaveaddr:[8,48],sleeptim:33,smp:1,so:1,solicit:1,sound:9,sourc:18,spec:33,specif:1,specifi:1,speed:[2,21],spi0:[11,56],spi0_config:[11,56],spi0_index:[11,56],spi:[0,6,15,26,29],spi_clos:11,spi_config:56,spi_control:11,spi_datasize_16bit:11,spi_datasize_24bit:11,spi_datasize_32bit:11,spi_datasize_8bit:[11,56],spi_dev:11,spi_devic:11,spi_device_t:11,spi_event_rx_fifo:11,spi_event_tx_fifo:11,spi_event_typ:11,spi_event_unknown:11,spi_index_typ:11,spi_lcd:56,spi_lsb_byte0_direction_first:11,spi_lsb_byte3_direction_first:11,spi_master_mod:[11,56],spi_max_index:11,spi_miso:56,spi_mosi:56,spi_msb_byte0_direction_first:[11,56],spi_msb_byte3_direction_first:11,spi_open:11,spi_phase_1edg:[11,56],spi_phase_2edg:11,spi_polarity_high:11,spi_polarity_low:[11,56],spi_read:11,spi_regist:56,spi_sck:56,spi_slvae_mod:11,spi_swap_en:56,spi_transfer_tpye_24bit:11,spi_transfer_type_16bit:[11,56],spi_transfer_type_32bit:[11,56],spi_transfer_type_8bit:[11,56],spi_transmit:56,spi_writ:11,spix_devic:11,src:58,src_addr:6,src_burst_siz:6,src_req:[6,40,43],src_width:[6,40,43],stack:[1,29],stall:14,start:[14,22,24],state:[1,34,43,58,60],statu:[0,14],std:9,step:20,stm32:2,stm32xxx_hal_msp:2,stop:[1,13,22,24,54],stopbit:[13,34,60],storag:17,stream:40,strlen:30,struct:[0,1,3,6,8,9,10,11,12,13,14,17,30,34,43,48,53,58,60],structur:0,sub_addr_0byt:8,sub_addr_1byt:[8,48],sub_addr_2byt:8,subaddr:[8,48],subsystem:18,subvers:1,success:[21,22,43,48],sudo:[18,27],support:1,support_bl:30,support_float:[30,41],support_freerto:[25,30],support_shel:[33,34],suspend:[0,14],sw1:[41,46],sw5:41,sync:13,sys_slist_t:1,sysinit:2,system:[2,22,24],system_clock_32k_clk:4,system_clock_aupl:4,system_clock_bclk:4,system_clock_fclk:4,system_clock_root_clock:4,system_clock_typ:4,system_clock_xclk:4,systemclock_config:2,systick:[2,51],systick_isr:51,tab:16,tabl:7,take:1,taken:1,tar:18,target:[1,20],target_required_lib:25,target_required_private_opt:25,target_required_src:25,task:[1,43],task_prior:1,tck:26,tdi:26,tdo:26,termin:27,test1:25,test2:25,test:34,tft:55,that:1,the:[1,2,14,30],thi:[1,30],threshold_high:[10,53,54],threshold_low:[10,53,54],tick:51,time:30,timeout:1,timer0:58,timer:[15,29],timer_ch0:58,timer_ch0_config:[12,58],timer_ch0_index:12,timer_ch0_irq_callback:58,timer_ch1_config:12,timer_ch1_index:12,timer_clk_div:58,timer_clk_src:58,timer_clos:12,timer_cnt_freerun:12,timer_cnt_mod:12,timer_cnt_preload:[12,58],timer_config:58,timer_control:12,timer_dev:12,timer_devic:12,timer_device_t:12,timer_event_comp0:[12,58],timer_event_comp1:[12,58],timer_event_comp2:[12,58],timer_event_typ:12,timer_event_unknown:12,timer_index_typ:12,timer_int:58,timer_max_index:12,timer_open:12,timer_pl_trig_comp0:[12,58],timer_pl_trig_comp1:12,timer_pl_trig_comp2:12,timer_pl_trig_non:12,timer_pl_trig_t:12,timer_user_cfg:58,timer_user_cfg_t:12,tk:1,tms:26,to:[1,3,6,21,30,43],togeth:1,tool:[21,22,27],tp:30,tp_wr_hdl:30,transceiv:14,transfer:[6,40,43],transfer_mod:[6,40,43],transfer_s:6,transmitt:13,trigger:46,ttl:[18,19,20,26,31,33],ttyacm0:27,ttyusb0:27,ttyusb1:[18,27],two:13,tx0:26,tx:[1,6,11,13,14],tx_complet:1,tx_complete_work:1,tx_dma:[9,11,13,14],tx_mtu_siz:30,tx_pend:1,tx_queue:1,txd0:20,txd:26,txt:[23,25],tyep:6,type:[0,1,4,11,19,20,21,26,27],typedef:[0,3,6,8,9,10,11,12,13,14],u16_t:[1,30],u32_t:1,u8_t:[1,30],ua:33,uac:17,uart0:[6,13,26,34,60],uart0_config:[13,34,60],uart0_index:13,uart0_rx:[34,60],uart0_tx:[34,60],uart1:6,uart1_config:13,uart1_index:13,uart5:2,uart5_irqn:2,uart5_mspinit:2,uart5_rx:2,uart5_tx:2,uart:[15,18,29,33,34,58],uart_clos:13,uart_control:13,uart_data_len_5:13,uart_data_len_6:13,uart_data_len_7:13,uart_data_len_8:[13,34,60],uart_databits_t:13,uart_dev:13,uart_devic:13,uart_device_t:13,uart_echo:60,uart_event_rto:[13,60],uart_event_rx_end:13,uart_event_rx_fifo:[13,34,60],uart_event_tx_end:13,uart_event_tx_fifo:13,uart_event_typ:13,uart_event_unknown:13,uart_handletypedef:2,uart_index_typ:13,uart_irq_callback:60,uart_it_typ:13,uart_max_index:13,uart_open:13,uart_par_even:13,uart_par_non:[13,34,60],uart_par_odd:13,uart_param_cfg_t:13,uart_parity_t:13,uart_read:13,uart_regist:[34,60],uart_rto_it:60,uart_rx_fifo_it:[34,60],uart_stop_on:[13,34,60],uart_stop_one_d_f:13,uart_stop_two:13,uart_stopbits_t:13,uart_writ:13,uartx_devic:13,ubuntu:[18,27],uint16_t:[0,3,6,8,9,10,11,12,13,14,56],uint32_t:[0,3,4,6,7,8,9,10,11,12,13,14,34,43,46,51,56,58,60],uint8_t:[1,3,6,7,8,9,10,11,12,13,14,16,30,34,48,56,60],uln2003:54,undirect:30,uniform:1,union:1,univers:[13,14],unknow:30,unsign:1,updat:[1,18],update_work:1,upload:18,usart:31,usb0:14,usb1:14,usb2:17,usb:[6,15,18,19,20,21,26,27,29,31,33,34,40],usb_clos:14,usb_control:14,usb_dc:17,usb_dc_devic:14,usb_dc_device_t:14,usb_dc_ep_cfg:14,usb_dc_ep_clear_stal:17,usb_dc_ep_clos:17,usb_dc_ep_is_stal:17,usb_dc_ep_open:17,usb_dc_ep_read:17,usb_dc_ep_set_stal:17,usb_dc_ep_state_t:14,usb_dc_ep_writ:17,usb_dc_event_callback:17,usb_dc_event_configur:14,usb_dc_event_connect:14,usb_dc_event_disconnect:14,usb_dc_event_ep0_in_notifi:14,usb_dc_event_ep0_out_notifi:14,usb_dc_event_ep_in_notifi:14,usb_dc_event_ep_out_notifi:14,usb_dc_event_error:14,usb_dc_event_reset:14,usb_dc_event_resum:14,usb_dc_event_setup_notifi:14,usb_dc_event_sof:14,usb_dc_event_suspend:14,usb_dc_event_typ:14,usb_dc_event_unknown:14,usb_dc_regist:17,usb_dc_set_address:17,usb_dm:40,usb_dp:40,usb_index:17,usb_index_typ:14,usb_open:14,usb_read:14,usb_stack:17,usb_video:40,usb_writ:14,usbd_endpoint_cfg:14,usbd_ep_clear_stal:17,usbd_ep_clos:17,usbd_ep_is_stal:17,usbd_ep_open:17,usbd_ep_read:17,usbd_ep_set_stal:17,usbd_ep_writ:17,usbd_set_address:17,use:1,used:1,user:[2,31],uses:1,using:1,usr:18,uuid:1,uvc:[17,40],uyvi:40,v10:21,v11:[21,27],v3:18,valu:[1,7],vbat:3,vdd33:26,vdd:[3,26],vendor:17,version:1,vi:18,video:35,view:[21,22,24],viewer:[22,24],volt:41,vref:[3,26,41],vtref:26,warn:1,we:1,welcom:20,wfi:33,wget:18,when:1,which:1,whitelist:1,whitout:[22,24],width:10,will:1,win:27,window:[1,18,30,33,34,40,41,43,45,46,48,51,53,54,56,58,60],windows_cdk:28,windows_eclips:28,winusb1:17,winusb2:17,winusb:[21,27],wireless:0,without:1,work:1,workspac:20,world:34,write:[0,30],write_data_poll_sem:30,www:17,x86_64:18,xshell:34,xtal_ck:10,xxx:[3,6,8,9,10,11,12,13,20,23],xxx_board:[4,7],xxx_close:0,xxx_config:2,xxx_control:0,xxx_devic:0,xxx_device_t:0,xxx_open:0,xxx_read:0,xxx_regist:0,xxx_write:0,xxxx_case:[23,25],yuv:40,zadig:[21,27],zigbe:29,zxvf:18},titles:["1. API \u6982\u8ff0","6. BLE","2. Board \u914d\u7f6e\u7cfb\u7edf","3.9. ADC \u8bbe\u5907","3.1. \u65f6\u949f\u6811","3.10. DAC \u8bbe\u5907","3.5. DMA \u8bbe\u5907","3.2. GPIO \u8bbe\u5907","3.6. I2C \u8bbe\u5907","3.7. I2S \u8bbe\u5907","3.4. PWM \u8bbe\u5907","3.8. SPI \u8bbe\u5907","3.11. TIMER \u8bbe\u5907","3.3. UART \u8bbe\u5907","3.12. USB \u8bbe\u5907","3. Peripheral","4. Shell","5. USB Stack","2.3. Linux OR WSL \u73af\u5883\u5f00\u53d1\u6307\u5357","2.1. Windows \u4e0b\u4f7f\u7528 CDK (\u7c7b MDK Keil)\u5f00\u53d1\u6307\u5357","2.2. Windows \u4e0b\u4f7f\u7528 Eclipse \u5f00\u53d1\u6307\u5357","3. BLDevCube \u70e7\u5f55\u5de5\u5177\u6307\u5357","\u4f7f\u7528 CDK + CK-Link \u7f16\u8bd1\u8c03\u8bd5","5. \u57fa\u4e8e CDK \u65b0\u5efa\u5de5\u7a0b\u6307\u5357","\u4f7f\u7528 CDK + Sipeed RV-Debugger Plus \u7f16\u8bd1\u8c03\u8bd5","4. \u57fa\u4e8e cmake \u6846\u67b6\u65b0\u5efa\u5de5\u7a0b\u6307\u5357","6. \u786c\u4ef6\u8fde\u63a5\u6307\u5357","1. \u5f00\u53d1\u524d\u7684\u51c6\u5907","2. \u5f00\u53d1\u73af\u5883\u642d\u5efa\u6307\u5357","BL MCU SDK \u5f00\u53d1\u6307\u5357","6. BLE \u5ba2\u6237\u7aef\u548c\u670d\u52a1\u7aef\u4e92\u8fde","5. BOOT2 IAP","2. Fatfs \u6587\u4ef6\u7cfb\u7edf\u8bfb\u5199","4. LowPower \u4f4e\u529f\u8017\u8bc4\u4f30","1. Shell \u547d\u4ee4\u884c\u8c03\u8bd5","3. USB Device \u5e94\u7528","3.5. AUDIO - \u9ea6\u514b\u98ce","3.1. CDC - \u865a\u62df\u4e32\u53e3","3.3. HID - \u952e\u76d8&\u9f20\u6807","3.2. MSC - U \u76d8","3.4. VIDEO - \u6444\u50cf\u5934","8.1. ADC - \u6309\u952e\u68c0\u6d4b\u7535\u538b","8. ADC \u793a\u4f8b","5.1. DMA - RAM\u95f4\u6570\u636e\u642c\u8fd0","5. DMA \u793a\u4f8b","1.1. GPIO \u8f93\u51fa - \u6d41\u6c34\u706f","1.2. GPIO \u4e2d\u65ad - \u6309\u952e\u68c0\u6d4b","1. GPIO \u793a\u4f8b","7.1. I2C - AT24CXX \u8bfb\u5199","7. I2C \u793a\u4f8b","4. MTIMER \u793a\u4f8b","4.1. MTIMER - \u7cfb\u7edf\u5b9a\u65f6\u5668","3. PWM \u793a\u4f8b","3.1. PWM - \u547c\u5438\u706f","3.2. PWM - \u9a71\u52a8\u6b65\u8fdb\u7535\u673a","6. SPI \u793a\u4f8b","6.1. SPI - TFT LCD \u663e\u793a","9. TIMER \u793a\u4f8b","9.1. TIMER - \u5b9a\u65f6\u5668\u4e2d\u65ad","2. UART \u793a\u4f8b","2.1. UART - \u6570\u636e\u81ea\u6536\u53d1"],titleterms:{adc:[3,41,42],adc_regist:3,api:0,at24cxx:48,audio:[17,36],bl706_avb:26,bl706_iot:26,bl:29,bl_mcu_sdk:[18,19,20],bldevcub:21,ble:[1,30],ble_controller_init:1,blxxx_config:2,board:2,boot2:31,bouffalo:21,bt_conn_auth_cancel:1,bt_conn_auth_cb_regist:1,bt_conn_auth_passkey_confirm:1,bt_conn_auth_passkey_entri:1,bt_conn_auth_pincode_entri:1,bt_conn_cb_regist:1,bt_conn_create_auto_l:1,bt_conn_create_auto_stop:1,bt_conn_create_l:1,bt_conn_create_slave_l:1,bt_conn_disconnect:1,bt_conn_enc_key_s:1,bt_conn_get_info:1,bt_conn_get_remote_dev_info:1,bt_conn_get_secur:1,bt_conn_le_param_upd:1,bt_conn_set_secur:1,bt_enabl:1,bt_get_local_address:1,bt_le_adv_start:1,bt_le_adv_stop:1,bt_le_adv_update_data:1,bt_le_read_rssi:1,bt_le_scan_start:1,bt_le_scan_stop:1,bt_le_set_auto_conn:1,bt_le_set_chan_map:1,bt_le_whitelist_add:1,bt_le_whitelist_clear:1,bt_le_whitelist_rem:1,bt_set_bond:1,bt_set_tx_pwr:1,bt_unpair:1,cdc:[17,37],cdk:[19,22,23,24],ck:[22,26],client:30,clock_config:2,cmake:[18,25],cube:21,dac:5,debugg:[24,26],dev:21,devic:[17,35],device_clos:[0,3,6,9,10,11,12,13,14],device_control:[0,3,6,9,10,11,12,13,14],device_find:0,device_open:[0,3,6,8,9,10,11,12,13,14],device_read:[0,3,9,11,13,14],device_regist:0,device_set_callback:[0,3,6,10,11,12,13,14],device_unregist:0,device_writ:[0,9,11,13,14],dma:[6,43,44],dma_channel_check_busi:6,dma_channel_start:6,dma_channel_stop:6,dma_channel_upd:6,dma_regist:6,dma_reload:6,eclips:20,exampl:[23,25],fatf:32,gcc:25,gpio:[7,45,46,47],gpio_attach_irq:7,gpio_irq_en:7,gpio_read:7,gpio_set_mod:7,gpio_toggl:7,gpio_writ:7,hci_driver_init:1,hello:[18,19,20,22,24],hid:[17,38],i2c:[8,48,49],i2c_regist:8,i2c_transf:8,i2s:9,i2s_regist:9,iap:31,jlink:21,keil:19,lab:21,lcd:56,ld:25,link:[22,26],linux:[18,27],lowpow:33,make:18,mcu:29,mdk:19,msc:[17,39],mtimer:[50,51],openocd:21,option:25,or:18,peripher:15,peripheral_clock_get:4,peripheral_config:2,pinmux_config:2,plu:[24,26],port:17,pwm:[10,52,53,54],pwm_channel_dutycycle_upd:10,pwm_channel_freq_upd:10,pwm_channel_start:10,pwm_channel_stop:10,pwm_it_pulse_count_upd:10,pwm_regist:10,ram:43,risc:18,rv:[24,26],sdk:29,server:30,shell:[16,34],shell_cmd_export:16,shell_cmd_export_alia:16,shell_handl:16,shell_init:16,sipe:[24,26],spi:[11,55,56],spi_rec:11,spi_regist:11,spi_transmit:11,spi_transmit_rec:11,stack:17,stm32cubemx:2,system_clock_get:4,table1:[9,12,14],table2:14,tft:56,timer:[12,57,58],timer_regist:12,uart:[13,21,59,60],uart_regist:13,usb:[14,17,35],usb_dc_ep_clear_stal:14,usb_dc_ep_clos:14,usb_dc_ep_is_stal:14,usb_dc_ep_open:14,usb_dc_ep_read:14,usb_dc_ep_set_stal:14,usb_dc_ep_writ:14,usb_dc_init:17,usb_dc_receive_to_ringbuff:14,usb_dc_regist:14,usb_dc_send_from_ringbuff:14,usb_dc_set_address:14,usb_device_is_configur:17,usbd_class_add_interfac:17,usbd_desc_regist:17,usbd_interface_add_endpoint:17,usbd_msosv1_desc_regist:17,video:[17,40],window:[19,20,27],world:[18,19,20,22,24],wsl:18,xshell:33}})
      \ No newline at end of file
      +Search.setIndex({docnames:["api_reference/api_overview","api_reference/bluetooth/api_ble","api_reference/board","api_reference/peripheral/api_adc","api_reference/peripheral/api_clock","api_reference/peripheral/api_dac","api_reference/peripheral/api_dma","api_reference/peripheral/api_gpio","api_reference/peripheral/api_i2c","api_reference/peripheral/api_i2s","api_reference/peripheral/api_pwm","api_reference/peripheral/api_spi","api_reference/peripheral/api_timer","api_reference/peripheral/api_uart","api_reference/peripheral/api_usb","api_reference/peripheral/index","api_reference/shell/api_shell","api_reference/usb stack/api_usb_stack","get_started/Linux_quick_start_ubuntu","get_started/Windows_quick_start_cdk","get_started/Windows_quick_start_eclipse","get_started/bl_dev_cube","get_started/cdk_ck_link","get_started/cdk_new_project_quick_start","get_started/cdk_rv_debugger_plus","get_started/cmake_quick_start","get_started/connecting_hardware","get_started/get_started","get_started/index","index","samples/advance samples/ble_scan_demo","samples/advance samples/boot2_iap_info","samples/advance samples/fatfs_demo","samples/advance samples/lowpower_demo","samples/advance samples/shell_demo","samples/advance samples/usb/index","samples/advance samples/usb/usbd_audio","samples/advance samples/usb/usbd_cdc","samples/advance samples/usb/usbd_hid","samples/advance samples/usb/usbd_msc","samples/advance samples/usb/usbd_video","samples/basic samples/adc/adc_key_demo","samples/basic samples/adc/index","samples/basic samples/dma/dma_m2m_demo","samples/basic samples/dma/index","samples/basic samples/gpio/blink_demo","samples/basic samples/gpio/button_demo","samples/basic samples/gpio/index","samples/basic samples/i2c/i2c_eeprom_demo","samples/basic samples/i2c/index","samples/basic samples/mtimer/index","samples/basic samples/mtimer/mtimer_demo","samples/basic samples/pwm/index","samples/basic samples/pwm/pwm_breath_demo","samples/basic samples/pwm/pwm_step_motor","samples/basic samples/spi/index","samples/basic samples/spi/spi_lcd_demo","samples/basic samples/timer/index","samples/basic samples/timer/timer_interrupt_demo","samples/basic samples/uart/index","samples/basic samples/uart/uart_loopback_demo"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":3,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":2,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["api_reference\\api_overview.rst","api_reference\\bluetooth\\api_ble.rst","api_reference\\board.rst","api_reference\\peripheral\\api_adc.rst","api_reference\\peripheral\\api_clock.rst","api_reference\\peripheral\\api_dac.rst","api_reference\\peripheral\\api_dma.rst","api_reference\\peripheral\\api_gpio.rst","api_reference\\peripheral\\api_i2c.rst","api_reference\\peripheral\\api_i2s.rst","api_reference\\peripheral\\api_pwm.rst","api_reference\\peripheral\\api_spi.rst","api_reference\\peripheral\\api_timer.rst","api_reference\\peripheral\\api_uart.rst","api_reference\\peripheral\\api_usb.rst","api_reference\\peripheral\\index.rst","api_reference\\shell\\api_shell.rst","api_reference\\usb stack\\api_usb_stack.rst","get_started\\Linux_quick_start_ubuntu.rst","get_started\\Windows_quick_start_cdk.rst","get_started\\Windows_quick_start_eclipse.rst","get_started\\bl_dev_cube.rst","get_started\\cdk_ck_link.rst","get_started\\cdk_new_project_quick_start.rst","get_started\\cdk_rv_debugger_plus.rst","get_started\\cmake_quick_start.rst","get_started\\connecting_hardware.rst","get_started\\get_started.rst","get_started\\index.rst","index.rst","samples\\advance samples\\ble_scan_demo.rst","samples\\advance samples\\boot2_iap_info.rst","samples\\advance samples\\fatfs_demo.rst","samples\\advance samples\\lowpower_demo.rst","samples\\advance samples\\shell_demo.rst","samples\\advance samples\\usb\\index.rst","samples\\advance samples\\usb\\usbd_audio.rst","samples\\advance samples\\usb\\usbd_cdc.rst","samples\\advance samples\\usb\\usbd_hid.rst","samples\\advance samples\\usb\\usbd_msc.rst","samples\\advance samples\\usb\\usbd_video.rst","samples\\basic samples\\adc\\adc_key_demo.rst","samples\\basic samples\\adc\\index.rst","samples\\basic samples\\dma\\dma_m2m_demo.rst","samples\\basic samples\\dma\\index.rst","samples\\basic samples\\gpio\\blink_demo.rst","samples\\basic samples\\gpio\\button_demo.rst","samples\\basic samples\\gpio\\index.rst","samples\\basic samples\\i2c\\i2c_eeprom_demo.rst","samples\\basic samples\\i2c\\index.rst","samples\\basic samples\\mtimer\\index.rst","samples\\basic samples\\mtimer\\mtimer_demo.rst","samples\\basic samples\\pwm\\index.rst","samples\\basic samples\\pwm\\pwm_breath_demo.rst","samples\\basic samples\\pwm\\pwm_step_motor.rst","samples\\basic samples\\spi\\index.rst","samples\\basic samples\\spi\\spi_lcd_demo.rst","samples\\basic samples\\timer\\index.rst","samples\\basic samples\\timer\\timer_interrupt_demo.rst","samples\\basic samples\\uart\\index.rst","samples\\basic samples\\uart\\uart_loopback_demo.rst"],objects:{"":{SHELL_CMD_EXPORT:[16,0,1,"c.SHELL_CMD_EXPORT"],SHELL_CMD_EXPORT_ALIAS:[16,0,1,"c.SHELL_CMD_EXPORT_ALIAS"]}},objnames:{"0":["c","macro","C \u5b8f"]},objtypes:{"0":"c:macro"},terms:{"0v":[3,41],"0x":48,"0x00":[1,48],"0x0000":8,"0x00000000":6,"0x00000001":6,"0x00000002":6,"0x00000003":6,"0x00000006":6,"0x00000007":6,"0x0000000a":6,"0x0000000b":6,"0x00000014":6,"0x00000015":6,"0x00000016":6,"0x00000017":6,"0x00000018":6,"0x00000019":6,"0x0000001a":6,"0x0000001b":6,"0x0000001c":6,"0x0000001d":6,"0x0000001e":6,"0x0000001f":6,"0x0001":8,"0x001":[0,3,6,8,9,10,11,13],"0x0010":8,"0x0018":1,"0x002":[0,3,6,8,9,10,11,13],"0x0020":8,"0x0028":1,"0x004":[0,3,6,8,10,11,13],"0x0040":8,"0x008":[0,3,6,8,10,11,13],"0x00a0":1,"0x00f0":1,"0x01":[0,1,12,30],"0x010":[0,3,6,8,9,10,11,13],"0x0180":30,"0x02":[0,12,30],"0x020":[0,3,6,8,9,10,11,13],"0x03":[0,30],"0x04":[0,30],"0x05":[0,30],"0x06":[0,30],"0x07":[0,30],"0x08":[0,30],"0x09":[0,30],"0x0a":0,"0x0b":0,"0x0c":0,"0x0d":0,"0x0e":0,"0x0f":0,"0x10":[3,6,9,10,11,13],"0x11":[3,6,9,13],"0x12":[3,6,30],"0x13":[3,6,30],"0x14":3,"0x15":3,"0x16":3,"0x18":30,"0x1812":30,"0x50":48,"0x71":30,"0x80":[12,30],"0x81":12,"0x82":12,"0xff":43,"10":[7,18,30,33],"100":10,"1000":[9,41],"1000000":[51,53],"11":[7,27,30],"12":[3,7,30],"125hz":54,"13":[1,7,30],"14":[3,30,33],"14bit":3,"15":[8,30,40,48],"16":[3,6,9,10,12,30,53],"160":54,"16bit":3,"17":30,"18":[27,30],"18000000":11,"19":[18,30],"1m":51,"1mhz":53,"1s":[33,51],"1v":41,"20":30,"2000000":[13,18,34,60],"20210120":18,"24":9,"244":30,"256":12,"25hz":54,"28":33,"28byj48":54,"2f":41,"2m":21,"2mhz":3,"2v":[3,41],"31":33,"32":[6,9,12,43,53,54],"32768":33,"32k":[10,33,54],"32m":[33,53],"360":54,"36000000":56,"37":54,"3v":41,"3v3":26,"400":1,"4096":54,"40m":11,"43v":41,"4ghz":1,"4k":33,"50":[10,53],"625":[1,54],"64":[14,51,54],"64k":33,"68":33,"8000":43,"break":13,"case":[20,23,25],"char":[0,1,3,6,8,9,10,11,12,13,14,30,34],"class":17,"const":[0,1,3,6,8,9,10,11,12,13,14,30],"default":26,"enum":[0,1,3,4,6,8,9,10,11,12,13,14,54],"export":18,"for":[1,9,18,34,40,43,53],"function":[34,40,41,45,46,48,53,54,56,60],"if":[1,2,3,6,8,9,10,11,12,13,30,34,40,41,43,48,53,54,56,58,60],"import":20,"in":[1,14,30,31,40],"int":[0,1,3,6,7,8,9,10,11,12,13,14,30,34],"null":[0,1,3,6,10,11,12,13,14,30,34,43,58,60],"public":1,"return":[0,1,3,6,7,8,9,10,11,12,13,14,17,30,34],"static":[3,6,8,9,10,11,13,30,46,51],"try":1,"void":[0,1,2,3,6,7,9,10,11,12,13,14,16,17,30,34,41,43,46,51,54,56,58,60],"while":[30,33],"with":1,__hal_rcc_gpiob_clk_en:2,__hal_rcc_uart5_clk_en:2,_printf_float:23,access:[1,6],ack:14,acknowledg:1,acl:1,activ:1,ad:1,ad_discov:1,ad_len:1,adc0:[3,6,41],adc0_config:[3,41],adc0_index:[3,41],adc:[0,15,29],adc_channel_cfg:41,adc_channel_cfg_t:[3,41],adc_channel_start:41,adc_clk_div_t:3,adc_clock_div_32:[3,41],adc_clos:3,adc_control:3,adc_data_width_16b_with_256_averag:[3,41],adc_data_width_t:3,adc_dev:[3,41],adc_devic:3,adc_device_t:3,adc_event_fifo_readi:3,adc_event_overrun:3,adc_event_typ:3,adc_event_underrun:3,adc_fifo_threshold_1byt:[3,41],adc_fifo_threshold_t:3,adc_gain_1:[3,41],adc_index_typ:3,adc_it_typ:3,adc_kei:41,adc_max_index:3,adc_open:3,adc_param_cfg_t:3,adc_pga_gain_t:3,adc_read:3,adc_regist:41,adc_start:3,adc_stop:3,adc_vref_3p2v:[3,41],adc_vref_t:3,adcx_devic:3,add:22,addr:[1,14],addr_typ:1,address:1,adv:[1,30],adv_addr:1,adv_data:30,adv_nam:30,adv_param:30,advanc:21,advertis:1,after:1,alia:16,all:[2,21,27],altern:2,an:1,analog:3,and:[1,2],ani:1,aon:33,api:[1,29],app:[18,20,25,30,33,34,40,41,43,45,46,48,51,53,54,56,58,60],appear:1,appli:20,applic:[1,20,31],apt:[18,27],are:1,arg:[0,3,6,9,10,11,12,13,14,34,43,58,60],argc:34,argv:34,array_s:30,as:[1,9,30],asynchron:13,at24cxx:49,atomic_defin:1,atomic_t:1,attr:30,attribut:1,audio:35,avb:[26,40],bashrc:18,baudrat:[13,34,60],bclk:[9,10],be:[1,30],bearer:1,befor:1,begin:2,bflb_mcu_prefer:20,bflb_platform_delay_m:53,bflb_platform_init:[34,60],bflb_platform_set_alarm_tim:51,bilibili:17,bin:[18,20,21,22,24,31],bit:[1,3,9,10,12,13],bl602:1,bl702:[18,19,20,27,29,30],bl702_avb:56,bl702_bl704_bl706_ds_en_combo_1:33,bl702_driver:[56,58],bl702_iot:26,bl706:[20,26,31,33,40],bl706_avb:[27,40,41,56],bl706_iot:[18,20,23,25,27,30,34,43,45,46,48,51,53,54,58,60],bl706_lp:33,bl70x:[14,26,29,33],bl70x_flash:22,bl70x_flasher:22,bl:[7,24,33],bl_clean:20,bl_config_wizard:2,bl_make:20,bl_mcu_sdk:[0,23,25,30,31,33,34,40,41,43,45,46,48,51,53,54,56,58,60],bl_test_01:30,bldevcub:[24,29,30,34,40,41,43,45,46,48,51,53,54,56,58,60],ble:29,ble_centr:30,ble_contr:30,ble_peripher:30,ble_start_adv:30,ble_start_scan:30,ble_tp_conn:30,ble_tp_conn_callback:30,ble_tp_connect:30,ble_tp_disconnect:30,ble_tp_init:30,ble_tp_notify_task:30,ble_tp_recv_wr:30,ble_write_data:30,ble_write_data_task:30,bluetooth:1,board:[3,4,6,7,8,9,10,11,12,13,18,20,23,25,26,29,30,33,34,40,41,43,45,46,48,51,53,54,56,58,60],board_get_debug_uart_index:[34,60],bool:[1,3],boot2:29,boot2_iap:31,boot:[18,21,26,27],boot_rom:18,borad:20,bouffalo:[20,26,27,31],bouffalolab:[18,19,20,21],boufflao:[2,33],br:1,breath:53,broadcast:1,brows:21,bsp:[2,3,4,6,7,8,9,10,11,12,13,34,40,41,43,48,53,54,56,58,60],bsp_adc_clock_div:41,bsp_adc_clock_sourc:41,bsp_cam_clock_div:40,bsp_cam_clock_sourc:40,bsp_common:40,bsp_i2c_clock_div:[40,48],bsp_i2c_clock_sourc:[40,48],bsp_image_sensor:40,bsp_pwm_clock_div:[53,54],bsp_pwm_clock_sourc:[53,54],bsp_spi_clock_div:56,bsp_spi_clock_sourc:56,bsp_uart_clock_div:[34,60],bsp_uart_clock_sourc:[34,60],bsp_using_adc0:[3,41],bsp_using_cam:40,bsp_using_dma0_ch0:[6,43],bsp_using_dma0_ch1:6,bsp_using_dma0_ch2:[6,40],bsp_using_dma0_ch3:6,bsp_using_dma0_ch4:6,bsp_using_dma0_ch5:6,bsp_using_dma0_ch6:6,bsp_using_dma0_ch7:6,bsp_using_dma_ch0:6,bsp_using_i2c0:[8,40,48],bsp_using_i2s0:9,bsp_using_pwm_ch0:[10,54],bsp_using_pwm_ch1:[10,54],bsp_using_pwm_ch2:[10,53,54],bsp_using_pwm_ch3:[10,54],bsp_using_pwm_ch4:10,bsp_using_spi0:[11,56],bsp_using_timer_ch0:[12,58],bsp_using_timer_ch1:12,bsp_using_uart0:[13,34,60],bsp_using_uart1:13,bsp_using_usb:[14,17,40],bsp_using_xxx:2,bt:1,bt_addr_le_ani:1,bt_addr_le_t:1,bt_char_ble_tp_not_attr_val_index:30,bt_conn:[1,30],bt_conn_auth_cb:1,bt_conn_br:1,bt_conn_cb:[1,30],bt_conn_cb_regist:30,bt_conn_info:1,bt_conn_l:1,bt_conn_num_flag:1,bt_conn_rv:1,bt_conn_sco:1,bt_conn_state_t:1,bt_data:[1,30],bt_data_byt:1,bt_data_flag:[1,30],bt_data_gap_appear:30,bt_data_manufacturer_data:30,bt_data_name_complet:[1,30],bt_data_uuid16_al:30,bt_gap_adv_fast_int_max_3:30,bt_gap_adv_fast_int_min_3:30,bt_gap_init_conn_int_max:1,bt_gap_init_conn_int_min:1,bt_gap_scan_slow_interval_1:1,bt_gap_scan_slow_window_1:1,bt_gatt_attr:30,bt_gatt_notifi:30,bt_gatt_subscribe_param:30,bt_gatt_write_without_respons:30,bt_le_ad_gener:1,bt_le_ad_limit:30,bt_le_ad_no_bredr:[1,30],bt_le_adv_opt_connect:1,bt_le_adv_opt_dir_addr_rpa:1,bt_le_adv_opt_dir_mode_low_duti:1,bt_le_adv_opt_filter_conn:1,bt_le_adv_opt_filter_scan_req:1,bt_le_adv_opt_non:1,bt_le_adv_opt_one_tim:1,bt_le_adv_opt_use_ident:1,bt_le_adv_opt_use_nam:1,bt_le_adv_param:[1,30],bt_le_adv_start:30,bt_le_conn_param:1,bt_le_scan_cb_t:1,bt_le_scan_param:1,bt_le_scan_type_act:1,bt_le_scan_type_pass:1,bt_ready_cb_t:1,bt_security_t:1,bt_warn:30,buf:[8,30,48],buffer:[0,3,9,11,13,14],build:[18,20,22,24],bus:[11,14],but:1,bv1ef4y1t73d:17,by:[1,14],call:1,callback:[0,1,3,6,10,11,12,13,14,30],cam:40,can:1,cancel:20,canon:18,care:1,cb:1,cbfun:7,ccw:54,cd:[18,30,34,40,41,43,45,46,48,51,53,54,56,58,60],cdc:35,cdk:[27,29,30,33,34,40,41,43,45,46,48,51,53,54,56,58,60],cdk_flashload:22,cdkproj:[22,23,24,30,34,40,41,43,45,46,48,51,53,54,56,58,60],central:1,cfg:10,ch0:58,ch8:41,ch:[6,8,10,12,40,43,53,54,58],chan_map:1,channel:[1,9],channel_num:9,char_hdl:30,characterist:1,check:1,chip:21,circuit:8,ck:[19,27],ck_link:26,ck_link_debug:22,clean:[22,24],clear:0,click:21,client:1,clk:[11,56],clk_div:[3,12,41],clk_out:40,clk_phase:[11,56],clk_polara:[11,56],clock:[2,21,33],clock_config:[4,34,40,41,48,53,54,56,60],clock_period:33,clone:[18,19,20],close:0,cmake:29,cmake_current_source_dir:25,cmakelist:[23,25],cmd:[0,3,6,9,10,11,12,13,14],cmd_echo:34,cnt:58,cnt_mode:[12,58],code:[0,2],com:[17,18,19,20,21,26,27],command:[16,20],common:17,commun:17,comp0:58,comp1:58,comp2:58,comp:58,compil:23,complet:[1,14,30],compromis:1,comx:18,config:0,config_bt_bredr:1,config_bt_privaci:1,config_bt_remote_vers:1,config_bt_smp:1,config_bt_stack_pt:1,config_gpio0_func:40,config_gpio10_func:54,config_gpio11_func:[40,48,54],config_gpio12_func:[40,54],config_gpio14_func:[34,58,60],config_gpio15_func:[34,58,60],config_gpio16_func:[40,48],config_gpio18_func:41,config_gpio19_func:56,config_gpio1_func:40,config_gpio20_func:56,config_gpio21_func:56,config_gpio22_func:53,config_gpio29_func:40,config_gpio2_func:40,config_gpio30_func:40,config_gpio31_func:40,config_gpio3_func:[40,54],config_gpio4_func:40,config_gpio5_func:40,config_gpio6_func:40,config_gpio7_func:40,config_gpio8_func:40,config_gpio9_func:40,configur:[0,2,14],conn:[1,30],connect:[1,14,26,30],consol:20,continuous_conv_mod:[3,41],control:[0,1,14],conveni:1,convert:[3,27],core:29,count:10,cp:18,cpha:11,cpol:11,cpu:[22,24,33],creat:21,cs1:56,cs1_high:56,cs1_low:56,cs:11,csky:22,ctrl:0,cts:13,cube:[24,26,31],custom:17,cw:54,d0:45,d1:45,d2:45,d3:45,dac0:6,dac:[3,15],data:[1,9,13,14,16,30,34,56],data_appear:30,data_len:[1,14],data_manu:30,data_s:9,data_uuid:30,data_width:[3,41],databit:[13,34,60],datas:[11,56],datasheet:33,dc12v:54,dc5v:54,dc:56,dc_high:56,dcd:17,debug:[20,22,24],debug_log:[34,60],debugg:[18,19,21,22,27],default_config:[56,58],defer:1,defin:[0,1,2,3,6,7,8,9,10,11,12,13,34,40,41,43,48,53,54,56,58,60],deivce_ctrl_pwm_dutycycle_config:[10,53,54],deivce_ctrl_pwm_frequence_config:10,deivce_ctrl_pwm_it_pulse_count_config:10,delai:1,demo:[2,20,30,34,40,41,43,45,46,48,51,53,54,56,58,60],desc:16,descript:[3,6,9,10,11,12,13,14],determin:1,dev:[0,1,3,6,8,9,10,11,12,13,14,18,20,24,26,27,31,34,43,58,60],devcub:31,devic:[0,1,3,6,8,9,10,11,12,13,14,21,27,29,34,40,41,43,48,53,58,60],device_class_adc:0,device_class_camera:0,device_class_dma:0,device_class_gpio:0,device_class_i2:0,device_class_i2c:0,device_class_non:0,device_class_pwm:0,device_class_sdio:0,device_class_sec_hash:0,device_class_spi:0,device_class_tim:0,device_class_typ:0,device_class_uart:0,device_class_usb:0,device_clos:56,device_contorl:[53,54],device_control:[34,41,43,53,54,58,60],device_ctrl_adc_channel_config:[3,41],device_ctrl_adc_channel_start:3,device_ctrl_adc_channel_stop:3,device_ctrl_adc_tsen_off:3,device_ctrl_adc_tsen_on:3,device_ctrl_adc_vbat_off:3,device_ctrl_adc_vbat_on:3,device_ctrl_attach_rx_dma:[0,3,11,13,14],device_ctrl_attach_tx_dma:[0,11,13,14],device_ctrl_clr_int:[0,3,6,10,11,12,13,34,60],device_ctrl_config:[0,3,13],device_ctrl_get_config:[0,9,12],device_ctrl_get_int:0,device_ctrl_get_match_statu:12,device_ctrl_i2s_attach_rx_dma:9,device_ctrl_i2s_attach_tx_dma:9,device_ctrl_pwm_dutycycle_config:10,device_ctrl_pwm_frequence_config:10,device_ctrl_pwm_it_pulse_count_config:10,device_ctrl_resum:[0,10,11,12],device_ctrl_resvd1:0,device_ctrl_resvd2:0,device_ctrl_rx_dma_resum:[0,11,13],device_ctrl_rx_dma_suspend:[0,11,13],device_ctrl_set_int:[0,3,6,10,11,12,13,14,34,43,58,60],device_ctrl_spi_config_clock:11,device_ctrl_suspend:[0,10,11,12],device_ctrl_timer_ch_start:[12,58],device_ctrl_timer_ch_stop:12,device_ctrl_tx_dma_resum:[0,11,13],device_ctrl_tx_dma_suspend:[0,11,13],device_ctrl_uart_get_rx_fifo:13,device_ctrl_uart_get_tx_fifo:13,device_ctrl_usb_dc_enum_off:14,device_ctrl_usb_dc_enum_on:14,device_ctrl_usb_dc_get_ep_rx_fifo_cnt:14,device_ctrl_usb_dc_get_ep_tx_fifo_cnt:14,device_ctrl_usb_dc_set_ack:14,device_ctrl_usb_dc_set_rx_dma:14,device_ctrl_usb_dc_set_tx_dma:14,device_find:[17,34,41,43,48,53,54,56,60],device_found:30,device_oflag_dma_rx:[0,3,6,8,9,10,11,13],device_oflag_dma_tx:[0,3,6,8,9,10,11,13],device_oflag_int:[12,58],device_oflag_int_rx:[0,3,6,8,10,11,13,34,60],device_oflag_int_tx:[0,3,6,8,10,11,13],device_oflag_pol:12,device_oflag_stream_rx:[0,3,6,8,9,10,11,13,41,56],device_oflag_stream_tx:[0,3,6,8,9,10,11,13,34,53,54,56,60],device_open:[2,17,34,40,41,43,48,53,54,56,58,60],device_read:41,device_set_callback:[17,34,43,58,60],device_status_typ:0,device_writ:60,differential_mod:[3,41],digit:3,dir:54,direct:[1,6,11,40,43,56],disabl:[3,10,41,54],disconnect:[1,30],displai:56,dl:[21,27],dlist_t:0,dma0_ch0_config:[6,43],dma0_ch0_index:[6,43],dma0_ch1_config:6,dma0_ch1_index:6,dma0_ch2_config:[6,40],dma0_ch2_index:6,dma0_ch3_config:6,dma0_ch3_index:6,dma0_ch4_config:6,dma0_ch4_index:6,dma0_ch5_config:6,dma0_ch5_index:6,dma0_ch6_config:6,dma0_ch6_index:6,dma0_ch7_config:6,dma0_ch7_index:6,dma:[0,3,8,9,10,11,13,14,15,29],dma_burst_16byt:6,dma_burst_1byt:6,dma_burst_4byt:6,dma_burst_8byt:6,dma_ch0:43,dma_ch0_index:6,dma_ch2:40,dma_channel_get_statu:6,dma_channel_start:43,dma_clos:6,dma_control:6,dma_dev:[6,40],dma_devic:6,dma_device_t:6,dma_dst_buff:43,dma_event_complet:6,dma_event_typ:6,dma_index_typ:6,dma_lli_ctrl_t:6,dma_lli_cycle_mod:6,dma_lli_once_mod:[6,40,43],dma_m2m:43,dma_max_index:6,dma_memory_to_memori:[6,43],dma_memory_to_periph:[6,40],dma_open:6,dma_periph_to_memori:6,dma_periph_to_periph:6,dma_regist:43,dma_reload:43,dma_request_adc0:6,dma_request_dac0:6,dma_request_i2c0_rx:6,dma_request_i2c0_tx:6,dma_request_i2s_rx:6,dma_request_i2s_tx:6,dma_request_non:[6,40,43],dma_request_spi0_rx:6,dma_request_spi0_tx:6,dma_request_uart0_rx:6,dma_request_uart0_tx:6,dma_request_uart1_rx:6,dma_request_uart1_tx:[6,40],dma_request_usb_ep0:6,dma_request_usb_ep1:[6,40],dma_request_usb_ep2:6,dma_request_usb_ep3:6,dma_request_usb_ep4:6,dma_request_usb_ep5:6,dma_request_usb_ep6:6,dma_request_usb_ep7:6,dma_src_buff:43,dma_transfer_dir_typ:6,dma_transfer_don:43,dma_transfer_width_16bit:6,dma_transfer_width_32bit:[6,43],dma_transfer_width_8bit:[6,40],dmax_devic:6,don:1,done:[14,43],download:[18,19,20,21,22,24],dparamet:34,driver:[21,27,56,58],dsp:9,dst_addr:6,dst_burst_siz:6,dst_req:[6,40,43],dst_width:[6,40,43],dtcm:33,duti:1,dutycycl:53,e24:29,echo:[18,34],eclips:27,edit:20,eeprom:48,effect:1,elf:[18,20,22],els:[41,54,56,58,60],empti:23,enabl:[1,2,7,41,46,54],encrypt:1,end:2,endif:[1,3,6,8,9,10,11,12,13,34,40,41,43,48,53,54,56,58,60],enumer:14,ep0:[6,14],ep1:[6,14],ep2:6,ep3:6,ep4:6,ep5:6,ep6:6,ep7:[6,14],ep:14,ep_addr:14,ep_cfg:14,ep_ena:14,ep_mp:14,ep_typ:14,epf:20,equal:9,err:[1,30],error:[1,14,30,43],establish:14,even:[1,13],event:[0,3,6,10,11,12,13,14,58],exampl:[18,20,22,24,30,31,33,34,40,41,43,45,46,48,51,53,54,56,58,60],except:14,exe:[19,20,21,27],exist:20,fail:41,fatf:29,featur:1,field:1,fifo:[3,9,11,13,14,60],fifo_threshold:[3,9,11,13,34,41,56,60],file:[18,20,21],filter:1,filter_dup:1,find:[34,41,43,48,53,54,56,60],finish:[20,21],finsh:20,flag:[0,1,3,8,23,30,48],flash:[2,21,22,24,31],flashdownload:22,format_sel:40,frame:[9,14],frame_s:9,freerto:25,freerun:12,frequenc:[53,54],friend:1,ft2232c:27,ftdi:27,func1:26,func2:26,gain:[3,41],gap:1,gate:33,gatt:1,gc0308:40,gdb:20,gener:[1,7,20],generate_bin:25,get:0,get_adc_key_valu:41,get_attr:30,git:[18,19,20],gite:[18,19,20],github:27,gnd:[20,26],gpio0:40,gpio10:[54,56],gpio11:[40,46,48,54],gpio11_int_callback:46,gpio12:54,gpio14:[34,60],gpio15:[34,60],gpio16:[40,48],gpio18:41,gpio19:56,gpio1:40,gpio20:56,gpio21:56,gpio22:[45,53,56],gpio29:[40,45],gpio2:40,gpio30:[40,45],gpio31:[40,45],gpio3:[40,54],gpio4:40,gpio5:40,gpio6:40,gpio7:40,gpio8:40,gpio9:40,gpio:[2,15,20,29,33,34,40,41,48,53,54,56,60],gpio_af14_uart5:2,gpio_async_falling_triger_int_mod:7,gpio_async_high_level_int_mod:7,gpio_async_low_level_int_mod:7,gpio_async_rising_triger_int_mod:7,gpio_attach_irq:46,gpio_blink:[20,45],gpio_cas:[23,25],gpio_fun_adc:41,gpio_fun_cam:40,gpio_fun_clk_out:40,gpio_fun_i2c:[40,48],gpio_fun_pwm:[53,54],gpio_fun_spi:56,gpio_fun_uart0_rx:[34,58,60],gpio_fun_uart0_tx:[34,58,60],gpio_fun_usb:40,gpio_initstruct:2,gpio_inittypedef:2,gpio_input_mod:7,gpio_input_pd_mod:7,gpio_input_pp_mod:7,gpio_int:46,gpio_irq_en:46,gpio_mode_af_pp:2,gpio_nopul:2,gpio_output_mod:[7,56],gpio_output_pd_mod:7,gpio_output_pp_mod:[7,45],gpio_pin_11:46,gpio_pin_12:2,gpio_pin_13:2,gpio_pin_22:45,gpio_pin_29:45,gpio_pin_30:45,gpio_pin_31:45,gpio_set_mod:[45,46,56],gpio_speed_freq_low:2,gpio_sync_falling_triger_int_mod:7,gpio_sync_high_level_int_mod:7,gpio_sync_low_level_int_mod:7,gpio_sync_rising_triger_int_mod:[7,46],gpio_test_cas:25,gpio_writ:[45,56],gpiob:2,guest:21,gz:18,hal:[0,2],hal_adc:3,hal_dma:6,hal_drv:[56,58],hal_gpio_init:2,hal_i2c:8,hal_init:2,hal_nvic_enableirq:2,hal_nvic_setprior:2,hal_pwm:10,hal_spi:11,hal_tim:[12,58],hal_uart:13,hal_uart_mspinit:2,handl:[0,1],happen:1,hardwar:[1,14],hbn:33,hci:1,hd12:26,hd1:26,hd3:26,hd8:26,header:40,hello:34,hellowd:[18,20,22,24,34],helloworld:[18,20,22,23,24],hellwd:34,help:[16,22,24],here:21,hid:35,high:1,host:[1,14],http:[17,18,19,20,21,27],huart:2,human:17,i2c0:[8,48],i2c0_config:[8,40,48],i2c0_index:[8,48],i2c1:8,i2c:[6,15,29],i2c_at24cxx:48,i2c_clk:8,i2c_dev:8,i2c_devic:8,i2c_device_t:8,i2c_hw_mod:[8,40,48],i2c_index_typ:8,i2c_max_index:8,i2c_msg:8,i2c_msg_t:[8,48],i2c_open:8,i2c_rd:[8,48],i2c_regist:48,i2c_scl:[40,48],i2c_sda:[40,48],i2c_source_clk:8,i2c_transf:48,i2c_wr:[8,48],i2cx_devic:8,i2s0:9,i2s0_config:9,i2s0_index:9,i2s:[6,15,26],i2s_channel_num_t:9,i2s_clos:9,i2s_control:9,i2s_data_len_16:9,i2s_data_len_24:9,i2s_data_len_32:9,i2s_data_len_8:9,i2s_data_size_t:9,i2s_dev:9,i2s_devic:9,i2s_device_t:9,i2s_frame_len_16:9,i2s_frame_len_24:9,i2s_frame_len_32:9,i2s_frame_len_8:9,i2s_frame_size_t:9,i2s_fs_channels_num_2:9,i2s_fs_channels_num_3:9,i2s_fs_channels_num_4:9,i2s_fs_channels_num_mono:9,i2s_get_rx_fifo_cmd:9,i2s_get_tx_fifo_cmd:9,i2s_index_typ:9,i2s_max_index:9,i2s_mode_dsp_a:9,i2s_mode_dsp_b:9,i2s_mode_left:9,i2s_mode_mast:9,i2s_mode_right:9,i2s_mode_slav:9,i2s_mode_std:9,i2s_mode_t:9,i2s_open:9,i2sx_devic:9,iap:29,ic:9,id:[1,6,8,9,11,12,13,14,34,40,43,48,56,58,60],ident:1,identifi:1,ifdef:[3,6,8,9,10,11,12,13],ifndef:[3,6,8,9,10,11,12,13,34,40,41,43,48,53,54,56,58,60],iis_mod:9,il9431:56,imag:21,in_ep:14,includ:23,incom:1,index:[3,6,8,9,10,11,12,13,14,43],indic:1,info:1,init:2,initi:[2,14],input:7,instal:[18,27],instanc:2,int8_t:1,inter:[8,9],interfac:[2,11,17,18,21,27],interface_mod:9,interface_mode_t:9,intergr:8,interrupt:[0,2,58],interv:1,interval_max:[1,30],interval_min:[1,30],into:20,iot:[20,26,29],is:[1,9,13,14],is_stal:14,isoch:40,isregist:30,it:1,it_pulse_count:[10,53,54],itcm:33,its:1,jlink:[26,27],jlink_bl_mcu_sdk:20,jtag:[21,26,27,29],jtag_tck:26,jtag_tdi:26,jtag_tdo:26,jtag_tm:26,justifi:9,k_delayed_work:1,k_fifo:1,k_forev:30,k_sem_giv:30,k_sem_tak:30,k_work:1,keep:1,kei:[1,41],keil:[30,34,40,41,43,45,46,48,51,53,54,56,58,60],key_no_valu:41,keyvalu:41,l2cap:1,lab:[2,20,26,27,31,33],latenc:1,launch:20,lcd:55,lcd_c:56,lcd_cs_pin:56,lcd_dc:56,lcd_dc_pin:56,lcd_wr_byte:56,lcd_wr_halfword:56,lcd_wr_word:56,le:1,led:[27,53],led_breath:53,left:9,len:[8,30,48],length:[11,13,30],level:[1,33],libftdi:27,libhidapi:27,libusb:27,lin:13,link:[19,20,27],linker:23,linker_script:25,linux:[28,33],list:[0,6,21,27],ll:1,lli:6,lli_cfg:6,load:[22,24],loader:22,local:1,log:20,lost:14,low:1,lowpow:29,lowpower_test:33,lpm:14,lpn:1,lsb:11,lsusb:27,lts:27,ma:33,main:[2,18,20,23,25],maix:[21,27],make:[20,25,30,33,34,40,41,43,45,46,48,51,53,54,56,58,60],manag:1,manufactur:1,map:1,mass:17,master:9,max_data_len:14,maximum:1,mcu:[0,2,3,6,7,8,9,10,11,12,13,14,17,18,19,20,21,26,27,33],mdk:[30,34,40,41,43,45,46,48,51,53,54,56,58,60],meaning:1,media:18,memori:[6,43],mesh:1,mini:[18,21,26],minimum:1,miso:56,mjpeg:40,mkdir:18,mobaxterm:34,mode:[1,2,7,8,9,11,40,48,56],modul:10,mosi:56,motor_ch0:54,motor_ch1:54,motor_ch2:54,motor_ch3:54,motor_dir_typ:54,motor_set_dir:54,ms:1,msb:11,msc:35,msg:[8,34,41,43,46,48,51,58,60],mtimer:29,must:[1,9,30],mv:41,mx_gpio_init:2,mx_quadspi_init:2,mx_usart1_uart_init:2,my_cas:[23,25],name:[0,1,3,6,8,9,10,11,12,13,14,23,30],name_max:0,need:1,neg_channel:41,negchlist:41,net_buf:1,next:[1,20],no:[1,13],node:[0,1],none:6,not:1,notif:30,notifi:[1,30],notify_func:30,notify_poll_sem:30,num:8,observ:1,occ:19,occur:1,ocram:33,octam:33,odd:13,of:[0,1,2,14],ofast:25,offset:30,oflag:[0,3,6,8,9,10,11,12,13,14],ok:[22,23],one:[13,30],onli:[1,9],oob:1,open:[0,41],openocd:[24,27],openocd_debug:[22,24],option:[1,21,27,30],or:[1,19,21,26,30,34],org:18,os:51,osr:3,ostrac:19,other:[1,23],otherwis:1,out:[14,20],out_ep:14,outgo:1,output:7,over:20,own:1,own_address_typ:1,packet:[1,14],page:33,pair:1,pane:[22,24],param:[1,30],paramet:1,parent:[0,3,6,8,9,10,11,12,13,14],pariti:[13,34,60],passkei:1,path:[18,23],pb12:2,pb13:2,pb:1,pc:[14,20,26,27,33,34],pcm:9,pdf:33,pds:33,peer:1,pending_no_cb:1,period:[10,53,54],peripher:[1,2,6,11,22,24,29],peripheral_clock_adc:4,peripheral_clock_cam:4,peripheral_clock_dac:4,peripheral_clock_i2:4,peripheral_clock_i2c:4,peripheral_clock_pwm:4,peripheral_clock_spi:4,peripheral_clock_typ:4,peripheral_clock_uart:4,peripheral_config:[3,6,8,9,10,11,12,13,34,40,41,43,48,53,54,56,58,60],phase:[8,40,48],picocom:18,pin:[1,2,7,34,40,41,45,46,48,53,54,56,60],pinmux:7,pinmux_config:[7,34,40,41,48,53,54,56,58,60],pinmux_select:40,pinmux_uvc:40,pix:26,pl_trig_src:[12,58],plu:[18,19,27],polarity_invert_mod:[10,54],port:[14,21,27],pos:[0,3,9,11,13,14],pos_channel:41,poschlist:41,power:[1,33],prefer:20,preload:12,press:41,printf:23,privaci:1,privat:1,profil:[1,19],program:[21,31],project:[20,22,23,24],provid:1,provis:1,proxi:1,psram:21,pull:2,puls:10,purpos:7,pvparamet:30,pwm:[6,15,29],pwm_breath_l:53,pwm_cfg:[53,54],pwm_ch0:54,pwm_ch0_config:[10,54],pwm_ch0_index:[10,54],pwm_ch1:54,pwm_ch1_config:[10,54],pwm_ch1_index:[10,54],pwm_ch2:[53,54],pwm_ch2_config:[10,53,54],pwm_ch2_index:[10,53,54],pwm_ch3:54,pwm_ch3_config:[10,54],pwm_ch3_index:[10,54],pwm_ch4_config:10,pwm_ch4_index:10,pwm_channel_start:[53,54],pwm_clk:10,pwm_close:10,pwm_control:10,pwm_dev:[10,53,54],pwm_devic:10,pwm_device_t:10,pwm_div:10,pwm_dutycycle_config_t:[10,54],pwm_event_complet:10,pwm_event_typ:10,pwm_index_typ:10,pwm_max_index:10,pwm_open:10,pwm_regist:[53,54],pwm_step_motor:54,pwmx_devic:10,queue:1,radio:1,ram:[33,44],random:1,rang:1,rb:14,read:[0,1,48],read_byt:14,reason:1,receiv:[13,14],recurs:[18,19,20],recv_buf:11,ref:1,refresh:[21,26],regist:[22,24],relai:1,remot:1,replac:[21,27],report:14,request:[1,6],requir:1,required_sec_level:1,reset:[2,14],resolut:1,resolv:1,resourc:1,respons:1,result_v:41,resum:[0,1,14],ret_byt:14,rf:18,rgb555:40,right:9,rinbuff:14,ring_buffer_typ:14,ringbuff:14,risc:[20,29,51],riscv64:18,rise:46,role:1,rom:[21,26],root_clock_source_32k_clk:54,root_clock_source_bclk:[40,48,56],root_clock_source_pll_96m:[34,40,60],root_clock_source_xclk:[41,53],rpa:1,rssi:1,rst:[18,20,21,22,24,26],rtc:33,rto:[13,60],rts:13,run:33,rv:[1,18,19,21,27],rx0:26,rx:[1,6,11,13,14,33],rx_dma:[9,11,13,14],rx_fifo:60,rx_len:1,rxd0:20,rxd:26,same:30,sampl_freq_hz:9,scan:1,scan_param:1,scan_rsp:1,sclk:11,sco:1,sd:1,sd_len:1,sdi:11,sdk:[2,7,18,19,20,22,23,24,25],sdk_path:[30,34,40,41,43,45,46,48,51,53,54,56,58,60],sdo:11,sec:1,sec_level:1,secur:1,segger:[20,21],select:21,send:30,send_buf:11,sent:1,serial:[11,14,22,24,27],server:1,servic:[1,30],set:[0,1,22,23,24,25],setup:[14,19],shell:29,shell_cmd_export:34,shell_cmd_export_alia:34,shell_handl:34,shell_init:34,shell_irq_callback:34,show:21,sifiv:29,simpl:1,sipe:[18,19,21,27],size:[0,3,6,9,10,11,12,13,14,34,43,58,60],size_t:1,sizeof:30,sky:22,slave:[1,9],slaveaddr:[8,48],sleeptim:33,smp:1,so:1,solicit:1,sound:9,sourc:18,spec:33,specif:1,specifi:1,speed:[2,21],spi0:[11,56],spi0_config:[11,56],spi0_index:[11,56],spi:[0,6,15,26,29],spi_clos:11,spi_config:56,spi_control:11,spi_datasize_16bit:11,spi_datasize_24bit:11,spi_datasize_32bit:11,spi_datasize_8bit:[11,56],spi_dev:11,spi_devic:11,spi_device_t:11,spi_event_rx_fifo:11,spi_event_tx_fifo:11,spi_event_typ:11,spi_event_unknown:11,spi_index_typ:11,spi_lcd:56,spi_lsb_byte0_direction_first:11,spi_lsb_byte3_direction_first:11,spi_master_mod:[11,56],spi_max_index:11,spi_miso:56,spi_mosi:56,spi_msb_byte0_direction_first:[11,56],spi_msb_byte3_direction_first:11,spi_open:11,spi_phase_1edg:[11,56],spi_phase_2edg:11,spi_polarity_high:11,spi_polarity_low:[11,56],spi_read:11,spi_regist:56,spi_sck:56,spi_slvae_mod:11,spi_swap_en:56,spi_transfer_tpye_24bit:11,spi_transfer_type_16bit:[11,56],spi_transfer_type_32bit:[11,56],spi_transfer_type_8bit:[11,56],spi_transmit:56,spi_writ:11,spix_devic:11,src:58,src_addr:6,src_burst_siz:6,src_req:[6,40,43],src_width:[6,40,43],stack:[1,29],stall:14,start:[14,22,24],state:[1,34,43,58,60],statu:[0,14],std:9,step:20,stm32:2,stm32xxx_hal_msp:2,stop:[1,13,22,24,54],stopbit:[13,34,60],storag:17,stream:40,strlen:30,struct:[0,1,3,6,8,9,10,11,12,13,14,17,30,34,43,48,53,58,60],structur:0,sub_addr_0byt:8,sub_addr_1byt:[8,48],sub_addr_2byt:8,subaddr:[8,48],subsystem:18,subvers:1,success:[21,22,43,48],sudo:[18,27],support:1,support_bl:30,support_float:[30,41],support_freerto:[25,30],support_shel:[33,34],suspend:[0,14],sw1:[41,46],sw5:41,sync:13,sys_slist_t:1,sysinit:2,system:[2,22,24],system_clock_32k_clk:4,system_clock_aupl:4,system_clock_bclk:4,system_clock_fclk:4,system_clock_root_clock:4,system_clock_typ:4,system_clock_xclk:4,systemclock_config:2,systick:[2,51],systick_isr:51,tab:16,tabl:7,take:1,taken:1,tar:18,target:[1,20],target_required_lib:25,target_required_private_opt:25,target_required_src:25,task:[1,43],task_prior:1,tck:26,tdi:26,tdo:26,termin:27,test1:25,test2:25,test:34,tft:55,that:1,the:[1,2,14,30],thi:[1,30],threshold_high:[10,53,54],threshold_low:[10,53,54],tick:51,time:30,timeout:1,timer0:58,timer:[15,29],timer_ch0:58,timer_ch0_config:[12,58],timer_ch0_index:12,timer_ch0_irq_callback:58,timer_ch1_config:12,timer_ch1_index:12,timer_clk_div:58,timer_clk_src:58,timer_clos:12,timer_cnt_freerun:12,timer_cnt_mod:12,timer_cnt_preload:[12,58],timer_config:58,timer_control:12,timer_dev:12,timer_devic:12,timer_device_t:12,timer_event_comp0:[12,58],timer_event_comp1:[12,58],timer_event_comp2:[12,58],timer_event_typ:12,timer_event_unknown:12,timer_index_typ:12,timer_int:58,timer_max_index:12,timer_open:12,timer_pl_trig_comp0:[12,58],timer_pl_trig_comp1:12,timer_pl_trig_comp2:12,timer_pl_trig_non:12,timer_pl_trig_t:12,timer_user_cfg:58,timer_user_cfg_t:12,tk:1,tms:26,to:[1,3,6,21,30,43],togeth:1,tool:[21,22,27],tp:30,tp_wr_hdl:30,transceiv:14,transfer:[6,40,43],transfer_mod:[6,40,43],transfer_s:6,transmitt:13,trigger:46,ttl:[18,19,20,26,31,33],ttyacm0:27,ttyusb0:27,ttyusb1:[18,27],two:13,tx0:26,tx:[1,6,11,13,14],tx_complet:1,tx_complete_work:1,tx_dma:[9,11,13,14],tx_mtu_siz:30,tx_pend:1,tx_queue:1,txd0:20,txd:26,txt:[23,25],tyep:6,type:[0,1,4,11,19,20,21,26,27],typedef:[0,3,6,8,9,10,11,12,13,14],u16_t:[1,30],u32_t:1,u8_t:[1,30],ua:33,uac:17,uart0:[6,13,26,34,60],uart0_config:[13,34,60],uart0_index:13,uart0_rx:[34,60],uart0_tx:[34,60],uart1:6,uart1_config:13,uart1_index:13,uart5:2,uart5_irqn:2,uart5_mspinit:2,uart5_rx:2,uart5_tx:2,uart:[15,18,29,33,34,58],uart_clos:13,uart_control:13,uart_data_len_5:13,uart_data_len_6:13,uart_data_len_7:13,uart_data_len_8:[13,34,60],uart_databits_t:13,uart_dev:13,uart_devic:13,uart_device_t:13,uart_echo:60,uart_event_rto:[13,60],uart_event_rx_end:13,uart_event_rx_fifo:[13,34,60],uart_event_tx_end:13,uart_event_tx_fifo:13,uart_event_typ:13,uart_event_unknown:13,uart_handletypedef:2,uart_index_typ:13,uart_irq_callback:60,uart_it_typ:13,uart_max_index:13,uart_open:13,uart_par_even:13,uart_par_non:[13,34,60],uart_par_odd:13,uart_param_cfg_t:13,uart_parity_t:13,uart_read:13,uart_regist:[34,60],uart_rto_it:60,uart_rx_fifo_it:[34,60],uart_stop_on:[13,34,60],uart_stop_one_d_f:13,uart_stop_two:13,uart_stopbits_t:13,uart_writ:13,uartx_devic:13,ubuntu:[18,27],uint16_t:[0,3,6,8,9,10,11,12,13,14,56],uint32_t:[0,3,4,6,7,8,9,10,11,12,13,14,34,43,46,51,56,58,60],uint8_t:[1,3,6,7,8,9,10,11,12,13,14,16,30,34,48,56,60],uln2003:54,undirect:30,uniform:1,union:1,univers:[13,14],unknow:30,unsign:1,updat:[1,18],update_work:1,upload:18,usart:31,usb0:14,usb1:14,usb2:17,usb:[6,15,18,19,20,21,26,27,29,31,33,34,40],usb_clos:14,usb_control:14,usb_dc:17,usb_dc_devic:14,usb_dc_device_t:14,usb_dc_ep_cfg:14,usb_dc_ep_clear_stal:17,usb_dc_ep_clos:17,usb_dc_ep_is_stal:17,usb_dc_ep_open:17,usb_dc_ep_read:17,usb_dc_ep_set_stal:17,usb_dc_ep_state_t:14,usb_dc_ep_writ:17,usb_dc_event_callback:17,usb_dc_event_configur:14,usb_dc_event_connect:14,usb_dc_event_disconnect:14,usb_dc_event_ep0_in_notifi:14,usb_dc_event_ep0_out_notifi:14,usb_dc_event_ep_in_notifi:14,usb_dc_event_ep_out_notifi:14,usb_dc_event_error:14,usb_dc_event_reset:14,usb_dc_event_resum:14,usb_dc_event_setup_notifi:14,usb_dc_event_sof:14,usb_dc_event_suspend:14,usb_dc_event_typ:14,usb_dc_event_unknown:14,usb_dc_regist:17,usb_dc_set_address:17,usb_dm:40,usb_dp:40,usb_index:17,usb_index_typ:14,usb_open:14,usb_read:14,usb_stack:17,usb_video:40,usb_writ:14,usbd_endpoint_cfg:14,usbd_ep_clear_stal:17,usbd_ep_clos:17,usbd_ep_is_stal:17,usbd_ep_open:17,usbd_ep_read:17,usbd_ep_set_stal:17,usbd_ep_writ:17,usbd_set_address:17,use:1,used:1,user:[2,31],uses:1,using:1,usr:18,uuid:1,uvc:[17,40],uyvi:40,v10:21,v11:[21,27],v3:18,valu:[1,7],vbat:3,vdd33:26,vdd:[3,26],vendor:17,version:1,vi:18,video:35,view:[21,22,24],viewer:[22,24],volt:41,vref:[3,26,41],vtref:26,warn:1,we:1,welcom:20,wfi:33,wget:18,when:1,which:1,whitelist:1,whitout:[22,24],width:10,will:1,win:27,window:[1,18,30,33,34,40,41,43,45,46,48,51,53,54,56,58,60],windows_cdk:28,windows_eclips:28,winusb1:17,winusb2:17,winusb:[21,27],wireless:0,without:1,work:1,workspac:20,world:34,write:[0,30],write_data_poll_sem:30,www:17,x86_64:18,xshell:34,xtal_ck:10,xxx:[3,6,8,9,10,11,12,13,20,23],xxx_board:[4,7],xxx_close:0,xxx_config:2,xxx_control:0,xxx_devic:0,xxx_device_t:0,xxx_open:0,xxx_read:0,xxx_regist:0,xxx_write:0,xxxx_case:[23,25],yuv:40,zadig:[21,27],zigbe:29,zxvf:18},titles:["1. API \u6982\u8ff0","6. BLE","2. Board \u914d\u7f6e\u7cfb\u7edf","3.9. ADC \u8bbe\u5907","3.1. \u65f6\u949f\u6811","3.10. DAC \u8bbe\u5907","3.5. DMA \u8bbe\u5907","3.2. GPIO \u8bbe\u5907","3.6. I2C \u8bbe\u5907","3.7. I2S \u8bbe\u5907","3.4. PWM \u8bbe\u5907","3.8. SPI \u8bbe\u5907","3.11. TIMER \u8bbe\u5907","3.3. UART \u8bbe\u5907","3.12. USB \u8bbe\u5907","3. Peripheral","4. Shell","5. USB Stack","2.3. Linux OR WSL \u73af\u5883\u5f00\u53d1\u6307\u5357","2.1. Windows \u4e0b\u4f7f\u7528 CDK (\u7c7b MDK Keil)\u5f00\u53d1\u6307\u5357","2.2. Windows \u4e0b\u4f7f\u7528 Eclipse \u5f00\u53d1\u6307\u5357","3. BLDevCube \u70e7\u5f55\u5de5\u5177\u6307\u5357","\u4f7f\u7528 CDK + CK-Link \u7f16\u8bd1\u8c03\u8bd5","5. \u57fa\u4e8e CDK \u65b0\u5efa\u5de5\u7a0b\u6307\u5357","\u4f7f\u7528 CDK + Sipeed RV-Debugger Plus \u7f16\u8bd1\u8c03\u8bd5","4. \u57fa\u4e8e cmake \u6846\u67b6\u65b0\u5efa\u5de5\u7a0b\u6307\u5357","6. \u786c\u4ef6\u8fde\u63a5\u6307\u5357","1. \u5f00\u53d1\u524d\u7684\u51c6\u5907","2. \u5f00\u53d1\u73af\u5883\u642d\u5efa\u6307\u5357","BL MCU SDK \u5f00\u53d1\u6307\u5357","6. BLE \u5ba2\u6237\u7aef\u548c\u670d\u52a1\u7aef\u4e92\u8fde","5. BOOT2 IAP","2. Fatfs \u6587\u4ef6\u7cfb\u7edf\u8bfb\u5199","4. LowPower \u4f4e\u529f\u8017\u8bc4\u4f30","1. Shell \u547d\u4ee4\u884c\u8c03\u8bd5","3. USB Device \u5e94\u7528","3.5. AUDIO - \u9ea6\u514b\u98ce","3.1. CDC - \u865a\u62df\u4e32\u53e3","3.3. HID - \u952e\u76d8&\u9f20\u6807","3.2. MSC - U \u76d8","3.4. VIDEO - \u6444\u50cf\u5934","8.1. ADC - \u6309\u952e\u68c0\u6d4b\u7535\u538b","8. ADC \u793a\u4f8b","5.1. DMA - RAM\u95f4\u6570\u636e\u642c\u8fd0","5. DMA \u793a\u4f8b","1.1. GPIO \u8f93\u51fa - \u6d41\u6c34\u706f","1.2. GPIO \u4e2d\u65ad - \u6309\u952e\u68c0\u6d4b","1. GPIO \u793a\u4f8b","7.1. I2C - AT24CXX \u8bfb\u5199","7. I2C \u793a\u4f8b","4. MTIMER \u793a\u4f8b","4.1. MTIMER - \u7cfb\u7edf\u5b9a\u65f6\u5668","3. PWM \u793a\u4f8b","3.1. PWM - \u547c\u5438\u706f","3.2. PWM - \u9a71\u52a8\u6b65\u8fdb\u7535\u673a","6. SPI \u793a\u4f8b","6.1. SPI - TFT LCD \u663e\u793a","9. TIMER \u793a\u4f8b","9.1. TIMER - \u5b9a\u65f6\u5668\u4e2d\u65ad","2. UART \u793a\u4f8b","2.1. UART - \u6570\u636e\u81ea\u6536\u53d1"],titleterms:{adc:[3,41,42],adc_regist:3,api:0,at24cxx:48,audio:[17,36],bl706_avb:26,bl706_iot:26,bl:29,bl_mcu_sdk:[18,19,20],bldevcub:21,ble:[1,30],ble_controller_init:1,blxxx_config:2,board:2,boot2:31,bouffalo:21,bt_conn_auth_cancel:1,bt_conn_auth_cb_regist:1,bt_conn_auth_passkey_confirm:1,bt_conn_auth_passkey_entri:1,bt_conn_auth_pincode_entri:1,bt_conn_cb_regist:1,bt_conn_create_auto_l:1,bt_conn_create_auto_stop:1,bt_conn_create_l:1,bt_conn_create_slave_l:1,bt_conn_disconnect:1,bt_conn_enc_key_s:1,bt_conn_get_info:1,bt_conn_get_remote_dev_info:1,bt_conn_get_secur:1,bt_conn_le_param_upd:1,bt_conn_set_secur:1,bt_enabl:1,bt_get_local_address:1,bt_le_adv_start:1,bt_le_adv_stop:1,bt_le_adv_update_data:1,bt_le_read_rssi:1,bt_le_scan_start:1,bt_le_scan_stop:1,bt_le_set_auto_conn:1,bt_le_set_chan_map:1,bt_le_whitelist_add:1,bt_le_whitelist_clear:1,bt_le_whitelist_rem:1,bt_set_bond:1,bt_set_tx_pwr:1,bt_unpair:1,cdc:[17,37],cdk:[19,22,23,24],ck:[22,26],client:30,clock_config:2,cmake:[18,25],cube:21,dac:5,debugg:[24,26],dev:21,devic:[17,35],device_clos:[0,3,6,9,10,11,12,13,14],device_control:[0,3,6,9,10,11,12,13,14],device_find:0,device_open:[0,3,6,8,9,10,11,12,13,14],device_read:[0,3,9,11,13,14],device_regist:0,device_set_callback:[0,3,6,10,11,12,13,14],device_unregist:0,device_writ:[0,9,11,13,14],dma:[6,43,44],dma_channel_check_busi:6,dma_channel_start:6,dma_channel_stop:6,dma_channel_upd:6,dma_regist:6,dma_reload:6,eclips:20,exampl:[23,25],fatf:32,gcc:25,gpio:[7,45,46,47],gpio_attach_irq:7,gpio_irq_en:7,gpio_read:7,gpio_set_mod:7,gpio_toggl:7,gpio_writ:7,hci_driver_init:1,hello:[18,19,20,22,24],hid:[17,38],i2c:[8,48,49],i2c_regist:8,i2c_transf:8,i2s:9,i2s_regist:9,iap:31,jlink:21,keil:19,lab:21,lcd:56,ld:25,link:[22,26],linux:[18,27],lowpow:33,make:18,mcu:29,mdk:19,msc:[17,39],mtimer:[50,51],openocd:21,option:25,or:18,peripher:15,peripheral_clock_get:4,peripheral_config:2,pinmux_config:2,plu:[24,26],port:17,pwm:[10,52,53,54],pwm_channel_dutycycle_upd:10,pwm_channel_freq_upd:10,pwm_channel_start:10,pwm_channel_stop:10,pwm_it_pulse_count_upd:10,pwm_regist:10,ram:43,risc:18,rv:[24,26],sdk:29,server:30,shell:[16,34],shell_cmd_export:16,shell_cmd_export_alia:16,shell_handl:16,shell_init:16,sipe:[24,26],spi:[11,55,56],spi_rec:11,spi_regist:11,spi_transmit:11,spi_transmit_rec:11,stack:17,stm32cubemx:2,system_clock_get:4,table1:[9,12,14],table2:14,tft:56,timer:[12,57,58],timer_regist:12,uart:[13,21,59,60],uart_regist:13,usb:[14,17,35],usb_dc_ep_clear_stal:14,usb_dc_ep_clos:14,usb_dc_ep_is_stal:14,usb_dc_ep_open:14,usb_dc_ep_read:14,usb_dc_ep_set_stal:14,usb_dc_ep_writ:14,usb_dc_init:17,usb_dc_receive_to_ringbuff:14,usb_dc_regist:14,usb_dc_send_from_ringbuff:14,usb_dc_set_address:14,usb_device_is_configur:17,usbd_class_add_interfac:17,usbd_desc_regist:17,usbd_interface_add_endpoint:17,usbd_msosv1_desc_regist:17,video:[17,40],window:[19,20,27],world:[18,19,20,22,24],wsl:18,xshell:33}})
      \ No newline at end of file
      diff --git a/docs/development_guide/source/api_reference/api_overview.rst b/docs/development_guide/source/api_reference/api_overview.rst
      index fca3efaa..e5c725a2 100644
      --- a/docs/development_guide/source/api_reference/api_overview.rst
      +++ b/docs/development_guide/source/api_reference/api_overview.rst
      @@ -107,26 +107,16 @@ API 概述
       **device_register**
       ^^^^^^^^^^^^^^^^^^^^
       
      -``device_register`` 用于设备的注册,将设备信息注册到链表当中。
      +``device_register`` 用于设备标准驱动的注册,并将设备信息注册到链表当中。
       
       .. code-block:: C
       
      -    int device_register(struct device *dev, const char *name, uint16_t flag);
      +    int device_register(struct device *dev, const char *name);
       
       - dev 设备句柄。
       - name 设备名称。
      -- flag 设备的读写属性
       - return 返回错误码,0 表示注册成功,其他表示错误。
       
      -``flag`` 可以写入以下参数,表示:**只读**、**只写**、**可读可写**。
      -
      -.. code-block:: C
      -
      -    #define DEVICE_OFLAG_RDONLY 0x1000 /* 以只读方式打开设备 */
      -    #define DEVICE_OFLAG_WRONLY 0x2000 /* 以只写方式打开设备 */
      -    #define DEVICE_OFLAG_RDWR   0x3000 /* 以读写方式打开设备 */
      -
      -
       **device_unregister**
       ^^^^^^^^^^^^^^^^^^^^^^^
       
      diff --git a/docs/development_guide/source/api_reference/peripheral/api_adc.rst b/docs/development_guide/source/api_reference/peripheral/api_adc.rst
      index 39c00768..0771fd75 100644
      --- a/docs/development_guide/source/api_reference/peripheral/api_adc.rst
      +++ b/docs/development_guide/source/api_reference/peripheral/api_adc.rst
      @@ -79,17 +79,16 @@ ADC 设备接口
       ADC 设备接口全部遵循标准设备驱动管理层提供的接口。
       
       
      -**ADC_register**
      +**adc_register**
       ^^^^^^^^^^^^^^^^^^^^^^^^
       
       ``adc_register`` 用来注册 ADC 设备标准驱动接口,在注册之前需要打开对应 ADC 设备的宏定义。例如定义宏 ``BSP_USING_ADC0`` 方可使用 ``ADC0`` 设备,注册完成以后才可以使用其他接口,如果没有定义宏,则无法使用 ``ADC0`` 设备。
       
       .. code-block:: C
       
      -    int ADC_register(enum ADC_index_type index, const char *name, uint16_t flag);
      +    int adc_register(enum ADC_index_type index, const char *name);
       
       - index 要注册的设备索引
      -- name 为注册的设备命名
       - flag 默认可读可写属性
       
       ``index`` 用来选择 ADC 设备配置,一个 index 对应一个 ADC 设备配置,比如 ``ADC0_INDEX`` 对应 ``ADC0_CONFIG`` 配置,``index`` 有如下可选类型
      diff --git a/docs/development_guide/source/api_reference/peripheral/api_dma.rst b/docs/development_guide/source/api_reference/peripheral/api_dma.rst
      index 9ad4d9d2..6fb7cac4 100644
      --- a/docs/development_guide/source/api_reference/peripheral/api_dma.rst
      +++ b/docs/development_guide/source/api_reference/peripheral/api_dma.rst
      @@ -217,11 +217,10 @@ DMA 设备接口全部遵循标准设备驱动管理层提供的接口。并且
       
       .. code-block:: C
       
      -    int dma_register(enum dma_index_type index, const char *name, uint16_t flag);
      +    int dma_register(enum dma_index_type index, const char *name);
       
       - index 要注册的设备索引
       - name 为注册的设备命名
      -- flag 默认可读可写属性
       
       ``index`` 用来选择 DMA 设备某个通道的配置,一个 index 对应一个 DMA 设备的一个通道配置,比如 ``DMA_CH0_INDEX`` 对应 DMA 通道0 配置,``index`` 有如下可选类型
       
      diff --git a/docs/development_guide/source/api_reference/peripheral/api_i2c.rst b/docs/development_guide/source/api_reference/peripheral/api_i2c.rst
      index 21af5bdc..61a210e8 100644
      --- a/docs/development_guide/source/api_reference/peripheral/api_i2c.rst
      +++ b/docs/development_guide/source/api_reference/peripheral/api_i2c.rst
      @@ -75,11 +75,10 @@ I2C 设备标准接口当前仅使用 ``device_open`` , 并提供标准的数据
       
       .. code-block:: C
       
      -    int i2c_register(enum i2c_index_type index, const char *name, uint16_t flag);
      +    int i2c_register(enum i2c_index_type index, const char *name);
       
       - index 要注册的设备索引
       - name 为注册的设备命名
      -- flag 默认可读可写属性
       
       ``index`` 用来选择 I2C 设备,一个 index 对应一个 I2C 设备配置,比如 ``I2C0_INDEX`` 对应 ``I2C0_CONFIG`` 配置,``index`` 有如下可选类型
       
      diff --git a/docs/development_guide/source/api_reference/peripheral/api_i2s.rst b/docs/development_guide/source/api_reference/peripheral/api_i2s.rst
      index adef075e..c48d1252 100644
      --- a/docs/development_guide/source/api_reference/peripheral/api_i2s.rst
      +++ b/docs/development_guide/source/api_reference/peripheral/api_i2s.rst
      @@ -144,11 +144,10 @@ I2S 设备接口全部遵循标准设备驱动管理层提供的接口。
       
       .. code-block:: C
       
      -    int i2s_register(enum i2s_index_type index, const char *name, uint16_t flag);
      +    int i2s_register(enum i2s_index_type index, const char *name);
       
       - index 要注册的设备索引
       - name 为注册的设备命名
      -- flag 默认可读可写属性
       
       ``index`` 用来选择 I2S 设备配置,一个 index 对应一个 I2S 设备配置,比如 ``I2S0_INDEX`` 对应 ``I2S0_CONFIG`` 配置。index 有如下可选类型
       
      diff --git a/docs/development_guide/source/api_reference/peripheral/api_pwm.rst b/docs/development_guide/source/api_reference/peripheral/api_pwm.rst
      index 5087745d..11b771d3 100644
      --- a/docs/development_guide/source/api_reference/peripheral/api_pwm.rst
      +++ b/docs/development_guide/source/api_reference/peripheral/api_pwm.rst
      @@ -94,11 +94,10 @@ PWM 设备接口全部遵循标准设备驱动管理层提供的接口。并且
       
       .. code-block:: C
       
      -    int pwm_register(enum pwm_index_type index, const char *name, uint16_t flag);
      +    int pwm_register(enum pwm_index_type index, const char *name);
       
       - index 要注册的设备索引
       - name 为注册的设备命名
      -- flag 默认可读可写属性
       
       ``index`` 用来选择 PWM 设备某个通道的配置,一个 index 对应一个 PWM 设备的一个通道配置,比如 ``PWM_CH0_INDEX`` 对应 PWM 通道0 配置,``index`` 有如下可选类型
       
      diff --git a/docs/development_guide/source/api_reference/peripheral/api_spi.rst b/docs/development_guide/source/api_reference/peripheral/api_spi.rst
      index 35561551..76bee5c2 100644
      --- a/docs/development_guide/source/api_reference/peripheral/api_spi.rst
      +++ b/docs/development_guide/source/api_reference/peripheral/api_spi.rst
      @@ -137,11 +137,10 @@ SPI 设备接口全部遵循标准设备驱动管理层提供的接口。
       
       .. code-block:: C
       
      -    int spi_register(enum spi_index_type index, const char *name, uint16_t flag);
      +    int spi_register(enum spi_index_type index, const char *name);
       
       - index 要注册的设备索引
       - name 为注册的设备命名
      -- flag 默认可读可写属性
       
       ``index`` 用来选择 SPI 设备配置,一个 index 对应一个 SPI 设备配置,比如 ``SPI0_INDEX`` 对应 ``SPI0_CONFIG`` 配置,``index`` 有如下可选类型
       
      diff --git a/docs/development_guide/source/api_reference/peripheral/api_timer.rst b/docs/development_guide/source/api_reference/peripheral/api_timer.rst
      index 327a82df..23228745 100644
      --- a/docs/development_guide/source/api_reference/peripheral/api_timer.rst
      +++ b/docs/development_guide/source/api_reference/peripheral/api_timer.rst
      @@ -124,11 +124,10 @@ TIMER 设备接口全部遵循标准设备驱动管理层提供的接口。
       
       .. code-block:: C
       
      -    int timer_register(enum timer_index_type index, const char *name, uint16_t flag);
      +    int timer_register(enum timer_index_type index, const char *name);
       
       - index 要注册的设备索引
       - name 为注册的设备命名
      -- flag 默认可读可写属性
       
       ``index`` 用来选择 TIMER 设备配置,一个 index 对应一个 TIMER 设备配置,比如 ``TIMER_CH0_INDEX`` 对应 ``TIMER_CH0_CONFIG`` 配置,``index`` 有如下可选类型
       
      diff --git a/docs/development_guide/source/api_reference/peripheral/api_uart.rst b/docs/development_guide/source/api_reference/peripheral/api_uart.rst
      index 33b0aebe..dd49087a 100644
      --- a/docs/development_guide/source/api_reference/peripheral/api_uart.rst
      +++ b/docs/development_guide/source/api_reference/peripheral/api_uart.rst
      @@ -125,11 +125,10 @@ UART 设备接口全部遵循标准设备驱动管理层提供的接口。
       
       .. code-block:: C
       
      -    int uart_register(enum uart_index_type index, const char *name, uint16_t flag);
      +    int uart_register(enum uart_index_type index, const char *name);
       
       - index 要注册的设备索引
       - name 为注册的设备命名
      -- flag 默认可读可写属性
       
       ``index`` 用来选择 UART 设备配置,一个 index 对应一个 UART 设备配置,比如 ``UART0_INDEX`` 对应 ``UART0_CONFIG`` 配置,``index`` 有如下可选类型
       
      diff --git a/docs/development_guide/source/api_reference/peripheral/api_usb.rst b/docs/development_guide/source/api_reference/peripheral/api_usb.rst
      index 1a7c8dea..e9a19bd0 100644
      --- a/docs/development_guide/source/api_reference/peripheral/api_usb.rst
      +++ b/docs/development_guide/source/api_reference/peripheral/api_usb.rst
      @@ -81,11 +81,10 @@ USB 设备接口遵循标准设备驱动管理层提供的接口。
       
       .. code-block:: C
       
      -    int usb_dc_register(enum usb_index_type index, const char *name, uint16_t flag);
      +    int usb_dc_register(enum usb_index_type index, const char *name);
       
       - index     要注册的设备索引
       - name      为注册的设备命名
      -- flag      默认可读可写属性
       - return    错误码,0表示成功,其他表示失败
       
       **device_open**
      diff --git a/docs/development_guide/source/api_reference/usb stack/api_usb_stack.rst b/docs/development_guide/source/api_reference/usb stack/api_usb_stack.rst
      index dafd402b..8f631733 100644
      --- a/docs/development_guide/source/api_reference/usb stack/api_usb_stack.rst	
      +++ b/docs/development_guide/source/api_reference/usb stack/api_usb_stack.rst	
      @@ -42,7 +42,7 @@ USB DEVICE 控制器接口
       
           struct device *usb_dc_init(void)
           {
      -        usb_dc_register(USB_INDEX, "usb", DEVICE_OFLAG_RDWR);
      +        usb_dc_register(USB_INDEX, "usb");
               usb = device_find("usb");
               device_set_callback(usb, usb_dc_event_callback);
               device_open(usb, 0);
      diff --git a/docs/development_guide/source/samples/advance samples/shell_demo.rst b/docs/development_guide/source/samples/advance samples/shell_demo.rst
      index 8e19924e..e433af2d 100644
      --- a/docs/development_guide/source/samples/advance samples/shell_demo.rst	
      +++ b/docs/development_guide/source/samples/advance samples/shell_demo.rst	
      @@ -77,7 +77,7 @@ shell 移植到串口
       .. code-block:: C
           :linenos:
       
      -        uart_register(board_get_debug_uart_index(), "debug_log", DEVICE_OFLAG_RDWR);
      +        uart_register(board_get_debug_uart_index(), "debug_log");
               struct device *uart = device_find("debug_log");
       
               if (uart)
      diff --git a/docs/development_guide/source/samples/basic samples/dma/dma_m2m_demo.rst b/docs/development_guide/source/samples/basic samples/dma/dma_m2m_demo.rst
      index 9be58654..79fc664f 100644
      --- a/docs/development_guide/source/samples/basic samples/dma/dma_m2m_demo.rst	
      +++ b/docs/development_guide/source/samples/basic samples/dma/dma_m2m_demo.rst	
      @@ -38,7 +38,7 @@ DMA - RAM间数据搬运
       .. code-block:: C
           :linenos:
       
      -    dma_register(DMA0_CH0_INDEX, "DMA", DEVICE_OFLAG_RDWR);
      +    dma_register(DMA0_CH0_INDEX, "DMA");
       
           struct device *dma = device_find("DMA");
       
      diff --git a/docs/development_guide/source/samples/basic samples/i2c/i2c_eeprom_demo.rst b/docs/development_guide/source/samples/basic samples/i2c/i2c_eeprom_demo.rst
      index 8df3042a..490be4d0 100644
      --- a/docs/development_guide/source/samples/basic samples/i2c/i2c_eeprom_demo.rst	
      +++ b/docs/development_guide/source/samples/basic samples/i2c/i2c_eeprom_demo.rst	
      @@ -33,7 +33,7 @@ I2C - AT24CXX 读写
           #define CONFIG_GPIO11_FUNC GPIO_FUN_I2C
           #define CONFIG_GPIO16_FUNC GPIO_FUN_I2C
       
      --  配置 ``I2C`` 设备复用引脚,见 ``bsp/board/bl706_iot/peripheral_config.h``
      +-  配置 ``I2C`` 设备复用引脚,见 ``bsp/board/bl706_iot/pinmux_config.h``
       
       .. code-block:: C
           :linenos:
      @@ -56,7 +56,7 @@ I2C - AT24CXX 读写
       .. code-block:: C
           :linenos:
       
      -    i2c_register(I2C0_INDEX, "i2c", DEVICE_OFLAG_RDWR);
      +    i2c_register(I2C0_INDEX, "i2c");
           struct device *i2c0 = device_find("i2c");
       
           if (i2c0)
      diff --git a/docs/development_guide/source/samples/basic samples/pwm/pwm_breath_demo.rst b/docs/development_guide/source/samples/basic samples/pwm/pwm_breath_demo.rst
      index 6ad05a0c..475b5778 100644
      --- a/docs/development_guide/source/samples/basic samples/pwm/pwm_breath_demo.rst	
      +++ b/docs/development_guide/source/samples/basic samples/pwm/pwm_breath_demo.rst	
      @@ -59,7 +59,7 @@ PWM - 呼吸灯
       .. code-block:: C
           :linenos:
       
      -    pwm_register(PWM_CH2_INDEX, "led_breath", DEVICE_OFLAG_RDWR);
      +    pwm_register(PWM_CH2_INDEX, "led_breath");
       
           struct device *led_breath = device_find("led_breath");
       
      diff --git a/docs/development_guide/source/samples/basic samples/pwm/pwm_step_motor.rst b/docs/development_guide/source/samples/basic samples/pwm/pwm_step_motor.rst
      index d63e16bc..c3c11e1b 100644
      --- a/docs/development_guide/source/samples/basic samples/pwm/pwm_step_motor.rst	
      +++ b/docs/development_guide/source/samples/basic samples/pwm/pwm_step_motor.rst	
      @@ -151,10 +151,10 @@ PWM - 驱动步进电机
       .. code-block:: C
           :linenos:
       
      -    pwm_register(PWM_CH0_INDEX, "motor_ch0", DEVICE_OFLAG_RDWR);
      -    pwm_register(PWM_CH1_INDEX, "motor_ch1", DEVICE_OFLAG_RDWR);
      -    pwm_register(PWM_CH2_INDEX, "motor_ch2", DEVICE_OFLAG_RDWR);
      -    pwm_register(PWM_CH3_INDEX, "motor_ch3", DEVICE_OFLAG_RDWR);
      +    pwm_register(PWM_CH0_INDEX, "motor_ch0");
      +    pwm_register(PWM_CH1_INDEX, "motor_ch1");
      +    pwm_register(PWM_CH2_INDEX, "motor_ch2");
      +    pwm_register(PWM_CH3_INDEX, "motor_ch3");
       
           motor_ch0 = device_find("motor_ch0");
           motor_ch1 = device_find("motor_ch1");
      diff --git a/docs/development_guide/source/samples/basic samples/spi/spi_lcd_demo.rst b/docs/development_guide/source/samples/basic samples/spi/spi_lcd_demo.rst
      index 3552207f..449e90e2 100644
      --- a/docs/development_guide/source/samples/basic samples/spi/spi_lcd_demo.rst	
      +++ b/docs/development_guide/source/samples/basic samples/spi/spi_lcd_demo.rst	
      @@ -80,7 +80,7 @@ SPI - TFT LCD 显示
               device_close(spi0);
           }
           else{
      -        spi_register(SPI0_INDEX,"spi0",DEVICE_OFLAG_RDWR);
      +        spi_register(SPI0_INDEX,"spi0");
               spi0 = device_find("spi0");
           }
           if(spi0)
      diff --git a/docs/development_guide/source/samples/basic samples/uart/uart_loopback_demo.rst b/docs/development_guide/source/samples/basic samples/uart/uart_loopback_demo.rst
      index dc31158b..806af4e1 100644
      --- a/docs/development_guide/source/samples/basic samples/uart/uart_loopback_demo.rst	
      +++ b/docs/development_guide/source/samples/basic samples/uart/uart_loopback_demo.rst	
      @@ -67,7 +67,7 @@ UART - 数据自收发
       .. code-block:: C
           :linenos:
       
      -        uart_register(board_get_debug_uart_index(), "debug_log", DEVICE_OFLAG_RDWR);
      +        uart_register(board_get_debug_uart_index(), "debug_log");
               struct device *uart = device_find("debug_log");
       
               if (uart)