Home
last modified time | relevance | path

Searched full:decoder (Results 1 – 25 of 94) sorted by relevance

1234

/Zephyr-latest/subsys/lorawan/services/
Dfrag_decoder_lowmem.c176 void frag_dec_init(struct frag_decoder *decoder, size_t nb_frag, size_t frag_size) in frag_dec_init() argument
178 decoder->nb_frag = nb_frag; in frag_dec_init()
179 decoder->frag_size = frag_size; in frag_dec_init()
181 decoder->lost_frame_count = decoder->nb_frag; in frag_dec_init()
182 sys_bitarray_set_region(&lost_frames, decoder->nb_frag, 0); in frag_dec_init()
187 decoder->filled_lost_frame_count = 0; in frag_dec_init()
188 decoder->status = FRAG_DEC_STA_UNCODED; in frag_dec_init()
191 void frag_dec_frame_received(struct frag_decoder *decoder, uint16_t index) in frag_dec_frame_received() argument
199 decoder->lost_frame_count--; in frag_dec_frame_received()
227 int frag_dec(struct frag_decoder *decoder, uint16_t frag_counter, const uint8_t *buf, size_t len) in frag_dec() argument
[all …]
Dfrag_decoder_lowmem.h39 /** Current decoder status */
53 void frag_dec_init(struct frag_decoder *decoder, size_t nb_frag, size_t frag_size);
54 int frag_dec(struct frag_decoder *decoder, uint16_t frag_counter, const uint8_t *buf, size_t len);
/Zephyr-latest/subsys/mgmt/mcumgr/util/include/mgmt/mcumgr/util/
Dzcbor_bulk.h19 zcbor_decoder_t *decoder; /* Key corresponding decoder */ member
24 /** @brief Define single key-decoder mapping
29 * @param dec decoder function; this should be zcbor_decoder_t
33 * to type served by decoder function for the mapping.
41 .decoder = (zcbor_decoder_t *)dec, \
56 * @param dec decoder function; this should be zcbor_decoder_t
60 * to type served by decoder function for the mapping.
67 * The function takes @p map of key to decoder array defined as:
77 * user; val_ptr? are pointers to variables where decoder function for
79 * with decoder function.
[all …]
/Zephyr-latest/samples/sensor/qdec/
DREADME.rst2 :name: Quadrature Decoder Sensor
5 Get rotation data from a quadrature decoder sensor.
11 quadrature decoder mode.
23 * enable the quadrature decoder device in your board's DT file or board overlay
24 * add a new alias property named ``qdec0`` and make it point to the decoder
28 using decoder from TIM3 through pins PA6 and PA7:
59 Quadrature decoder sensor test
Dsample.yaml2 description: Usage quadrature decoder sensor
16 - "Quadrature decoder sensor test"
27 - "Quadrature decoder sensor test"
37 - "Quadrature decoder sensor test"
56 - "Quadrature decoder sensor test"
/Zephyr-latest/doc/services/debugging/
Dmipi_stp_decoder.rst3 MIPI STP Decoder
22 Decoder is initialized with a callback. A callback is called on each decoded opcode.
23 Decoder has internal state since there are dependency between opcodes (e.g. timestamp can be
24 relative). Decoder can be in synchronization or not. Initial state is configurable.
25 If decoder is not synchronized to the stream then it decodes each nibble in search for ASYNC opcode.
26 Loss of synchronization can be indicated to the decoder by calling
34 * Decoder supports only little endian architectures.
/Zephyr-latest/drivers/sensor/nxp/qdec_nxp_s32/
DKconfig5 bool "NXP Quad Decoder S32 drivers"
11 Enable drivers for NXP S32 QUADRATURE DECODER
/Zephyr-latest/drivers/sensor/qdec_sam/
DKconfig1 # Atmel SAM MCU family Quadrature Decoder (TC) driver configuration options
14 Atmel SAM MCU family Quadrature Decoder (TC) driver.
/Zephyr-latest/doc/hardware/peripherals/sensor/
Daccel_stream.c35 struct sensor_decoder_api *decoder; in main() local
66 rc = sensor_get_decoder(sensor, &decoder); in main()
79 rc = decoder->get_frame_count(buf, {SENSOR_CHAN_ACCEL_XYZ, 0}, in main()
87 if (decoder->has_trigger(buf, SENSOR_TRIG_TAP)) { in main()
93 decoder->decode(buf, {SENSOR_CHAN_ACCEL_XYZ, 0}, in main()
Dmultiple_temp_polling.c35 struct sensor_decoder_api *decoder; in main() local
74 rc = sensor_get_decoder(sensor, &decoder); in main()
83 decoder->decode(buf, {SENSOR_CHAN_AMBIENT_TEMP, 0}, in main()
85 decoder->decode(buf, {SENSOR_CHAN_AMBIENT_TEMP, 1}, in main()
/Zephyr-latest/samples/sensor/bme280/src/
Dmain.c66 const struct sensor_decoder_api *decoder; in main() local
68 rc = sensor_get_decoder(dev, &decoder); in main()
78 decoder->decode(buf, in main()
85 decoder->decode(buf, in main()
92 decoder->decode(buf, in main()
/Zephyr-latest/include/zephyr/debug/
Dmipi_stp_decoder.h17 * @defgroup mipi_stp_decoder_apis STP Decoder API
99 /** @brief Decoder configuration. */
101 /** Indicates that decoder start in out of sync state. */
108 /** @brief Initialize the decoder.
131 * If detected, then decoder starts to look for ASYNC marker and drops all data
/Zephyr-latest/samples/sensor/dht_polling/src/
Dmain.c64 const struct sensor_decoder_api *decoder; in main() local
66 rc = sensor_get_decoder(dev, &decoder); in main()
76 decoder->decode(buf, in main()
83 decoder->decode(buf, in main()
/Zephyr-latest/modules/nanopb/
DKconfig19 This option enables dynamic allocation support in the decoder.
52 Only to be used when the decoder on the receiving side cannot
/Zephyr-latest/subsys/net/lib/lwm2m/
DREADME_lwm2m7 domain specific code. To generate the SenML encoder and decoder the following CDDL file
16 To generate the encoder and decoder:
/Zephyr-latest/samples/subsys/zbus/uart_bridge/
DREADME.rst64 The :file:`decoder.py` script can be executed using the following command:
68 python3.8 samples/subsys/zbus/uart_bridge/decoder.py /dev/pts/2
77 From the serial decoder (Python script), you would see something like this:
104 Exit the decoder script by pressing :kbd:`CTRL+C`.
/Zephyr-latest/drivers/sensor/
Dsensor_handlers.c63 const struct sensor_decoder_api **decoder) in z_vrfy_sensor_get_decoder() argument
66 K_OOPS(K_SYSCALL_MEMORY_READ(decoder, sizeof(struct sensor_decoder_api))); in z_vrfy_sensor_get_decoder()
67 return z_impl_sensor_get_decoder(dev, decoder); in z_vrfy_sensor_get_decoder()
/Zephyr-latest/drivers/sensor/tdk/icm42688/
DKconfig28 bool "ICM42688 decoder logic"
32 Compile the ICM42688 decoder API which allows decoding raw data returned
/Zephyr-latest/tests/subsys/debug/mipi_stp_decoder/
DREADME1 Test for MIPI STPv2 data stream decoder.
/Zephyr-latest/tests/subsys/debug/cs_trace_defmt/
DREADME1 Test for decoder of frames encoded using Coresight Trace Formatter.
/Zephyr-latest/dts/bindings/sensor/
Dnxp,mcux-qdec.yaml27 Bypass the quadrature decoder. A positive transition of the PHASEA input
42 The sampling period (in IPBus clock cycles) of the decoder input signals.
/Zephyr-latest/drivers/input/
DKconfig.gpio_qdec9 GPIO Quadrature Decoder input driver.
/Zephyr-latest/samples/sensor/accel_polling/src/
Dmain.c50 const struct sensor_decoder_api *decoder; in print_accels_stream() local
81 rc = sensor_get_decoder(sensor, &decoder); in print_accels_stream()
94 rc = decoder->get_frame_count(buf, in print_accels_stream()
103 if (decoder->has_trigger(buf, SENSOR_TRIG_TAP)) { in print_accels_stream()
109 decoder->decode(buf, (struct sensor_chan_spec) {SENSOR_CHAN_ACCEL_XYZ, 0}, in print_accels_stream()
/Zephyr-latest/drivers/sensor/st/qdec_stm32/
DKconfig12 STM32 family Quadrature Decoder driver.
/Zephyr-latest/samples/sensor/qdec/boards/
Dnucleo_f401re.overlay6 * Application overlay for creating quadrature decoder device instance

1234