/hal_rpi_pico-3.4.0/src/rp2_common/pico_stdio/ |
D | stdio.c | 60 static void stdio_out_chars_no_crlf(stdio_driver_t *driver, const char *s, int len) { in stdio_out_chars_no_crlf() argument 61 driver->out_chars(s, len); in stdio_out_chars_no_crlf() 64 static void stdio_out_chars_crlf(stdio_driver_t *driver, const char *s, int len) { in stdio_out_chars_crlf() argument 67 driver->out_chars(s, len); in stdio_out_chars_crlf() 73 bool prev_char_was_cr = i > 0 ? s[i - 1] == '\r' : driver->last_ended_with_cr; in stdio_out_chars_crlf() 74 if (s[i] == '\n' && !prev_char_was_cr) { in stdio_out_chars_crlf() 76 driver->out_chars(&s[first_of_chunk], i - first_of_chunk); in stdio_out_chars_crlf() 83 driver->out_chars(&s[first_of_chunk], len - first_of_chunk); in stdio_out_chars_crlf() 86 driver->last_ended_with_cr = s[len - 1] == '\r'; in stdio_out_chars_crlf() 89 driver->out_chars(s, len); in stdio_out_chars_crlf() [all …]
|
/hal_rpi_pico-3.4.0/tools/pioasm/ |
D | ada_output.cpp | 34 for (const auto &s : symbols) { in output_symbols() local 35 if (!s.is_label) { in output_symbols() 36 fprintf(out, "%s : constant := %d;\n", s.name.c_str(), s.value); in output_symbols() 44 for (const auto &s : symbols) { in output_symbols() local 45 if (s.is_label) { in output_symbols() 46 fprintf(out, " Offset_%s : constant := %d;\n", s.name.c_str(), s.value); in output_symbols()
|
D | c_sdk_output.cpp | 27 for (const auto &s : symbols) { in output_symbols() local 28 if (!s.is_label) { in output_symbols() 29 fprintf(out, "#define %s%s %d\n", prefix.c_str(), s.name.c_str(), s.value); in output_symbols() 37 for (const auto &s : symbols) { in output_symbols() local 38 if (s.is_label) { in output_symbols() 39 fprintf(out, "#define %soffset_%s %du\n", prefix.c_str(), s.name.c_str(), s.value); in output_symbols()
|
D | python_output.cpp | 30 for (const auto &s : symbols) { in output_symbols() local 31 if (!s.is_label) { in output_symbols() 32 fprintf(out, "%s%s = %d\n", prefix.c_str(), s.name.c_str(), s.value); in output_symbols() 40 for (const auto &s : symbols) { in output_symbols() local 41 if (s.is_label) { in output_symbols() 42 fprintf(out, "%soffset_%s = %d\n", prefix.c_str(), s.name.c_str(), s.value); in output_symbols() 160 auto op = [&](const std::string &s) { in disassemble() argument 161 op_string = s; in disassemble() 163 auto op_guts = [&](const std::string &s) { in disassemble() argument 164 ss << std::left << std::setw(24) << (op_string + "(" + s + ")"); in disassemble()
|
D | lexer.ll | 25 yy::parser::symbol_type make_INT(const std::string &s, const yy::parser::location_type& loc); 26 yy::parser::symbol_type make_HEX(const std::string &s, const yy::parser::location_type& loc); 27 yy::parser::symbol_type make_BINARY(const std::string &s, const yy::parser::location_type& loc); 194 yy::parser::symbol_type make_INT(const std::string &s, const yy::parser::location_type& loc) 197 long n = strtol (s.c_str(), NULL, 10); 199 throw yy::parser::syntax_error (loc, "integer is out of range: " + s); 203 yy::parser::symbol_type make_HEX(const std::string &s, const yy::parser::location_type& loc) 206 long n = strtol (s.c_str() + 2, NULL, 16); 208 throw yy::parser::syntax_error (loc, "hex is out of range: " + s); 212 yy::parser::symbol_type make_BINARY(const std::string &s, const yy::parser::location_type& loc) [all …]
|
D | pio_disassembler.cpp | 21 auto op = [&](const std::string &s) { in disassemble() argument 22 ss << std::left << std::setw(7) << s; in disassemble() 24 auto op_guts = [&](const std::string &s) { in disassemble() argument 25 ss << std::left << std::setw(16) << s; in disassemble()
|
D | pio_assembler.cpp | 314 [](const std::shared_ptr<symbol> &s) { return !s->is_public; }); in public_symbols() argument 318 [&](const std::shared_ptr<symbol> &s) { in public_symbols() argument 319 … return compiled_source::symbol(s->name, s->value->resolve(program), s->is_label); in public_symbols()
|
D | parser.yy | 342 fprintf(stderr, "%5d | %s\n", l.begin.line, line.c_str()); 343 fprintf(stderr, "%5s | %*s", "", l.begin.column, "^");
|
/hal_rpi_pico-3.4.0/src/rp2_common/hardware_uart/include/hardware/ |
D | uart.h | 363 static inline void uart_puts(uart_inst_t *uart, const char *s) { in uart_puts() argument 366 while (*s) { in uart_puts() 369 uart_putc_raw(uart, *s); in uart_puts() 371 uart_putc(uart, *s); in uart_puts() 372 last_was_cr = *s++ == '\r'; in uart_puts() 375 while (*s) in uart_puts() 376 uart_putc(uart, *s++); in uart_puts()
|
/hal_rpi_pico-3.4.0/src/rp2_common/pico_float/ |
D | float_math.c | 38 #define FUNPACKS(x,s,e,m) s=((x)>>31),FUNPACK((x),(e),(m)) argument 498 int quo=0,q,r=0,s; in frem_0() local 503 s=e; if(s>12) s=12; // gain up to 12 bits on each iteration in frem_0() 505 q=((q>>(29-s))+1)>>1; // Q(s), rounded in frem_0() 506 mx=(mx<<s)-my*q; in frem_0() 507 quo=(quo<<s)+q; in frem_0() 508 e-=s; in frem_0()
|
/hal_rpi_pico-3.4.0/src/host/hardware_uart/ |
D | uart.c | 111 void uart_puts(uart_inst_t *uart, const char *s) { in uart_puts() argument 112 puts(s); in uart_puts()
|
/hal_rpi_pico-3.4.0/src/rp2_common/pico_double/ |
D | double_math.c | 40 #define DUNPACKS(x,s,e,m) s=((x)>>63),DUNPACK((x),(e),(m)) argument 542 int quo=0,q,r=0,s; 547 s=e; if(s>12) s=12; // gain up to 12 bits on each iteration 549 q=((q>>(29-s))+1)>>1; // Q(s), rounded 550 mx=(mx<<s)-my*q; 551 quo=(quo<<s)+q; 552 e-=s;
|
/hal_rpi_pico-3.4.0/test/pico_float_test/ |
D | pico_double_test.c | 365 double s, c; in main() local 366 sincos(x, &s, &c); in main() 367 printf("SINCOS %10.18f %10.18f\n", s, c); in main() 368 if (s != sin(x) || c != cos(x)) { in main() 389 double s, c; in main() local 390 sincos(x, &s, &c); in main() 391 printf("SINCOS %10.18f %10.18f\n", check_nan(s), check_nan(c)); in main()
|
D | pico_float_test.c | 392 float s, c; in main() local 393 sincosf(x, &s, &c); in main() 394 printf("FSINCOS %10.18f %10.18f\n", s, c); in main() 404 sincosf(x, &s, &c); in main() 405 printf("SINCOS %10.18f %10.18f\n", s, c); in main() 406 if (s != sinf(x) || c != cosf(x)) { in main() 440 float s, c; in main() local 442 printf("FSINCOS %10.18f %10.18f\n", s, c); in main()
|
/hal_rpi_pico-3.4.0/src/rp2_common/pico_stdio/include/pico/ |
D | stdio.h | 115 int puts_raw(const char *s);
|
/hal_rpi_pico-3.4.0/tools/pioasm/gen/ |
D | lexer.cpp | 790 yy::parser::symbol_type make_INT(const std::string &s, const yy::parser::location_type& loc); 791 yy::parser::symbol_type make_HEX(const std::string &s, const yy::parser::location_type& loc); 792 yy::parser::symbol_type make_BINARY(const std::string &s, const yy::parser::location_type& loc); 2625 static int yy_flex_strlen (const char * s ) in yy_flex_strlen() argument 2628 for ( n = 0; s[n]; ++n ) in yy_flex_strlen() 2664 yy::parser::symbol_type make_INT(const std::string &s, const yy::parser::location_type& loc) in make_INT() argument 2667 long n = strtol (s.c_str(), NULL, 10); in make_INT() 2669 throw yy::parser::syntax_error (loc, "integer is out of range: " + s); in make_INT() 2673 yy::parser::symbol_type make_HEX(const std::string &s, const yy::parser::location_type& loc) in make_HEX() argument 2676 long n = strtol (s.c_str() + 2, NULL, 16); in make_HEX() [all …]
|
D | parser.hpp | 462 syntax_error (const syntax_error& s) in syntax_error() 463 : std::runtime_error (s.what ()) in syntax_error() 464 , location (s.location) in syntax_error() 1046 void move (basic_symbol& s); 2398 by_state (kind_type s) YY_NOEXCEPT; 2432 stack_symbol_type (state_type s, YY_MOVE_REF (symbol_type) sym); 2590 void yypush_ (const char* m, state_type s, YY_MOVE_REF (symbol_type) sym); 2760 parser::basic_symbol<Base>::move (basic_symbol& s) in move() argument 2762 super_type::move (s); in move() 2768 value.move< bool > (YY_MOVE (s.value)); in move() [all …]
|
/hal_rpi_pico-3.4.0/src/host/hardware_uart/include/hardware/ |
D | uart.h | 78 void uart_puts(uart_inst_t *uart, const char *s);
|
/hal_rpi_pico-3.4.0/src/rp2_common/cmsis/stub/CMSIS/Core/Include/ |
D | cmsis_armcc.h | 537 uint32_t s = (4U /*sizeof(v)*/ * 8U) - 1U; /* extra shift needed at end */ in __RBIT() local 544 s--; in __RBIT() 546 result <<= s; /* shift when v's highest bits are zero */ in __RBIT()
|
/hal_rpi_pico-3.4.0/src/rp2_common/pico_printf/ |
D | printf.c | 176 const char *s; in _strnlen_s() local 177 for (s = str; *s && maxsize--; ++s); in _strnlen_s() 178 return (unsigned int) (s - str); in _strnlen_s()
|
/hal_rpi_pico-3.4.0/docs/ |
D | main.css | 48 transition: 0.2s left;
|
D | Doxyfile.in | 16 *.s \
|
D | logo-mobile.svg | 18 …<path class="cls-2" d="M80.656,50.9434c7.02971,5.84278-1.02445,9.97893-9.78984,9.97893s-16.81947-4…
|
D | mainpage.md | 5 …dard C/C++ libraries are supported along with APIs for accessing the RP2040’s hardware, including … 7 … environments such as MicroPython, to low-level software such as the RP2040’s on-chip bootrom itse…
|
/hal_rpi_pico-3.4.0/src/ |
D | rp2_common.cmake | 41 COMMAND ln -s -r $<TARGET_FILE:${TARGET}> "${PICO_SYMLINK_ELF_AS_FILENAME}"
|