Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 67) sorted by relevance

123

/hal_rpi_pico-latest/tools/pioasm/gen/
Dparser.cpp215 value.YY_MOVE_OR_COPY< bool > (YY_MOVE (that.value)); in stack_symbol_type()
219 value.YY_MOVE_OR_COPY< enum condition > (YY_MOVE (that.value)); in stack_symbol_type()
223 value.YY_MOVE_OR_COPY< enum fifo_config > (YY_MOVE (that.value)); in stack_symbol_type()
229 value.YY_MOVE_OR_COPY< enum in_out_set > (YY_MOVE (that.value)); in stack_symbol_type()
233 value.YY_MOVE_OR_COPY< enum irq > (YY_MOVE (that.value)); in stack_symbol_type()
237 value.YY_MOVE_OR_COPY< enum mov_op > (YY_MOVE (that.value)); in stack_symbol_type()
242 value.YY_MOVE_OR_COPY< extended_mov > (YY_MOVE (that.value)); in stack_symbol_type()
246 value.YY_MOVE_OR_COPY< float > (YY_MOVE (that.value)); in stack_symbol_type()
250 value.YY_MOVE_OR_COPY< int > (YY_MOVE (that.value)); in stack_symbol_type()
255 value.YY_MOVE_OR_COPY< std::shared_ptr<instruction> > (YY_MOVE (that.value)); in stack_symbol_type()
[all …]
Dparser.hpp759 : value () in basic_symbol()
767 , value () in basic_symbol()
777 value.move< bool > (std::move (that.value)); in basic_symbol()
781 value.move< enum condition > (std::move (that.value)); in basic_symbol()
785 value.move< enum fifo_config > (std::move (that.value)); in basic_symbol()
791 value.move< enum in_out_set > (std::move (that.value)); in basic_symbol()
795 value.move< enum irq > (std::move (that.value)); in basic_symbol()
799 value.move< enum mov_op > (std::move (that.value)); in basic_symbol()
804 value.move< extended_mov > (std::move (that.value)); in basic_symbol()
808 value.move< float > (std::move (that.value)); in basic_symbol()
[all …]
/hal_rpi_pico-latest/src/rp2_common/cmsis/stub/CMSIS/Core/Include/
Dcmsis_gcc.h207 __STATIC_FORCEINLINE uint32_t __REV(uint32_t value) in __REV() argument
209 return __builtin_bswap32(value); in __REV()
219 __STATIC_FORCEINLINE uint32_t __REV16(uint32_t value) in __REV16() argument
223 __ASM ("rev16 %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); in __REV16()
234 __STATIC_FORCEINLINE int16_t __REVSH(int16_t value) in __REVSH() argument
236 return (int16_t)__builtin_bswap16(value); in __REVSH()
265 #define __BKPT(value) __ASM volatile ("bkpt "#value) argument
274 __STATIC_FORCEINLINE uint32_t __RBIT(uint32_t value) in __RBIT() argument
279 __ASM ("rbit %0, %1" : "=r" (result) : "r" (value) ); in __RBIT()
283 result = value; /* r will be reversed bits of v; first get LSB of v */ in __RBIT()
[all …]
Dcmsis_armclang.h193 #define __REV(value) __rev(value) argument
202 #define __REV16(value) __rev16(value) argument
211 #define __REVSH(value) __revsh(value) argument
231 #define __BKPT(value) __ASM volatile ("bkpt "#value) argument
240 #define __RBIT(value) __rbit(value) argument
249 #define __CLZ(value) __clz(value) argument
262 #define __SSAT(value, sat) __ssat(value, sat) argument
272 #define __USAT(value, sat) __usat(value, sat) argument
408 __STATIC_FORCEINLINE uint32_t __RRX(uint32_t value) in __RRX() argument
412 __ASM volatile ("rrx %0, %1" : "=r" (result) : "r" (value)); in __RRX()
[all …]
Dcmsis_clang.h198 #define __REV(value) __rev(value) argument
207 #define __REV16(value) __rev16(value) argument
216 #define __REVSH(value) __revsh(value) argument
236 #define __BKPT(value) __ASM volatile ("bkpt "#value) argument
245 #define __RBIT(value) __rbit(value) argument
254 #define __CLZ(value) __clz(value) argument
267 #define __SSAT(value, sat) __ssat(value, sat) argument
277 #define __USAT(value, sat) __usat(value, sat) argument
413 __STATIC_FORCEINLINE uint32_t __RRX(uint32_t value) in __RRX() argument
417 __ASM volatile ("rrx %0, %1" : "=r" (result) : "r" (value)); in __RRX()
[all …]
Dcmsis_armcc.h481 __attribute__((section(".rev16_text"))) __STATIC_INLINE __ASM uint32_t __REV16(uint32_t value) in __REV16() argument
496 __attribute__((section(".revsh_text"))) __STATIC_INLINE __ASM int16_t __REVSH(int16_t value) in __REVSH() argument
521 #define __BKPT(value) __breakpoint(value) argument
534 __attribute__((always_inline)) __STATIC_INLINE uint32_t __RBIT(uint32_t value) in __RBIT() argument
539 result = value; /* r will be reversed bits of v; first get LSB of v */ in __RBIT()
540 for (value >>= 1U; value != 0U; value >>= 1U) in __RBIT()
543 result |= value & 1U; in __RBIT()
612 #define __STREXB(value, ptr) __strex(value, ptr) argument
614 …#define __STREXB(value, ptr) _Pragma("push") _Pragma("diag_suppress 3731") __strex(value, ptr) … argument
627 #define __STREXH(value, ptr) __strex(value, ptr) argument
[all …]
Dcmsis_iccarm.h619 __IAR_FT uint32_t __STREXW(uint32_t value, uint32_t volatile *ptr) in __STREXW() argument
621 return __STREX(value, (unsigned long *)ptr); in __STREXW()
629 __IAR_FT uint32_t __RRX(uint32_t value) in __RRX() argument
632 __ASM volatile("RRX %0, %1" : "=r"(result) : "r" (value)); in __RRX()
636 __IAR_FT void __set_BASEPRI_MAX(uint32_t value) in __set_BASEPRI_MAX() argument
638 __asm volatile("MSR BASEPRI_MAX,%0"::"r" (value)); in __set_BASEPRI_MAX()
669 __IAR_FT void __set_MSPLIM(uint32_t value) in __set_MSPLIM() argument
674 (void)value; in __set_MSPLIM()
676 __asm volatile("MSR MSPLIM,%0" :: "r" (value)); in __set_MSPLIM()
693 __IAR_FT void __set_PSPLIM(uint32_t value) in __set_PSPLIM() argument
[all …]
/hal_rpi_pico-latest/src/rp2_common/pico_printf/
Dprintf.c259 …long(out_fct_type out, char *buffer, size_t idx, size_t maxlen, unsigned long value, bool negative, in _ntoa_long() argument
265 if (!value) { in _ntoa_long()
270 if (!(flags & FLAGS_PRECISION) || value) { in _ntoa_long()
272 const char digit = (char) (value % base); in _ntoa_long()
274 value /= base; in _ntoa_long()
275 } while (value && (len < PICO_PRINTF_NTOA_BUFFER_SIZE)); in _ntoa_long()
285 …ntoa_long_long(out_fct_type out, char *buffer, size_t idx, size_t maxlen, unsigned long long value, in _ntoa_long_long() argument
292 if (!value) { in _ntoa_long_long()
297 if (!(flags & FLAGS_PRECISION) || value) { in _ntoa_long_long()
299 const char digit = (char) (value % base); in _ntoa_long_long()
[all …]
/hal_rpi_pico-latest/src/rp2_common/hardware_gpio/include/hardware/
Dgpio.h349 void gpio_set_irqover(uint gpio, uint value);
357 void gpio_set_outover(uint gpio, uint value);
365 void gpio_set_inover(uint gpio, uint value);
373 void gpio_set_oeover(uint gpio, uint value);
1056 static inline void gpio_put_masked(uint32_t mask, uint32_t value) { in gpio_put_masked() argument
1058 gpioc_lo_out_xor((gpioc_lo_out_get() ^ value) & mask); in gpio_put_masked()
1060 sio_hw->gpio_togl = (sio_hw->gpio_out ^ value) & mask; in gpio_put_masked()
1075 static inline void gpio_put_masked64(uint64_t mask, uint64_t value) { in gpio_put_masked64() argument
1077 gpioc_hilo_out_xor((gpioc_hilo_out_get() ^ value) & mask); in gpio_put_masked64()
1079 sio_hw->gpio_togl = (sio_hw->gpio_out ^ (uint32_t)value) & (uint32_t)mask; in gpio_put_masked64()
[all …]
/hal_rpi_pico-latest/src/host/hardware_gpio/
Dgpio.c30 void gpio_set_irqover(uint gpio, uint value) { in gpio_set_irqover() argument
34 void gpio_set_outover(uint gpio, uint value) { in gpio_set_outover() argument
38 void gpio_set_inover(uint gpio, uint value) { in gpio_set_inover() argument
42 void gpio_set_oeover(uint gpio, uint value) { in gpio_set_oeover() argument
105 void gpio_put_masked(uint32_t mask, uint32_t value) { in gpio_put_masked() argument
109 void gpio_put_all(uint32_t value) { in gpio_put_all() argument
113 void gpio_put(uint gpio, int value) { in gpio_put() argument
125 void gpio_set_dir_masked(uint32_t mask, uint32_t value) { in gpio_set_dir_masked() argument
129 void gpio_set_dir_all_bits(uint32_t value) { in gpio_set_dir_all_bits() argument
/hal_rpi_pico-latest/src/rp2_common/cmsis/stub/CMSIS/Core/Include/m-profile/
Dcmsis_iccarm_m.h646 __IAR_FT uint32_t __STREXW(uint32_t value, uint32_t volatile *ptr) in __STREXW() argument
648 return __STREX(value, (unsigned long *)ptr); in __STREXW()
656 __IAR_FT uint32_t __RRX(uint32_t value) in __RRX() argument
659 __ASM volatile("RRX %0, %1" : "=r"(result) : "r" (value)); in __RRX()
663 __IAR_FT void __set_BASEPRI_MAX(uint32_t value) in __set_BASEPRI_MAX() argument
665 __asm volatile("MSR BASEPRI_MAX,%0"::"r" (value)); in __set_BASEPRI_MAX()
704 __IAR_FT void __set_MSPLIM(uint32_t value) in __set_MSPLIM() argument
710 (void)value; in __set_MSPLIM()
712 __asm volatile("MSR MSPLIM,%0" :: "r" (value)); in __set_MSPLIM()
730 __IAR_FT void __set_PSPLIM(uint32_t value) in __set_PSPLIM() argument
[all …]
Dcmsis_tiarmclang_m.h229 #define __REV(value) __rev(value) argument
238 #define __REV16(value) __rev16(value) argument
247 #define __REVSH(value) __revsh(value) argument
267 #define __BKPT(value) __ASM volatile ("bkpt "#value) argument
276 #define __RBIT(value) __rbit(value) argument
285 #define __CLZ(value) __clz(value) argument
298 #define __SSAT(value, sat) __ssat(value, sat) argument
308 #define __USAT(value, sat) __usat(value, sat) argument
444 __STATIC_FORCEINLINE uint32_t __RRX(uint32_t value) in __RRX() argument
448 __ASM volatile ("rrx %0, %1" : "=r" (result) : "r" (value)); in __RRX()
[all …]
/hal_rpi_pico-latest/src/host/hardware_gpio/include/hardware/
Dgpio.h62 void gpio_set_irqover(uint gpio, uint value);
64 void gpio_set_outover(uint gpio, uint value);
66 void gpio_set_inover(uint gpio, uint value);
68 void gpio_set_oeover(uint gpio, uint value);
116 void gpio_put_masked(uint32_t mask, uint32_t value);
119 void gpio_put_all(uint32_t value);
123 void gpio_put(uint gpio, int value);
139 void gpio_set_dir_masked(uint32_t mask, uint32_t value);
145 void gpio_set_dir_all_bits(uint32_t value);
/hal_rpi_pico-latest/tools/pioasm/
Doutput_format.h22 T value; member
28 simple_optional(const T &value) : value(value), specified(true) {} in simple_optional()
31 value = v;
37 const T &get() const { return specified ? value : default_value; } in get()
54 int value; member
57 …symbol(std::string name, int value, bool is_label) : name(std::move(name)), value(value), is_label… in symbol()
Dparser.yy12 %define api.value.type variant
195 …DEFINE symbol_def expression { $2->is_label = false; $2->value = $3; pioasm.get_current_progr…
196 …| ORIGIN value { pioasm.get_current_program(@1, ".origin", true).set_origin(@…
198 …| SIDE_SET value OPTIONAL PINDIRS { pioasm.get_current_program(@1, ".side_set", true).set_sidese…
199 …| SIDE_SET value OPTIONAL { pioasm.get_current_program(@1, ".side_set", true).set_sidese…
200 …| SIDE_SET value PINDIRS { pioasm.get_current_program(@1, ".side_set", true).set_sidese…
201 …| SIDE_SET value { pioasm.get_current_program(@1, ".side_set", true).set_sidese…
202 …| DOT_IN value direction autop threshold { pioasm.get_current_program(@1, ".out", true).set_in(@$,…
203 …| DOT_OUT value direction autop threshold { pioasm.get_current_program(@1, ".out", true).set_out(@…
204 …| DOT_SET value { pioasm.check_version(1, @$, ".in"); pioasm.get_current_progr…
[all …]
Dpio_types.h164 int value; member
166 int_value(const yy::location &l, int value) : resolvable(l), value(value) {} in int_value()
169 return value; in resolve()
216 rvalue value; member
250 rvalue value; member
255 rvalue_loc(const rvalue &v, const yy::location &l) : value(v), location(l) {} in rvalue_loc()
350 label->value = resolvable_int(label->location, instructions.size()); in add_label()
360 void add_lang_opt(std::string lang, std::string name, std::string value);
400 rvalue value; member
402 …instr_in(const yy::location &l, const enum in_out_set &src, rvalue value) : instruction(l), src(sr… in instr_in()
[all …]
Dpio_assembler.cpp104 int value = arg->resolve(pioasm, program, scope); in resolve() local
107 return -value; in resolve()
113 if (value & 1u) { in resolve()
116 value >>= 1u; in resolve()
177 void program::add_lang_opt(std::string lang, std::string name, std::string value) { in add_lang_opt() argument
178 lang_opts[lang].emplace_back(name, value); in add_lang_opt()
205 if (set_count.value) { in finalize()
206 final_set_count = set_count.value->resolve(*this); in finalize()
209 if (sideset.value) { in finalize()
210 int bits = sideset.value->resolve(*this); in finalize()
[all …]
/hal_rpi_pico-latest/tools/
Dextract_configs.py49 value = config_attrs['min']
50 m = re.match(r'^(\d+)e(\d+)$', value.lower())
54 _min = int(value, 0)
56 value = config_attrs['max']
57 m = re.match(r'^(\d+)e(\d+)$', value.lower())
61 _max = int(value, 0)
65 value = config_attrs['default']
66 m = re.match(r'^(\d+)e(\d+)$', value.lower())
70 _default = int(value, 0)
173 value = m.group(2) variable
[all …]
Dcheck_board_header.py89 value = m.group(2) variable
97 if value:
100 value = int(value, 0)
105 resolved_value = value
111 define = DefineType(name, value, resolved_value, lineno)
118 if value:
129 if value:
138 …ple definitions for {} ({} and {})".format(board_header, lineno, name, defines[name].value, value))
149 if resolved_value in pins and resolved_value == value:
Dextract_build_defines.py46 value = config_attrs['min']
47 m = re.match(r'^(\d+)e(\d+)$', value.lower())
51 _min = int(value, 0)
53 value = config_attrs['max']
54 m = re.match(r'^(\d+)e(\d+)$', value.lower())
58 _max = int(value, 0)
62 value = config_attrs['default']
63 m = re.match(r'^(\d+)e(\d+)$', value.lower())
67 _default = int(value, 0)
Dextract_cmake_configs.py46 value = config_attrs['min']
47 m = re.match(r'^(\d+)e(\d+)$', value.lower())
51 _min = int(value, 0)
53 value = config_attrs['max']
54 m = re.match(r'^(\d+)e(\d+)$', value.lower())
58 _max = int(value, 0)
62 value = config_attrs['default']
63 m = re.match(r'^(\d+)e(\d+)$', value.lower())
67 _default = int(value, 0)
/hal_rpi_pico-latest/src/common/pico_base_headers/include/pico/
Dtypes.h89 #define ABSOLUTE_TIME_INITIALIZED_VAR(name, value) name = value argument
91 #define ABSOLUTE_TIME_INITIALIZED_VAR(name, value) name = {value} argument
/hal_rpi_pico-latest/src/rp2_common/hardware_pio/include/hardware/
Dpio_instructions.h95 …pio_encode_instr_and_src_dest(enum pio_instr_bits instr_bits, enum pio_src_dest dest, uint value) { in _pio_encode_instr_and_src_dest() argument
96 return _pio_encode_instr_and_args(instr_bits, dest & 7u, value); in _pio_encode_instr_and_src_dest()
128 static inline uint pio_encode_sideset(uint sideset_bit_count, uint value) { in pio_encode_sideset() argument
130 valid_params_if(PIO_INSTRUCTIONS, value <= ((1u << sideset_bit_count) - 1)); in pio_encode_sideset()
131 return value << (13u - sideset_bit_count); in pio_encode_sideset()
146 static inline uint pio_encode_sideset_opt(uint sideset_bit_count, uint value) { in pio_encode_sideset_opt() argument
148 valid_params_if(PIO_INSTRUCTIONS, value <= ((1u << sideset_bit_count) - 1)); in pio_encode_sideset_opt()
149 return 0x1000u | value << (12u - sideset_bit_count); in pio_encode_sideset_opt()
463 static inline uint pio_encode_set(enum pio_src_dest dest, uint value) { in pio_encode_set() argument
465 return _pio_encode_instr_and_src_dest(pio_instr_bits_set, dest, value); in pio_encode_set()
/hal_rpi_pico-latest/src/common/pico_binary_info/
DCMakeLists.txt13 …# PICO_BUILD_DEFINE: PICO_PROGRAM_NAME, value passed to pico_set_program_name, type=string, group=…
21 …# PICO_BUILD_DEFINE: PICO_PROGRAM_DESCRIPTION, value passed to pico_set_program_description, type=…
26 …# PICO_BUILD_DEFINE: PICO_PROGRAM_URL, value passed to pico_set_program_url, type=string, group=pi…
31 …# PICO_BUILD_DEFINE: PICO_PROGRAM_VERSION_STRING, value passed to pico_set_program_version, type=s…
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_driver/cybt_shared_bus/
Dcybt_shared_bus_driver.h64 cybt_result_t cybt_reg_write_idx(cybt_addr_idx_t reg_idx, uint32_t value);
73 cybt_result_t cybt_set_bt_awake(int value);
75 cybt_result_t cybt_set_bt_intr(int value);

123