Lines Matching full:mode
97 * @brief PDM operation mode.
107 * @brief PDM sampling mode.
240 * @brief Function for setting the PDM operation mode.
242 * @param[in] pdm_mode PDM operation mode.
243 * @param[in] pdm_edge PDM sampling mode.
248 * @brief Function for getting the PDM operation mode.
250 * @param[out] p_pdm_mode PDM operation mode.
251 * @param[out] p_pdm_edge PDM sampling mode.
300 * @param[in] num Number of samples to allocate memory for in EasyDMA mode.
302 * The amount of allocated RAM depends on the operation mode.
303 * - For stereo mode: N 32-bit words.
304 * - For mono mode: Ceil(N/2) 32-bit words.
403 NRF_PDM->MODE = ((pdm_mode << PDM_MODE_OPERATION_Pos) & PDM_MODE_OPERATION_Msk) in nrf_pdm_mode_set()
409 uint32_t mode = NRF_PDM->MODE; in nrf_pdm_mode_get() local
410 *p_pdm_mode = (nrf_pdm_mode_t)((mode & PDM_MODE_OPERATION_Msk ) >> PDM_MODE_OPERATION_Pos); in nrf_pdm_mode_get()
411 *p_pdm_edge = (nrf_pdm_edge_t)((mode & PDM_MODE_EDGE_Msk ) >> PDM_MODE_EDGE_Pos); in nrf_pdm_mode_get()