Lines Matching full:driver

44  * @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.
176 * @param[in] p_instance Pointer to the driver instance structure.
184 * @retval NRFX_ERROR_INVALID_STATE If the driver is already initialized.
195 * @brief Function for uninitializing the TWIS driver instance.
199 * @param[in] p_instance Pointer to the driver instance structure.
205 * If TWIS driver was in uninitialized state before calling this function,
218 * @param p_instance Pointer to the driver instance structure.
228 * @param p_instance Pointer to the driver instance structure.
238 * @param[in] p_instance Pointer to the driver instance structure.
255 * @param[in] p_instance Pointer to the driver instance structure.
275 * @param[in] p_instance Pointer to the driver instance structure.
290 * @param[in] p_instance Pointer to the driver instance structure.
310 * @param[in] p_instance Pointer to the driver instance structure.
317 * @brief Function checks if driver is busy right now.
319 * Actual driver substate is tested.
320 * If driver is in any other state than IDLE or ERROR this function returns true.
322 * @param[in] p_instance Pointer to the driver instance structure.
324 * @retval true Driver is in state other than ERROR or IDLE.
330 * @brief Function checks if driver is waiting for tx buffer.
332 * If this function returns true, it means that driver is stalled expecting
335 * @param[in] p_instance Pointer to the driver instance structure.
337 * @retval true Driver waits for @ref nrfx_twis_tx_prepare.
338 * @retval false Driver is not in the state where it waits for preparing tx buffer.
343 * @brief Function checks if driver is waiting for rx buffer.
345 * If this function returns true, it means that driver is staled expecting
348 * @param[in] p_instance Pointer to the driver instance structure.
350 * @retval true Driver waits for @ref nrfx_twis_rx_prepare.
351 * @retval false Driver is not in the state where it waits for preparing rx buffer.
356 * @brief Check if driver is sending data.
360 * @param[in] p_instance Pointer to the driver instance structure.
363 * @retval false Driver is in other state.
368 * @brief Check if driver is receiving data.
372 * @param[in] p_instance Pointer to the driver instance structure.
375 * @retval false Driver is in other state.