/Zephyr-latest/subsys/lorawan/services/ |
D | frag_decoder_lowmem.c | 176 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 …]
|
D | frag_decoder_lowmem.h | 39 /** 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/ |
D | zcbor_bulk.h | 19 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/ |
D | README.rst | 2 :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
|
D | sample.yaml | 2 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/ |
D | mipi_stp_decoder.rst | 3 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/ |
D | Kconfig | 5 bool "NXP Quad Decoder S32 drivers" 11 Enable drivers for NXP S32 QUADRATURE DECODER
|
/Zephyr-latest/drivers/sensor/qdec_sam/ |
D | Kconfig | 1 # 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/ |
D | accel_stream.c | 35 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()
|
D | multiple_temp_polling.c | 35 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/ |
D | main.c | 66 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/ |
D | mipi_stp_decoder.h | 17 * @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/ |
D | main.c | 64 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/ |
D | Kconfig | 19 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/ |
D | README_lwm2m | 7 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/ |
D | README.rst | 64 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/ |
D | sensor_handlers.c | 63 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/ |
D | Kconfig | 28 bool "ICM42688 decoder logic" 32 Compile the ICM42688 decoder API which allows decoding raw data returned
|
/Zephyr-latest/tests/subsys/debug/mipi_stp_decoder/ |
D | README | 1 Test for MIPI STPv2 data stream decoder.
|
/Zephyr-latest/tests/subsys/debug/cs_trace_defmt/ |
D | README | 1 Test for decoder of frames encoded using Coresight Trace Formatter.
|
/Zephyr-latest/dts/bindings/sensor/ |
D | nxp,mcux-qdec.yaml | 27 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/ |
D | Kconfig.gpio_qdec | 9 GPIO Quadrature Decoder input driver.
|
/Zephyr-latest/samples/sensor/accel_polling/src/ |
D | main.c | 50 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/ |
D | Kconfig | 12 STM32 family Quadrature Decoder driver.
|
/Zephyr-latest/samples/sensor/qdec/boards/ |
D | nucleo_f401re.overlay | 6 * Application overlay for creating quadrature decoder device instance
|