Home
last modified time | relevance | path

Searched full:sample (Results 1 – 25 of 173) sorted by relevance

1234567

/hal_nordic-latest/nrfx/samples/src/nrfx_saadc/simple_non_blocking/
DREADME.md3 The sample demonstrates a simple functionality of the nrfx_saadc driver operating in the non-blocki…
7 The sample supports the following development kits:
32 In the sample there are GPIOTE tasks configured to toggle specified ( @p m_out_pins ) loopback pins.
39 To run the sample correctly, connect pins as follows:
46 To run this sample, build it for the appropriate board and then flash it as per instructions in [Bu…
48 ## Sample output
57 - "[Sample 0] value == ([0-9]{3})"
60 - "[Sample 0] value == -?[0-9]"
63 - "[Sample 0] value == ([0-9]{3})"
66 - "[Sample 0] value == -?[0-9]"
[all …]
Dsample.yaml1 sample:
30 - ".Sample 0. value == ([0-9]{3})"
33 - ".Sample 0. value == -?[0-9]"
36 - ".Sample 0. value == ([0-9]{3})"
39 - ".Sample 0. value == -?[0-9]"
42 - ".Sample 0. value == ([0-9]{3})"
45 - ".Sample 0. value == -?[0-9]"
48 - ".Sample 0. value == ([0-9]{3})"
51 - ".Sample 0. value == -?[0-9]"
55 - ".Sample 0. value == ([0-9]{3})"
[all …]
/hal_nordic-latest/nrfx/samples/src/nrfx_saadc/advanced_non_blocking_internal_timer/
DREADME.md3 The sample demonstrates an advanced functionality of the nrfx_saadc driver operating in the non-blo…
7 The sample supports the following development kits:
20 In the sample the @p m_single_channel is configured, and the SAADC driver is set to the advanced mo…
25 Consecutive sample tasks are triggered by the internal timer at the sample rate specified in @p SAA…
36 To run the sample correctly, connect pins as follows:
41 To run this sample, build it for the appropriate board and then flash it as per instructions in [Bu…
43 ## Sample output
53 - "Sample buffer address == 0x([0-9a-z]{8})"
54 - ".Sample 0. value == -?[0-9]"
55 - ".Sample 1. value == ([0-9]{3})"
[all …]
Dsample.yaml1 sample:
29 - "Sample buffer address == 0x([0-9a-z]{8})"
30 - ".Sample 0. value == -?[0-9]"
31 - ".Sample 1. value == ([0-9]{3})"
32 - ".Sample 2. value == -?[0-9]"
35 - "Sample buffer address == 0x([0-9a-z]{8})"
36 - ".Sample 0. value == ([0-9]{3})"
37 - ".Sample 1. value == -?[0-9]"
38 - ".Sample 2. value == ([0-9]{3})"
41 - "Sample buffer address == 0x([0-9a-z]{8})"
[all …]
Dmain.c58 …* Consecutive sample tasks are triggered by the internal timer at the sample rate specifi…
84 /** @brief SAADC sample frequency for the continuous sampling. */
91 * @brief Symbol specifying the number of sample buffers ( @ref m_sample_buffers ).
96 /** @brief Symbol specifying the size of singular sample buffer ( @ref m_sample_buffers ). */
118 /** For continuous sampling the sample rate SAADC_SAMPLE_FREQUENCY should fulfill the following cri…
165 NRFX_LOG_INFO("Sample buffer address == %p", p_event->data.done.p_buffer); in saadc_handler()
170 NRFX_LOG_INFO("[Sample %u] value == %d", in saadc_handler()
/hal_nordic-latest/nrfx/samples/src/nrfx_saadc/maximum_performance/
DREADME.md3 The sample demonstrates an advanced functionality of the nrfx_saadc driver operating at its peak pe…
7 The sample supports the following development kits:
21 In the sample @p m_single_channel is configured, and the SAADC driver is set to the advanced mode.
24 …nels [ @p gppi_channels_purpose_t::SAADC_SAMPLING ] to trigger the SAADC sample task ( @p nrf_saad…
30 Consecutive sample tasks are triggered by the external timer at the sample rate specified in @p SAA…
39 To run the sample correctly, connect pins as follows:
44 To run this sample, build it for the appropriate board and then flash it as per instructions in [Bu…
45 ## Sample output
55 - "Sample buffer address == 0x([0-9a-z]{8})"
56 - ".Sample 0. value == -?[0-9]"
[all …]
Dmain.c59 …* to trigger SAADC sample task ( @p nrf_saadc_task_t::NRF_SAADC_TASK_SAMPLE ) on th…
66 …* Consecutive sample tasks are triggered by the external timer at the sample rate specifi…
90 /** @brief Symbol specifying maximal possible SAADC sample rate (see SAADC electrical specification…
93 /** @brief Symbol specifying SAADC sample frequency for the continuous sampling. */
100 * @brief Symbol specifying the number of sample buffers ( @ref m_sample_buffers ).
105 /** @brief Symbol specifying the size of singular sample buffer ( @ref m_sample_buffers ). */
137 /** For continuous sampling the sample rate SAADC_SAMPLE_FREQUENCY should fulfill the following cri…
187 NRFX_LOG_INFO("Sample buffer address == %p", p_event->data.done.p_buffer); in saadc_handler()
192 NRFX_LOG_INFO("[Sample %u] value == %d", in saadc_handler()
293 … * is connected with the SAADC sample task. This means that each time the timer interrupt occurs, in main()
Dsample.yaml1 sample:
27 - "Sample buffer address == 0x([0-9a-z]{8})"
28 - ".Sample 0. value == -?[0-9]"
29 - ".Sample 1. value == ([0-9]{3})"
32 - "Sample buffer address == 0x([0-9a-z]{8})"
33 - ".Sample 0. value == -?[0-9]"
34 - ".Sample 1. value == ([0-9]{3})"
37 - ".Sample 0. value == -?[0-9]"
38 - ".Sample 1. value == ([0-9]{3})"
/hal_nordic-latest/nrfx/samples/src/nrfx_saadc/advanced_blocking/
DREADME.md3 The sample demonstrates an advanced functionality of the nrfx_saadc driver operating in the blockin…
7 The sample supports the following development kits:
32 In the sample there are GPIOTE tasks configured to toggle the specified ( @p m_out_pins ) loopback …
38 To run the sample correctly, connect pins as follows:
43 To run this sample, build it for the appropriate board and then flash it as per instructions in [Bu…
45 ## Sample output
53 - ".Sample 0. value == ([0-9]{3})"
54 - ".Sample 1. value == ([0-9]{3})"
57 - ".Sample 0. value == -?[0-9]"
58 - ".Sample 1. value == -?[0-9]"
[all …]
Dsample.yaml1 sample:
29 - ".Sample 0. value == ([0-9]{3})"
30 - ".Sample 1. value == ([0-9]{3})"
33 - ".Sample 0. value == -?[0-9]"
34 - ".Sample 1. value == -?[0-9]"
37 - ".Sample 0. value == ([0-9]{3})"
38 - ".Sample 1. value == ([0-9]{3})"
41 - ".Sample 0. value == -?[0-9]"
42 - ".Sample 1. value == -?[0-9]"
45 - ".Sample 0. value == ([0-9]{3})"
[all …]
/hal_nordic-latest/nrfx/hal/
Dnrf_pdm.h133 …, EVENTS_DMA.END), ///< The PDM has written the last sample specified by MAXCNT (or the last sampl…
135 …, EVENTS_END), ///< The PDM has written the last sample specified by MAXCNT (or the last sampl…
171 /** @brief PDM ratio between PDM_CLK and output sample rate. */
200 …NRF_PDM_MODE_STEREO = PDM_MODE_OPERATION_Stereo, ///< Sample and store one pair (Left + Right) of…
201 …NRF_PDM_MODE_MONO = PDM_MODE_OPERATION_Mono ///< Sample and store two successive Left sample…
503 * @brief Function for setting the PDM sample buffer.
516 * @brief Function for getting the current PDM sample buffer address.
520 * @return Pointer to the current sample buffer.
526 * @brief Function for setting ratio between PDM_CLK and output sample rate.
529 * @param[in] ratio Ratio between PDM_CLK and output sample rate.
[all …]
Dnrf_saadc.h130 /** @brief Symbol specifying width of the 8-bit sample in bits. */
346 … = offsetof(NRF_SAADC_Type, TASKS_SAMPLE), ///< Take one ADC sample. If scan is enable…
424 nrf_saadc_value_t * buffer; ///< Pointer to sample buffer.
425 uint32_t buffer_size; ///< Size of the sample buffer.
730 * @brief Function for setting the SAADC sample resolution.
739 * @brief Function for getting the SAADC sample resolution.
743 * @return Sample resolution.
766 * @brief Function for getting the sample count needed for one averaged result for a given
771 * @return Sample count.
779 * sample rate. Trigger the START task to begin continuous sampling. To stop the sampling, trigger
[all …]
Dnrf_i2s.h82 /** @brief Symbol indicating whether 32-bit sample width is available. */
187 /** @brief I2S sample widths. */
197 …NRF_I2S_SWIDTH_8BIT_IN16BIT = I2S_CONFIG_SWIDTH_SWIDTH_8BitIn16, ///< 8 bit sample in a 16-bit h…
200 …NRF_I2S_SWIDTH_8BIT_IN32BIT = I2S_CONFIG_SWIDTH_SWIDTH_8BitIn32, ///< 8 bit sample in a 32-bit h…
203 …NRF_I2S_SWIDTH_16BIT_IN32BIT = I2S_CONFIG_SWIDTH_SWIDTH_16BitIn32, ///< 16 bit sample in a 32-bit …
206 …NRF_I2S_SWIDTH_24BIT_IN32BIT = I2S_CONFIG_SWIDTH_SWIDTH_24BitIn32, ///< 24 bit sample in a 32-bit …
210 /** @brief I2S alignments of sample within a frame. */
246 nrf_i2s_align_t alignment; /**< Alignment of sample within a frame. */
247 nrf_i2s_swidth_t sample_width; /**< Sample width. */
Dnrf_tdm.h166 /** @brief TDM sample widths. */
173 …NRF_TDM_SWIDTH_8BIT_IN16BIT = TDM_CONFIG_SWIDTH_SWIDTH_8BitIn16, ///< 8 bit sample in a 16-bit h…
174 …NRF_TDM_SWIDTH_8BIT_IN32BIT = TDM_CONFIG_SWIDTH_SWIDTH_8BitIn32, ///< 8 bit sample in a 32-bit h…
175 …NRF_TDM_SWIDTH_16BIT_IN32BIT = TDM_CONFIG_SWIDTH_SWIDTH_16BitIn32, ///< 16 bit sample in a 32-bit …
176 …NRF_TDM_SWIDTH_24BIT_IN32BIT = TDM_CONFIG_SWIDTH_SWIDTH_24BitIn32, ///< 24 bit sample in a 32-bit …
179 /** @brief TDM alignments of sample within a frame. */
246 nrf_tdm_align_t alignment; /**< Alignment of sample within a frame. */
247 nrf_tdm_swidth_t sample_width; /**< Sample width. */
/hal_nordic-latest/nrfx/samples/src/nrfx_twim_twis/txrx/
DREADME.md3 The sample demonstrates a functionality of nrfx_twim and nrfx_twis drivers, when TWI transfer is pe…
7 The sample supports the following development kits:
21 The main purpose of this sample is to emulate a situation, in which you read data from particular r…
22 The sample works as a simple simulation in which you can communicate with a drone by reading the va…
32 To run the sample correctly, connect pins as follows:
42 To run this sample, build it for the appropriate board and then flash it as per instructions in [Bu…
44 ## Sample output
/hal_nordic-latest/nrfx/samples/src/nrfx_twim_twis/txtx/
DREADME.md3 The sample demonstrates a functionality of nrfx_twim and nrfx_twis drivers, when TWI transfer is pe…
7 The sample supports the following development kits:
19 The main purpose of this sample is to emulate a situation, in which you write data to a particular …
20 The sample works as a simple simulation in which you can communicate with a drone by defining X, Y,…
30 To run the sample correctly, connect pins as follows:
40 To run this sample, build it for the appropriate board and then flash it as per instructions in [Bu…
42 ## Sample output
/hal_nordic-latest/nrfx/drivers/include/
Dnrfx_saadc.h70 * - sample acquisition time: 10 us
107 * - sample acquisition time: 10 us
156 * @brief Macro for getting specified SAADC sample from the filled buffer.
160 * @param[in] _index Sample index.
162 * @return Specified sample.
349 * The simple mode allows obtaining a single sample from each requested channel.
381 * times as each call sample each requested channel once.
442 * Event will contain number of words in the sample buffer.
Dnrfx_adc.h65 /** @brief SAMPLE event structure. */
68 nrf_adc_value_t sample; ///< Converted sample. member
78 nrfx_adc_sample_evt_t sample; ///< Data for SAMPLE event. member
244 * wait for the SAMPLE task. Sampling can be triggered manually by the @ref
254 * an interrupt is not handled before the next sampling is triggered, the sample
Dnrfx_qdec.h74 bool sample_inten; ///< Enabling sample ready interrupt.
117 * - sample ready interrupt disabled
138 /** @brief QDEC sample event data. */
141 int8_t value; /**< Sample value. */
157 nrfx_qdec_sample_data_evt_t sample; /**< Sample event data. */ member
297 * Here is a sample of using the NRFX_QDEC_INST_HANDLER_GET macro to map an interrupt handler
/hal_nordic-latest/nrfx/samples/src/nrfx_saadc/simple_blocking/
DREADME.md3 The sample demonstrates a simple functionality of the nrfx_saadc driver operating in the blocking m…
7 The sample supports the following development kits:
31 In the sample there are GPIOTE tasks configured to toggle the specified ( @p m_out_pins ) loopback …
38 To run the sample correctly, connect pins as follows:
45 To run this sample, build it for the appropriate board and then flash it as per instructions in [Bu…
47 ## Sample output
/hal_nordic-latest/drivers/nrf_802154/driver/src/
Dnrf_802154_trx.h239 …* check if RSSI sample is already available by call to @ref nrf_802154_trx_rssi_s…
244 /**@brief Checks if RSSI sample is available.
246 …* @retval true When RSSI sample is available. The sample may be read by a call to @ref nrf_802…
247 * @retval false When RSSI sample is unavailable.
251 /**@brief Returns last measured RSSI sample.
253 * @return RSSI sample. Returned value must be scaled using API provided by nrf_802154_rssi.h.
779 * @param ed_sample Sample of detected energy.
/hal_nordic-latest/nrfx/samples/src/nrfx_timer/timer/
DREADME.md3 The sample demonstrates a basic functionality of the nrfx_timer driver in the Timer mode.
7 The sample supports the following development kits:
27 To run this sample, no special configuration is needed.
32 To run this sample, build it for the appropriate board and then flash it as per instructions in [Bu…
34 ## Sample output
/hal_nordic-latest/nrfx/samples/src/nrfx_spim/blocking/
DREADME.md3 The sample demonstrates a basic functionality of the nrfx_spim driver operating in the blocking mod…
7 The sample supports the following development kits:
27 To run the sample correctly, connect pins as follows:
36 To run this sample, build it for the appropriate board and then flash it as per instructions in [Bu…
38 ## Sample output
/hal_nordic-latest/nrfx/samples/src/nrfx_egu/
DREADME.md3 The sample demonstrates a basic functionality of the nrfx_egu driver.
6 The sample supports the following development kits:
25 To run this sample, no special configuration is needed.
30 To run this sample, build it for the appropriate board and then flash it as per instructions in [Bu…
32 ## Sample output
/hal_nordic-latest/nrfx/samples/src/nrfx_spim/non_blocking/
DREADME.md3 The sample demonstrates a basic functionality of the nrfx_spim driver operating in the non-blocking…
7 The sample supports the following development kits:
27 To run the sample correctly, connect pins as follows:
36 To run this sample, build it for the appropriate board and then flash it as per instructions in [Bu…
37 ## Sample output

1234567