Crate raspberrypi_utils_sys

Crate raspberrypi_utils_sys 

Source

Structs§

Ws2812
_G_fpos64_t
_G_fpos_t
_IO_FILE
_IO_codecvt
_IO_cookie_io_functions_t
_IO_marker
_IO_wide_data
__atomic_wide_counter__bindgen_ty_1
__fsid_t
__mbstate_t
__once_flag
__pthread_cond_s
__pthread_internal_list
__pthread_internal_slist
__pthread_mutex_s
__pthread_rwlock_arch_t
__sigset_t
__va_list_tag
div_t
drand48_data
fd_set
imaxdiv_t
ldiv_t
lldiv_t
max_align_t
pio_chip
pio_instance
pio_program
pio_sm_config
random_data
timespec
timeval

Constants§

BIG_ENDIAN
BUFSIZ
BYTE_ORDER
EOF
EXIT_FAILURE
EXIT_SUCCESS
FD_SETSIZE
FILENAME_MAX
FOPEN_MAX
GPIO_IN
GPIO_OUT
INT8_MAX
INT8_MIN
INT16_MAX
INT16_MIN
INT32_MAX
INT32_MIN
INTPTR_MAX
INTPTR_MIN
INT_FAST8_MAX
INT_FAST8_MIN
INT_FAST16_MAX
INT_FAST16_MIN
INT_FAST32_MAX
INT_FAST32_MIN
INT_LEAST8_MAX
INT_LEAST8_MIN
INT_LEAST16_MAX
INT_LEAST16_MIN
INT_LEAST32_MAX
INT_LEAST32_MIN
LITTLE_ENDIAN
L_ctermid
L_tmpnam
NUM_BANK0_GPIOS
PARAM_ASSERTIONS_DISABLE_ALL
PARAM_ASSERTIONS_ENABLED_GPIO
PARAM_ASSERTIONS_ENABLED_PIO
PARAM_ASSERTIONS_ENABLE_ALL
PDP_ENDIAN
PICO_DEFAULT_LED_PIN
PRIX8
PRIX16
PRIX32
PRIX64
PRIXFAST8
PRIXFAST16
PRIXFAST32
PRIXFAST64
PRIXLEAST8
PRIXLEAST16
PRIXLEAST32
PRIXLEAST64
PRIXMAX
PRIXPTR
PRId8
PRId16
PRId32
PRId64
PRIdFAST8
PRIdFAST16
PRIdFAST32
PRIdFAST64
PRIdLEAST8
PRIdLEAST16
PRIdLEAST32
PRIdLEAST64
PRIdMAX
PRIdPTR
PRIi8
PRIi16
PRIi32
PRIi64
PRIiFAST8
PRIiFAST16
PRIiFAST32
PRIiFAST64
PRIiLEAST8
PRIiLEAST16
PRIiLEAST32
PRIiLEAST64
PRIiMAX
PRIiPTR
PRIo8
PRIo16
PRIo32
PRIo64
PRIoFAST8
PRIoFAST16
PRIoFAST32
PRIoFAST64
PRIoLEAST8
PRIoLEAST16
PRIoLEAST32
PRIoLEAST64
PRIoMAX
PRIoPTR
PRIu8
PRIu16
PRIu32
PRIu64
PRIuFAST8
PRIuFAST16
PRIuFAST32
PRIuFAST64
PRIuLEAST8
PRIuLEAST16
PRIuLEAST32
PRIuLEAST64
PRIuMAX
PRIuPTR
PRIx8
PRIx16
PRIx32
PRIx64
PRIxFAST8
PRIxFAST16
PRIxFAST32
PRIxFAST64
PRIxLEAST8
PRIxLEAST16
PRIxLEAST32
PRIxLEAST64
PRIxMAX
PRIxPTR
PTRDIFF_MAX
PTRDIFF_MIN
P_tmpdir
RAND_MAX
SCNd8
SCNd16
SCNd32
SCNd64
SCNdFAST8
SCNdFAST16
SCNdFAST32
SCNdFAST64
SCNdLEAST8
SCNdLEAST16
SCNdLEAST32
SCNdLEAST64
SCNdMAX
SCNdPTR
SCNi8
SCNi16
SCNi32
SCNi64
SCNiFAST8
SCNiFAST16
SCNiFAST32
SCNiFAST64
SCNiLEAST8
SCNiLEAST16
SCNiLEAST32
SCNiLEAST64
SCNiMAX
SCNiPTR
SCNo8
SCNo16
SCNo32
SCNo64
SCNoFAST8
SCNoFAST16
SCNoFAST32
SCNoFAST64
SCNoLEAST8
SCNoLEAST16
SCNoLEAST32
SCNoLEAST64
SCNoMAX
SCNoPTR
SCNu8
SCNu16
SCNu32
SCNu64
SCNuFAST8
SCNuFAST16
SCNuFAST32
SCNuFAST64
SCNuLEAST8
SCNuLEAST16
SCNuLEAST32
SCNuLEAST64
SCNuMAX
SCNuPTR
SCNx8
SCNx16
SCNx32
SCNx64
SCNxFAST8
SCNxFAST16
SCNxFAST32
SCNxFAST64
SCNxLEAST8
SCNxLEAST16
SCNxLEAST32
SCNxLEAST64
SCNxMAX
SCNxPTR
SEEK_CUR
SEEK_END
SEEK_SET
SIG_ATOMIC_MAX
SIG_ATOMIC_MIN
SIZE_MAX
TMP_MAX
UINT8_MAX
UINT16_MAX
UINT32_MAX
UINTPTR_MAX
UINT_FAST8_MAX
UINT_FAST16_MAX
UINT_FAST32_MAX
UINT_LEAST8_MAX
UINT_LEAST16_MAX
UINT_LEAST32_MAX
WCONTINUED
WEXITED
WINT_MAX
WINT_MIN
WNOHANG
WNOWAIT
WSTOPPED
WUNTRACED
_ALLOCA_H
_ASSERT_H
_ATFILE_SOURCE
_BITS_BYTESWAP_H
_BITS_ENDIANNESS_H
_BITS_ENDIAN_H
_BITS_PTHREADTYPES_ARCH_H
_BITS_PTHREADTYPES_COMMON_H
_BITS_STDINT_INTN_H
_BITS_STDINT_LEAST_H
_BITS_STDINT_UINTN_H
_BITS_STDIO_LIM_H
_BITS_TIME64_H
_BITS_TYPESIZES_H
_BITS_TYPES_H
_BITS_UINTN_IDENTITY_H
_BITS_WCHAR_H
_DEFAULT_SOURCE
_ENDIAN_H
_FEATURES_H
_INTTYPES_H
_IOFBF
_IOLBF
_IONBF
_IO_EOF_SEEN
_IO_ERR_SEEN
_IO_USER_LOCK
_PIO_INVALID_IN_SRC
_PIO_INVALID_MOV_DEST
_PIO_INVALID_MOV_SRC
_PIO_INVALID_OUT_DEST
_PIO_INVALID_SET_DEST
_POSIX_C_SOURCE
_POSIX_SOURCE
_STDC_PREDEF_H
_STDINT_H
_STDIO_H
_STDLIB_H
_STRUCT_TIMESPEC
_SYS_CDEFS_H
_SYS_SELECT_H
_SYS_TYPES_H
_THREAD_MUTEX_INTERNAL_H
_THREAD_SHARED_TYPES_H
__BIG_ENDIAN
__BIT_TYPES_DEFINED__
__BYTE_ORDER
__FD_SETSIZE
__FILE_defined
__FLOAT_WORD_ORDER
__GLIBC_MINOR__
__GLIBC_USE_C2X_STRTOL
__GLIBC_USE_DEPRECATED_GETS
__GLIBC_USE_DEPRECATED_SCANF
__GLIBC_USE_IEC_60559_BFP_EXT
__GLIBC_USE_IEC_60559_BFP_EXT_C2X
__GLIBC_USE_IEC_60559_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X
__GLIBC_USE_IEC_60559_TYPES_EXT
__GLIBC_USE_ISOC2X
__GLIBC_USE_LIB_EXT2
__GLIBC__
__GNU_LIBRARY__
__HAVE_DISTINCT_FLOAT16
__HAVE_DISTINCT_FLOAT32
__HAVE_DISTINCT_FLOAT64
__HAVE_DISTINCT_FLOAT32X
__HAVE_DISTINCT_FLOAT64X
__HAVE_DISTINCT_FLOAT128
__HAVE_DISTINCT_FLOAT128X
__HAVE_FLOAT16
__HAVE_FLOAT32
__HAVE_FLOAT64
__HAVE_FLOAT32X
__HAVE_FLOAT64X
__HAVE_FLOAT64X_LONG_DOUBLE
__HAVE_FLOAT128
__HAVE_FLOAT128X
__HAVE_FLOATN_NOT_TYPEDEF
__HAVE_GENERIC_SELECTION
__INO_T_MATCHES_INO64_T
__KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64
__LDOUBLE_REDIRECTS_TO_FLOAT128_ABI
__LITTLE_ENDIAN
__OFF_T_MATCHES_OFF64_T
__PDP_ENDIAN
__PRI64_PREFIX
__PRIPTR_PREFIX
__PTHREAD_MUTEX_HAVE_PREV
__RLIM_T_MATCHES_RLIM64_T
__SIZEOF_PTHREAD_ATTR_T
__SIZEOF_PTHREAD_BARRIERATTR_T
__SIZEOF_PTHREAD_BARRIER_T
__SIZEOF_PTHREAD_CONDATTR_T
__SIZEOF_PTHREAD_COND_T
__SIZEOF_PTHREAD_MUTEXATTR_T
__SIZEOF_PTHREAD_MUTEX_T
__SIZEOF_PTHREAD_RWLOCKATTR_T
__SIZEOF_PTHREAD_RWLOCK_T
__STATFS_MATCHES_STATFS64
__STDC_IEC_559_COMPLEX__
__STDC_IEC_559__
__STDC_IEC_60559_BFP__
__STDC_IEC_60559_COMPLEX__
__STDC_ISO_10646__
__SYSCALL_WORDSIZE
__TIMESIZE
__USE_ATFILE
__USE_FORTIFY_LEVEL
__USE_ISOC11
__USE_ISOC95
__USE_ISOC99
__USE_MISC
__USE_POSIX
__USE_POSIX2
__USE_POSIX199309
__USE_POSIX199506
__USE_POSIX_IMPLICITLY
__USE_XOPEN2K
__USE_XOPEN2K8
__WALL
__WCLONE
__WCOREFLAG
__WNOTHREAD
__WORDSIZE
__WORDSIZE_TIME64_COMPAT32
__W_CONTINUED
____FILE_defined
_____fpos64_t_defined
_____fpos_t_defined
____gwchar_t_defined
____mbstate_t_defined
__bool_true_false_are_defined
__clock_t_defined
__clockid_t_defined
__cookie_io_functions_t_defined
__glibc_c99_flexarr_available
__have_pthread_attr_t
__ldiv_t_defined
__lldiv_t_defined
__sigset_t_defined
__struct_FILE_defined
__time_t_defined
__timer_t_defined
__timeval_defined
clock_index_CLK_COUNT
clock_index_clk_adc
< ADC clock
clock_index_clk_gpout0
< GPIO Muxing 0
clock_index_clk_gpout1
< GPIO Muxing 1
clock_index_clk_gpout2
< GPIO Muxing 2
clock_index_clk_gpout3
< GPIO Muxing 3
clock_index_clk_peri
< Peripheral clock for UART and SPI
clock_index_clk_ref
< Watchdog and timers reference clock
clock_index_clk_rtc
< Real time clock
clock_index_clk_sys
< Processors, bus fabric, memory, memory mapped registers
clock_index_clk_usb
< USB clock
false_
gpio_drive_strength_GPIO_DRIVE_STRENGTH_2MA
< 2 mA nominal drive strength
gpio_drive_strength_GPIO_DRIVE_STRENGTH_4MA
< 4 mA nominal drive strength
gpio_drive_strength_GPIO_DRIVE_STRENGTH_8MA
< 8 mA nominal drive strength
gpio_drive_strength_GPIO_DRIVE_STRENGTH_12MA
< 12 mA nominal drive strength
gpio_function_GPIO_FUNC_GPCK
gpio_function_GPIO_FUNC_I2C
gpio_function_GPIO_FUNC_NULL
gpio_function_GPIO_FUNC_PIO0
gpio_function_GPIO_FUNC_PIO1
gpio_function_GPIO_FUNC_PWM
gpio_function_GPIO_FUNC_SIO
gpio_function_GPIO_FUNC_SPI
gpio_function_GPIO_FUNC_UART
gpio_function_GPIO_FUNC_USB
gpio_function_GPIO_FUNC_XIP
gpio_irq_level_GPIO_IRQ_EDGE_FALL
gpio_irq_level_GPIO_IRQ_EDGE_RISE
gpio_irq_level_GPIO_IRQ_LEVEL_HIGH
gpio_irq_level_GPIO_IRQ_LEVEL_LOW
gpio_override_GPIO_OVERRIDE_HIGH
< drive high/enable output
gpio_override_GPIO_OVERRIDE_INVERT
< invert peripheral signal selected via \ref gpio_set_function
gpio_override_GPIO_OVERRIDE_LOW
< drive low/disable output
gpio_override_GPIO_OVERRIDE_NORMAL
< peripheral signal selected via \ref gpio_set_function
gpio_slew_rate_GPIO_SLEW_RATE_FAST
< Slew rate limiting disabled
gpio_slew_rate_GPIO_SLEW_RATE_SLOW
< Slew rate limiting enabled
pio_fifo_join_PIO_FIFO_JOIN_NONE
pio_fifo_join_PIO_FIFO_JOIN_RX
pio_fifo_join_PIO_FIFO_JOIN_TX
pio_instr_bits_pio_instr_bits_in
pio_instr_bits_pio_instr_bits_irq
pio_instr_bits_pio_instr_bits_jmp
pio_instr_bits_pio_instr_bits_mov
pio_instr_bits_pio_instr_bits_out
pio_instr_bits_pio_instr_bits_pull
pio_instr_bits_pio_instr_bits_push
pio_instr_bits_pio_instr_bits_set
pio_instr_bits_pio_instr_bits_wait
pio_mov_status_type_STATUS_RX_LESSTHAN
pio_mov_status_type_STATUS_TX_LESSTHAN
pio_src_dest_pio_exec_mov
pio_src_dest_pio_exec_out
pio_src_dest_pio_isr
pio_src_dest_pio_null
pio_src_dest_pio_osr
pio_src_dest_pio_pc
pio_src_dest_pio_pindirs
pio_src_dest_pio_pins
pio_src_dest_pio_status
pio_src_dest_pio_x
pio_src_dest_pio_y
pio_xfer_dir_PIO_DIR_COUNT
pio_xfer_dir_PIO_DIR_FROM_SM
pio_xfer_dir_PIO_DIR_TO_SM
true_

Statics§

stderr
stdin
stdout

Functions§

_Exit
__asprintf
__assert
__assert_fail
__assert_perror_fail
__bswap_16
__bswap_32
__bswap_64
__ctype_get_mb_cur_max
__getdelim
__overflow
__uflow
__uint16_identity
__uint32_identity
__uint64_identity
a64l
abort
abs
aligned_alloc
alloca
arc4random
arc4random_buf
arc4random_uniform
asprintf
at_quick_exit
atexit
atof
atoi
atol
atoll
bsearch
calloc
check_gpio_param
check_pio_param
clearenv
clearerr
clearerr_unlocked
clock_get_hz
ctermid
div
dprintf
drand48
drand48_r
ecvt
ecvt_r
erand48
erand48_r
exit
fclose
fcvt
fcvt_r
fdopen
feof
feof_unlocked
ferror
ferror_unlocked
fflush
fflush_unlocked
fgetc
fgetc_unlocked
fgetpos
fgets
fileno
fileno_unlocked
flockfile
fmemopen
fopen
fopencookie
fprintf
fputc
fputc_unlocked
fputs
fread
fread_unlocked
free
freopen
fscanf
fscanf1
fseek
fseeko
fsetpos
ftell
ftello
ftrylockfile
funlockfile
fwrite
fwrite_unlocked
gcvt
getc
getc_unlocked
getchar
getchar_unlocked
getdelim
getenv
getline
getloadavg
getsubopt
getw
gpio_disable_pulls
gpio_init
gpio_pull_down
gpio_pull_up
gpio_set_drive_strength
gpio_set_function
gpio_set_inover
gpio_set_input_enabled
gpio_set_oeover
gpio_set_outover
gpio_set_pulls
imaxabs
imaxdiv
initstate
initstate_r
jrand48
jrand48_r
l64a
labs
lcong48
lcong48_r
ldiv
llabs
lldiv
lrand48
lrand48_r
malloc
mblen
mbstowcs
mbtowc
mkdtemp
mkstemp
mkstemps
mktemp
mrand48
mrand48_r
nrand48
nrand48_r
on_exit
open_memstream
pclose
perror
pio_add_program
pio_add_program_at_offset
pio_can_add_program
pio_can_add_program_at_offset
pio_claim_sm_mask
pio_claim_unused_sm
pio_clear_error
pio_clear_instruction_memory
pio_clkdiv_restart_sm_mask
pio_close
pio_enable_fatal_errors
pio_enable_sm_in_sync_mask
pio_encode_delay
pio_encode_in
pio_encode_irq_clear
pio_encode_irq_set
pio_encode_irq_wait
pio_encode_jmp
pio_encode_jmp_not_osre
pio_encode_jmp_not_x
pio_encode_jmp_not_y
pio_encode_jmp_pin
pio_encode_jmp_x_dec
pio_encode_jmp_x_ne_y
pio_encode_jmp_y_dec
pio_encode_mov
pio_encode_mov_not
pio_encode_mov_reverse
pio_encode_nop
pio_encode_out
pio_encode_pull
pio_encode_push
pio_encode_set
pio_encode_sideset
pio_encode_sideset_opt
pio_encode_wait_gpio
pio_encode_wait_irq
pio_encode_wait_pin
pio_error
pio_get_current
pio_get_default_sm_config
pio_get_default_sm_config_for_pio
pio_get_error
pio_get_fifo_depth
pio_get_index
pio_get_instruction_count
pio_get_sm_count
pio_gpio_init
pio_init
pio_open
pio_open_by_name
pio_open_helper
pio_panic
pio_remove_program
pio_restart_sm_mask
pio_select
pio_set_sm_mask_enabled
pio_sm_claim
pio_sm_clear_fifos
pio_sm_clkdiv_restart
pio_sm_config_xfer
pio_sm_drain_tx_fifo
pio_sm_exec
pio_sm_exec_wait_blocking
pio_sm_get
pio_sm_get_blocking
pio_sm_get_rx_fifo_level
pio_sm_get_tx_fifo_level
pio_sm_init
pio_sm_is_claimed
pio_sm_is_rx_fifo_empty
pio_sm_is_rx_fifo_full
pio_sm_is_tx_fifo_empty
pio_sm_is_tx_fifo_full
pio_sm_put
pio_sm_put_blocking
pio_sm_restart
pio_sm_set_clkdiv
pio_sm_set_clkdiv_int_frac
pio_sm_set_config
pio_sm_set_consecutive_pindirs
pio_sm_set_dmactrl
pio_sm_set_enabled
pio_sm_set_pindirs_with_mask
pio_sm_set_pins
pio_sm_set_pins_with_mask
pio_sm_unclaim
pio_sm_xfer_data
popen
posix_memalign
printf
pselect
putc
putc_unlocked
putchar
putchar_unlocked
putenv
puts
putw
qecvt
qecvt_r
qfcvt
qfcvt_r
qgcvt
qsort
quick_exit
rand
rand_r
random
random_r
realloc
reallocarray
realpath
remove
rename
renameat
rewind
rpmatch
scanf
scanf1
seed48
seed48_r
select
setbuf
setbuffer
setenv
setlinebuf
setstate
setstate_r
setvbuf
sleep_ms
sleep_us
sm_config_set_clkdiv
sm_config_set_clkdiv_int_frac
sm_config_set_fifo_join
sm_config_set_in_pins
sm_config_set_in_shift
sm_config_set_jmp_pin
sm_config_set_mov_status
sm_config_set_out_pins
sm_config_set_out_shift
sm_config_set_out_special
sm_config_set_set_pins
sm_config_set_sideset
sm_config_set_sideset_pins
sm_config_set_wrap
snprintf
sprintf
srand
srand48
srand48_r
srandom
srandom_r
sscanf
sscanf1
stdio_init_all
strtod
strtof
strtoimax
strtol
strtold
strtoll
strtoq
strtoul
strtoull
strtoumax
strtouq
system
tempnam
tmpfile
tmpnam
tmpnam_r
ungetc
unsetenv
urgb_u32
valloc
vasprintf
vdprintf
vfprintf
vfscanf
vfscanf1
vprintf
vscanf
vscanf1
vsnprintf
vsprintf
vsscanf
vsscanf1
wcstoimax
wcstombs
wcstoumax
wctomb

Type Aliases§

FILE
PIO
PIO_CHIP_T
_Float32
_Float64
_Float32x
_Float64x
_IO_lock_t
__FILE
__blkcnt64_t
__blkcnt_t
__blksize_t
__builtin_va_list
__caddr_t
__clock_t
__clockid_t
__compar_fn_t
__daddr_t
__dev_t
__fd_mask
__fpos64_t
__fpos_t
__fsblkcnt64_t
__fsblkcnt_t
__fsfilcnt64_t
__fsfilcnt_t
__fsword_t
__gid_t
__gnuc_va_list
__gwchar_t
__id_t
__ino64_t
__ino_t
__int8_t
__int16_t
__int32_t
__int64_t
__int_least8_t
__int_least16_t
__int_least32_t
__int_least64_t
__intmax_t
__intptr_t
__key_t
__loff_t
__mode_t
__nlink_t
__off64_t
__off_t
__pid_t
__pthread_list_t
__pthread_slist_t
__quad_t
__rlim64_t
__rlim_t
__sig_atomic_t
__socklen_t
__ssize_t
__suseconds64_t
__suseconds_t
__syscall_slong_t
__syscall_ulong_t
__thrd_t
__time_t
__timer_t
__tss_t
__u_char
__u_int
__u_long
__u_quad_t
__u_short
__uid_t
__uint8_t
__uint16_t
__uint32_t
__uint64_t
__uint_least8_t
__uint_least16_t
__uint_least32_t
__uint_least64_t
__uintmax_t
__useconds_t
blkcnt_t
blksize_t
caddr_t
clock_index
clock_t
clockid_t
cookie_close_function_t
cookie_io_functions_t
cookie_read_function_t
cookie_seek_function_t
cookie_write_function_t
daddr_t
dev_t
fd_mask
fpos_t
fsblkcnt_t
fsfilcnt_t
fsid_t
gid_t
gpio_drive_strength
gpio_function
gpio_irq_level
gpio_override
gpio_slew_rate
id_t
ino_t
int_fast8_t
int_fast16_t
int_fast32_t
int_fast64_t
int_least8_t
int_least16_t
int_least32_t
int_least64_t
intmax_t
key_t
loff_t
mode_t
nlink_t
off_t
pid_t
pio_fifo_join
pio_instr_bits
pio_mov_status_type
pio_program_t
pio_src_dest
pio_xfer_dir
pthread_key_t
pthread_once_t
pthread_spinlock_t
pthread_t
quad_t
register_t
sigset_t
suseconds_t
time_t
timer_t
u_char
u_int
u_int8_t
u_int16_t
u_int32_t
u_int64_t
u_long
u_quad_t
u_short
uid_t
uint
uint_fast8_t
uint_fast16_t
uint_fast32_t
uint_fast64_t
uint_least8_t
uint_least16_t
uint_least32_t
uint_least64_t
uintmax_t
ulong
ushort
va_list
wchar_t

Unions§

__atomic_wide_counter
__mbstate_t__bindgen_ty_1
pthread_attr_t
pthread_barrier_t
pthread_barrierattr_t
pthread_cond_t
pthread_condattr_t
pthread_mutex_t
pthread_mutexattr_t
pthread_rwlock_t
pthread_rwlockattr_t