/hal_rpi_pico-latest/test/pico_divider_test/ |
D | pico_divider_nesting_test.c | 16 volatile uint32_t count[3]; variable 25 count[0]++; in timer_callback() 87 count[1]++; in test_irq_handler0() 111 count[2]++; in test_irq_handler1() 238 printf("%d: %d %d %d\n", count_local, (int)count[0], (int)count[1], (int)count[2]); in test_nesting() 241 if (!(count_local && count[0] && count[1] && count[2])) { in test_nesting()
|
/hal_rpi_pico-latest/src/rp2_common/pico_malloc/ |
D | malloc.c | 21 extern void *REAL_FUNC(calloc)(size_t count, size_t size); 83 void *WRAPPER_FUNC(calloc)(size_t count, size_t size) { in WRAPPER_FUNC() 85 void *rc = REAL_FUNC(calloc)(count, size); in WRAPPER_FUNC() 89 printf("calloc %d failed to allocate memory\n", (uint) (count * size)); in WRAPPER_FUNC() 90 } else if (((uint8_t *)rc) + count * size > (uint8_t*)PICO_DEBUG_MALLOC_LOW_WATER) { in WRAPPER_FUNC() 91 printf("calloc %d %p->%p\n", (uint) (count * size), rc, ((uint8_t *) rc) + size); in WRAPPER_FUNC() 94 check_alloc(rc, count * size); in WRAPPER_FUNC()
|
/hal_rpi_pico-latest/tools/pioasm/gen/ |
D | location.h | 90 void lines (counter_type count = 1) 92 if (count) 95 line = add_ (line, count, 1); 100 void columns (counter_type count = 1) 102 column = add_ (column, count, 1); 212 void columns (counter_type count = 1) 214 end += count; 218 void lines (counter_type count = 1) 220 end.lines (count);
|
/hal_rpi_pico-latest/tools/pioasm/ |
D | go_output.cpp | 34 int count = 0; in output_symbols() local 38 count++; in output_symbols() 41 if (count) { in output_symbols() 43 count = 0; in output_symbols() 48 count++; in output_symbols() 51 if (count) { in output_symbols()
|
D | ada_output.cpp | 33 int count = 0; in output_symbols() local 37 count++; in output_symbols() 40 if (count) { in output_symbols() 42 count = 0; in output_symbols() 47 count++; in output_symbols() 50 if (count) { in output_symbols()
|
D | c_sdk_output.cpp | 26 int count = 0; in output_symbols() local 30 count++; in output_symbols() 33 if (count) { in output_symbols() 35 count = 0; in output_symbols() 40 count++; in output_symbols() 43 if (count) { in output_symbols()
|
D | python_output.cpp | 29 int count = 0; in output_symbols() local 33 count++; in output_symbols() 36 if (count) { in output_symbols() 38 count = 0; in output_symbols() 43 count++; in output_symbols() 46 if (count) { in output_symbols()
|
/hal_rpi_pico-latest/src/rp2_common/hardware_flash/ |
D | flash.c | 114 void __no_inline_not_in_flash_func(flash_range_erase)(uint32_t flash_offs, size_t count) { in __no_inline_not_in_flash_func() 116 hard_assert(flash_offs + count <= PICO_FLASH_SIZE_BYTES); in __no_inline_not_in_flash_func() 119 invalid_params_if(HARDWARE_FLASH, count & (FLASH_SECTOR_SIZE - 1)); in __no_inline_not_in_flash_func() 138 flash_range_erase_func(flash_offs, count, FLASH_BLOCK_SIZE, FLASH_BLOCK_ERASE_CMD); in __no_inline_not_in_flash_func() 151 …ne_not_in_flash_func(flash_range_program)(uint32_t flash_offs, const uint8_t *data, size_t count) { in __no_inline_not_in_flash_func() 153 hard_assert(flash_offs + count <= PICO_FLASH_SIZE_BYTES); in __no_inline_not_in_flash_func() 156 invalid_params_if(HARDWARE_FLASH, count & (FLASH_PAGE_SIZE - 1)); in __no_inline_not_in_flash_func() 173 flash_range_program_func(flash_offs, data, count); in __no_inline_not_in_flash_func() 205 void __no_inline_not_in_flash_func(flash_do_cmd)(const uint8_t *txbuf, uint8_t *rxbuf, size_t count… in __no_inline_not_in_flash_func() 222 size_t tx_remaining = count; in __no_inline_not_in_flash_func() [all …]
|
/hal_rpi_pico-latest/src/common/pico_util/ |
D | pheap.c | 119 uint count = 0; in ph_dump_node() local 121 count++; in ph_dump_node() 129 count += ph_dump_node(heap, node->child, dump_key, user_data, indent + 1); in ph_dump_node() 130 count += ph_dump_node(heap, node->sibling, dump_key, user_data, indent); in ph_dump_node() 132 return count; in ph_dump_node() 136 uint count = ph_dump_node(heap, heap->root_id, dump_key, user_data, 0); in ph_dump() local 137 printf("node_count %d\n", count); in ph_dump()
|
/hal_rpi_pico-latest/src/rp2_common/hardware_flash/include/hardware/ |
D | flash.h | 69 void flash_range_erase(uint32_t flash_offs, size_t count); 83 void flash_range_program(uint32_t flash_offs, const uint8_t *data, size_t count); 120 void flash_do_cmd(const uint8_t *txbuf, uint8_t *rxbuf, size_t count);
|
/hal_rpi_pico-latest/src/common/pico_sync/ |
D | sem.c | 74 int32_t count = sem->permits; in __time_critical_func() local 75 if (count < sem->max_permits) { in __time_critical_func() 76 sem->permits = (int16_t)(count + 1); in __time_critical_func()
|
/hal_rpi_pico-latest/test/hardware_pwm_test/ |
D | hardware_pwm_test.c | 19 int count; member 29 interrupt_states[pwm].count++; in on_pwm_wrap() 159 … PICOTEST_CHECK_CHANNEL(p, interrupt_states[p].count != 0, "No interrupts detected from PWM\n"); in main()
|
/hal_rpi_pico-latest/src/rp2_common/hardware_pio/include/hardware/ |
D | pio_instructions.h | 315 static inline uint pio_encode_in(enum pio_src_dest src, uint count) { in pio_encode_in() argument 317 return _pio_encode_instr_and_src_dest(pio_instr_bits_in, src, count); in pio_encode_in() 330 static inline uint pio_encode_out(enum pio_src_dest dest, uint count) { in pio_encode_out() argument 332 return _pio_encode_instr_and_src_dest(pio_instr_bits_out, dest, count); in pio_encode_out()
|
/hal_rpi_pico-latest/src/rp2_common/pico_stdio_usb/ |
D | stdio_usb.c | 158 int count = (int) tud_cdc_read(buf, (uint32_t) length); in stdio_usb_in_chars() local 159 rc = count ? count : PICO_ERROR_NO_DATA; in stdio_usb_in_chars()
|
/hal_rpi_pico-latest/src/rp2350/hardware_structs/include/hardware/structs/ |
D | xosc.h | 56 io_rw_32 count;
|
D | ticks.h | 52 io_ro_32 count;
|
D | rosc.h | 92 io_rw_32 count;
|
/hal_rpi_pico-latest/src/rp2040/hardware_structs/include/hardware/structs/ |
D | xosc.h | 58 io_rw_32 count;
|
D | rosc.h | 85 io_rw_32 count;
|
/hal_rpi_pico-latest/src/rp2_common/pico_bootrom/ |
D | bootrom.c | 38 bool rom_funcs_lookup(uint32_t *table, unsigned int count) { in rom_funcs_lookup() argument 40 for (unsigned int i = 0; i < count; i++) { in rom_funcs_lookup()
|
/hal_rpi_pico-latest/src/rp2_common/pico_printf/ |
D | printf.c | 393 unsigned int count = prec; in _ftoa() local 396 --count; in _ftoa() 403 while ((len < PICO_PRINTF_FTOA_BUFFER_SIZE) && (count-- > 0U)) { in _ftoa() 884 int WRAPPER_FUNC(snprintf)(char *buffer, size_t count, const char *format, ...) { in WRAPPER_FUNC() 887 const int ret = _vsnprintf(_out_buffer, buffer, count, format, va); in WRAPPER_FUNC() 892 int WRAPPER_FUNC(vsnprintf)(char *buffer, size_t count, const char *format, va_list va) { in WRAPPER_FUNC() 893 return _vsnprintf(_out_buffer, buffer, count, format, va); in WRAPPER_FUNC()
|
/hal_rpi_pico-latest/src/rp2_common/pico_bootrom/include/pico/ |
D | bootrom.h | 151 bool rom_funcs_lookup(uint32_t *table, unsigned int count); 338 static inline void rom_flash_range_erase(uint32_t addr, size_t count, uint32_t block_size, uint8_t … in rom_flash_range_erase() argument 340 func(addr, count, block_size, block_cmd); in rom_flash_range_erase() 363 static inline void rom_flash_range_program(uint32_t addr, const uint8_t *data, size_t count) { in rom_flash_range_program() argument 365 func(addr, data, count); in rom_flash_range_program()
|
/hal_rpi_pico-latest/src/rp2_common/pico_float/ |
D | float_sci_m33_vfp.S | 313 lsrs r3,r6,#30 @ quadrant count 357 @ r12: quadrant count 365 bic r0,r0,#0x80000000 @ make positive: original sign is now captured in quadrant count in r12 371 @ vmul.f32 s4,s4,s0 @ this accurate calculation of the quadrant count does not seem necess… 375 vrintn.f32.f32 s4,s4 @ round to quadrant count: x<256 so count≤163 385 vmov r2,s3 @ integer quadrant count 445 @ r12b1..0: quadrant count 461 @ here we have a quadrant count in r12 and a signed offset r0 from r12*π/2 489 @ r12: quadrant count 715 @ r12=quadrant count * π/2
|
/hal_rpi_pico-latest/src/rp2_common/hardware_pio/ |
D | pio.c | 334 int pio_sm_set_consecutive_pindirs(PIO pio, uint sm, uint pin, uint count, bool is_out) { in pio_sm_set_consecutive_pindirs() argument 343 while (count > 5) { in pio_sm_set_consecutive_pindirs() 346 count -= 5; in pio_sm_set_consecutive_pindirs() 349 …pio->sm[sm].pinctrl = (count << PIO_SM0_PINCTRL_SET_COUNT_LSB) | (pin << PIO_SM0_PINCTRL_SET_BASE_… in pio_sm_set_consecutive_pindirs()
|
/hal_rpi_pico-latest/src/rp2_common/cmsis/stub/CMSIS/Core/Include/m-profile/ |
D | cmsis_iccarm_m.h | 590 uint32_t count = 0U; in __CLZ() local 595 count += 1U; in __CLZ() 598 return count; in __CLZ()
|