Home
last modified time | relevance | path

Searched full:driver (Results 1 – 25 of 222) sorted by relevance

123456789

/nrf52832-nimble/nordic/nrfx/drivers/include/
H A Dnrfx_twis.h44 * @defgroup nrfx_twis TWIS driver
47 * @brief Two Wire Slave interface (TWIS) peripheral driver.
51 * @brief TWIS driver instance data structure.
56 uint8_t drv_inst_idx; ///< Driver instance index.
76 * @brief Macro for creating a TWIS driver instance.
121 * @brief TWIS driver event structure.
157 * @brief Generate default configuration for TWIS driver instance.
171 * @brief Function for initializing the TWIS driver instance.
173 * Function initializes and enables TWIS driver.
174 * @attention After driver initialization enable it by @ref nrfx_twis_enable.
[all …]
H A Dnrfx_timer.h43 * @defgroup nrfx_timer Timer driver
46 * @brief TIMER peripheral driver.
50 * @brief Timer driver instance data structure.
55 uint8_t instance_id; ///< Driver instance index.
60 * @brief Macro for creating a timer driver instance.
89 * @brief Timer driver instance configuration structure.
101 * @brief Timer driver instance default configuration.
113 * @brief Timer driver event handler type.
127 * @param[in] p_instance Pointer to the driver instance structure.
142 * @param[in] p_instance Pointer to the driver instance structure.
[all …]
H A Dnrfx_rtc.h43 * @defgroup nrfx_rtc RTC driver
46 * @brief Real Timer Counter (RTC) peripheral driver.
52 /**@brief RTC driver interrupt types. */
63 /**@brief RTC driver instance structure. */
72 /**@brief Macro for creating RTC driver instance.*/
94 /**@brief RTC driver instance configuration structure. */
113 /**@brief RTC driver instance handler type. */
116 /**@brief Function for initializing the RTC driver instance.
120 * @param[in] p_instance Pointer to the driver instance structure.
132 /**@brief Function for uninitializing the RTC driver instance.
[all …]
H A Dnrfx_twim.h43 * @defgroup nrfx_twim TWIM driver
46 * @brief TWIM peripheral driver.
50 * @brief Structure for the TWI master driver instance.
55 uint8_t drv_inst_idx; ///< Driver instance index.
59 * @brief Macro for creating a TWI master driver instance.
84 * @brief Structure for the TWI master driver instance configuration.
96 * @brief TWI master driver instance default configuration.
115 * @brief TWI master driver event types.
125 * @brief TWI master driver transfer types.
205 * @brief Function for initializing the TWI driver instance.
[all …]
H A Dnrfx_twi.h43 * @defgroup nrfx_twi TWI driver
46 * @brief TWI peripheral driver.
50 * @brief Structure for the TWI master driver instance.
55 uint8_t drv_inst_idx; ///< Driver instance index.
59 * @brief Macro for creating a TWI master driver instance.
78 * @brief Structure for the TWI master driver instance configuration.
90 * @brief TWI master driver instance default configuration.
105 * @brief TWI master driver event types.
115 * @brief TWI master driver transfer types.
195 * @brief Function for initializing the TWI driver instance.
[all …]
H A Dnrfx_uart.h43 * @defgroup nrfx_uart UART driver
46 * @brief UART peripheral driver.
50 * @brief UART driver instance data structure.
55 uint8_t drv_inst_idx; ///< Driver instance index.
66 * @brief Macro for creating a UART driver instance.
75 * @brief Types of UART driver events.
158 * @brief Function for initializing the UART driver.
162 * @param[in] p_instance Pointer to the driver instance structure.
164 * @param[in] event_handler Event handler provided by the user. If not provided driver works in
168 * @retval NRFX_ERROR_INVALID_STATE If driver is already initialized.
[all …]
H A Dnrfx_uarte.h43 * @defgroup nrfx_uarte UARTE driver
46 * @brief UARTE peripheral driver.
50 * @brief Structure for the UARTE driver instance.
55 uint8_t drv_inst_idx; ///< Driver instance index.
75 * @brief Macro for creating a UARTE driver instance.
84 * @brief Types of UARTE driver events.
167 * @brief Function for initializing the UARTE driver.
171 * @param[in] p_instance Pointer to the driver instance structure.
173 * @param[in] event_handler Event handler provided by the user. If not provided driver works in
177 * @retval NRFX_ERROR_INVALID_STATE If driver is already initialized.
[all …]
H A Dnrfx_spi.h43 * @defgroup nrfx_spi SPI driver
46 * @brief SPI peripheral driver.
50 * @brief SPI master driver instance data structure.
55 uint8_t drv_inst_idx; ///< Driver instance index.
72 * @brief Macro for creating an SPI master driver instance.
88 * @brief SPI master driver instance configuration structure.
101 * if this signal is not needed. The driver
173 * @brief SPI master driver event types, passed to the handler routine provided
188 * @brief SPI master driver event handler type.
194 * @brief Function for initializing the SPI master driver instance.
[all …]
H A Dnrfx_pwm.h43 * @defgroup nrfx_pwm PWM driver
46 * @brief Pulse Width Modulation (PWM) peripheral driver.
50 * @brief PWM driver instance data structure.
55 uint8_t drv_inst_idx; ///< Driver instance index.
59 * @brief Macro for creating a PWM driver instance.
97 * @brief PWM driver configuration structure.
113 * @brief PWM driver default configuration.
180 * @brief PWM driver event type.
193 * @brief PWM driver event handler type.
199 * @brief Function for initializing the PWM driver.
[all …]
H A Dnrfx_lpcomp.h43 * @defgroup nrfx_lpcomp LPCOMP driver
46 * @brief Low Power Comparator (LPCOMP) peripheral driver.
63 /** @brief LPCOMP driver default configuration including the LPCOMP HAL configuration. */
84 * @brief Function for initializing the LPCOMP driver.
86 …* This function initializes the LPCOMP driver, but does not enable the peripheral or any interrupt…
87 * To start the driver, call the function nrfx_lpcomp_enable() after initialization.
94 * @retval NRFX_ERROR_INVALID_STATE If the driver has already been initialized.
103 * @brief Function for uninitializing the LCOMP driver.
105 * This function uninitializes the LPCOMP driver. The LPCOMP peripheral and
107 * initialize the driver again by calling nrfx_lpcomp_init() if you want to use it.
[all …]
H A Dnrfx_spim.h43 * @defgroup nrfx_spim SPIM driver
46 * @brief SPIM peripheral driver.
50 * @brief SPIM master driver instance data structure.
55 uint8_t drv_inst_idx; ///< Driver instance index.
75 * @brief Macro for creating an SPIM master driver instance.
91 * @brief SPIM master driver instance configuration structure.
209 * @brief SPIM master driver event types, passed to the handler routine provided
224 * @brief SPIM master driver event handler type.
230 * @brief Function for initializing the SPI master driver instance.
234 * @param[in] p_instance Pointer to the driver instance structure.
[all …]
H A Dnrfx_adc.h43 * @defgroup nrfx_adc ADC driver
46 * @brief Analog-to-Digital Converter (ADC) peripheral driver.
50 * @brief Driver event types.
59 * @brief Analog-to-digital converter driver DONE event.
68 * @brief Analog-to-digital converter driver SAMPLE event.
76 * @brief Analog-to-digital converter driver event.
107 * This structure is defined by the user and used by the driver. Therefore, it should
142 * If a valid event handler is provided, the driver is initialized in non-blocking mode.
143 * If event_handler is NULL, the driver works in blocking mode.
149 * @retval NRFX_ERROR_INVALID_STATE If the driver is already initialized.
[all …]
H A Dnrfx_spis.h44 * @defgroup nrfx_spis SPI slave driver
47 * @brief SPI Slave peripheral driver.
50 /** @brief SPI slave driver instance data structure. */
54 uint8_t drv_inst_idx; //!< Driver instance index.
73 /** @brief Macro for creating an SPI slave driver instance. */
92 /** @brief SPI slave driver event types. */
100 /** @brief SPI slave driver event structure. */
146 * @brief SPI slave driver event handler type.
157 * @brief Function for initializing the SPI slave driver instance.
160 * initializes the GPIOTE driver as well, and uses one of GPIOTE channels
[all …]
H A Dnrfx_qspi.h43 * @defgroup nrfx_qspi QSPI driver
46 * @brief Quad Serial Peripheral Interface (QSPI) peripheral driver.
50 * @brief QSPI driver instance configuration structure.
104 * @brief QSPI master driver event types, passed to the handler routine provided
113 * @brief QSPI driver event handler type.
118 * @brief Function for initializing the QSPI driver instance.
139 * @retval NRFX_ERROR_INVALID_STATE If the driver was already initialized.
147 * @brief Function for uninitializing the QSPI driver instance.
167 * @retval NRFX_ERROR_BUSY If the driver currently handles another operation.
194 * @retval NRFX_ERROR_BUSY If the driver currently handles other operation.
[all …]
H A Dnrfx_nfct.h43 * @defgroup nrfx_nfct NFCT driver
46 * @brief Near Field Communication Tag (NFCT) peripheral driver.
78 * @brief NFCT driver event types, passed to the upper-layer callback function
103 * @brief NFCT driver parameter types.
122 * @brief NFCT driver parameter descriptor.
136 * @brief NFCT driver RX/TX buffer descriptor.
170 * @brief NFCT driver event.
184 * @brief Callback descriptor to pass events from the NFCT driver to the upper layer.
191 * @brief NFCT driver configuration structure.
200 * @brief Function for initializing the NFCT driver.
[all …]
H A Dnrfx_comp.h43 * @defgroup nrfx_comp COMP driver
46 * @brief Comparator (COMP) peripheral driver.
106 /** @brief COMP driver default configuration including the COMP HAL configuration. */
133 * @brief Function for initializing the COMP driver.
135 * This function initializes the COMP driver, but does not enable the peripheral or any interrupts.
136 * To start the driver, call the function @ref nrfx_comp_start() after initialization.
143 * @retval NRFX_ERROR_INVALID_STATE If the driver has already been initialized.
153 * @brief Function for uninitializing the COMP driver.
155 * This function uninitializes the COMP driver. The COMP peripheral and
157 * initialize the driver again by calling nrfx_comp_init() if you want to use it.
[all …]
H A Dnrfx_i2s.h43 * @defgroup nrfx_i2s I2S driver
46 * @brief Inter-IC Sound (I2S) peripheral driver.
57 /** @brief I2S driver configuration structure. */
82 /** @brief I2S driver buffers structure. */
90 * @brief I2S driver default configuration.
118 * @brief I2S driver data handler type.
121 * of the driver. The driver will call this function when it finishes using
131 * passed previously to the driver that will no longer
159 * @brief Function for initializing the I2S driver.
165 * @retval NRFX_ERROR_INVALID_STATE If the driver was already initialized.
[all …]
H A Dnrfx_saadc.h43 * @defgroup nrfx_saadc SAADC driver
46 * @brief Successive Approximation Analog-to-Digital Converter (SAADC) peripheral driver.
108 * @brief Analog-to-digital converter driver configuration structure.
119 * @brief Driver event types.
129 * @brief Analog-to-digital converter driver done event data.
138 * @brief Analog-to-digital converter driver limit event data.
147 * @brief Analog-to-digital converter driver event structure.
176 * @retval NRFX_ERROR_INVALID_STATE If the driver is already initialized.
237 * @retval NRFX_ERROR_BUSY If the ADC driver is busy.
249 * ongoing, calling this function will result in queuing the given buffer. The driver will start
[all …]
H A Dnrfx_usbd.h43 * @defgroup nrfx_usbd USBD driver
46 * @brief Universal Serial Bus Device (USBD) peripheral driver.
101 * Endpoint identifier used in the driver.
128 * @brief Events generated by the driver.
130 * Enumeration of possible events that may be generated by the driver.
170 * Any other transfer can be aborted by USB reset or driver stopping.
214 uint32_t addr; //!< Numeric value used internally by the driver.
226 nrfx_usbd_data_ptr_t p_data; //!< Union with available data pointers used by the driver.
248 nrfx_usbd_data_ptr_t p_data; //!< Union with available data pointers used by the driver.
381 * @brief Driver initialization.
[all …]
/nrf52832-nimble/nordic/nrfx/
H A DCHANGELOG.md22 - Added functions for disabling and re-enabling interrupts in the SWI driver.
23 - Added possibility to completely remove interrupt handling from the WDT driver.
30 - Corrected the way of disabling interrupts in the NFCT driver when moving the peripheral to the di…
33 - Fixed handling of long custom instruction responses in the QSPI driver.
43 - Added HAL and driver for NFCT.
44 - Added driver for USBD.
57 - Added support for using the QDEC driver without LED.
65 - Fixed a double buffering bug that occurred in the UARTE driver after the RX abort.
66 - Fixed the TXRX transfers in the TWIM driver. They can now be started after transfers that are not…
70 - Implemented workaround for nRF52832 and nRF52840 anomaly 194 in the I2S driver.
[all …]
/nrf52832-nimble/rt-thread/components/drivers/usb/usbhost/core/
H A Ddriver.c18 * This function will initilize the usb class driver related data structure,
31 * This function will register an usb class driver to the class driver manager.
33 * @param drv the pointer of the usb class driver.
42 /* insert class driver into driver list */ in rt_usbh_class_driver_register()
49 * This function will removes a previously registed usb class driver.
51 * @param drv the pointer of the usb class driver structure.
59 /* remove class driver from driver list */ in rt_usbh_class_driver_unregister()
66 * This function will run an usb class driver.
68 * @param drv the pointer of usb class driver.
84 * This function will stop a usb class driver.
[all …]
H A Dusbhost.c20 * This function will initialize the usb host stack, all the usb class driver and
21 * host controller driver are also be initialized here.
40 /* initialize class driver */ in rt_usb_host_init()
44 /* register mass storage class driver */ in rt_usb_host_init()
49 /* register hub class driver */ in rt_usb_host_init()
/nrf52832-nimble/rt-thread/components/dfs/filesystems/uffs/src/inc/uffs/
H A Duffs_flash.h55 #define UFFS_ECC_HW 2 //!< Flash driver(or by hardware) calculate the ECC
63 #define UFFS_LAYOUT_FLASH 1 //!< flash driver do the layout
118 * \brief low level flash operations, should be implement in flash driver
122 * Initilize flash driver, called once when UFFS initilize partition
131 * Release flash driver, called once when UFFS unmount partition
143 * if ecc_opt is UFFS_ECC_HW, flash driver must calculate and return ecc of data(if ecc != NULL).
144 …* if ecc_opt is UFFS_ECC_HW_AUTO, flash driver do ecc correction before return data and flash dr…
145 …* if ecc_opt is UFFS_ECC_NONE or UFFS_ECC_SOFT, flash driver do not need to calculate data ecc a…
162 * Read a full nand page, driver do the layout.
165 * if ecc_opt is UFFS_ECC_HW, flash driver must calculate and return ecc of data(if ecc != NULL).
[all …]
/nrf52832-nimble/rt-thread/
H A DChangeLog.md33 * Add drivers/adc driver framework;
50 * Add the LPC54114-lite BSP, including GPIO, I2C, SDCard, SPI, SPI Flash, UART driver;
51 * Add Nuvoton-M487 BSP, including UART, EMAC driver; (Bluebear 233)
52 * Add Kendryte K210 BSP with RISC-V64 dual-core SMP BSP, including UART driver, also verified with …
54 * Fix the CAN driver issue in STM32F4XX-HAL BSP; (xeonxu)
61 * Fix the watchdog driver issue in stm32f4xx-HAL BSP; (XXXXzzzz000)
89 …or stm32 BSP framework, they are HubretXie, Hao Zhu, e190, etc. to improve the STM32 public driver.
92 * Fix USB driver issue in X1000; (Zhou YanJie)
120 * Improve the PWM driver framework and add more interfaces.
124 * Add multi-segment support for read and write operations in MC/SDIO driver framework (for stm32, y…
[all …]
/nrf52832-nimble/rt-thread/src/
H A Ddevice.c41 * This function registers a device driver with specified name.
43 * @param dev the pointer of device driver structure
44 * @param name the device driver's name
74 * This function removes a previously registered device driver
76 * @param dev the pointer of device driver structure
93 * This function initializes all registered device driver
106 * This function finds a device driver by specified name.
108 * @param name the device driver's name
110 * @return the registered device driver on successful, or RT_NULL on failure.
201 * @param dev the pointer of device driver structure
[all …]

123456789