Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diondokter/device-driver
/ functions
Functions
461 in github.com/diondokter/device-driver
⨍
Functions
461
◇
Types & classes
148
Method
read_register
( &mut self, address: Self::AddressType, _size_bits: u32, data: &mut [u8],
device-driver/tests/basic-block.rs:36
Method
read_register
( &mut self, _address: Self::AddressType, _size_bits: u32, _data: &mut [u8],
device-driver/tests/basic-register-async.rs:18
Method
read_register
( &mut self, address: Self::AddressType, _size_bits: u32, data: &mut [u8],
device-driver/tests/duplicate-cfg-register.rs:36
Function
ref_block
()
generation/src/dsl_hir/mir_transform.rs:1839
Function
ref_command
()
generation/src/dsl_hir/mir_transform.rs:1567
Function
ref_found
()
generation/src/mir/passes/refs_validated.rs:81
Function
ref_no_buffer_or_ref
()
generation/src/dsl_hir/mir_transform.rs:1336
Function
ref_register
()
generation/src/dsl_hir/mir_transform.rs:1367
Function
ref_uses_own_address
()
device-driver/tests/refs.rs:73
Function
refs_have_own_reset_value
()
device-driver/tests/refs.rs:97
Function
refs_have_same_type
()
device-driver/tests/refs.rs:83
Function
register
()
generation/src/dsl_hir/mir_transform.rs:2042
Function
register_parsed
()
generation/src/manifest/mod.rs:992
Function
run_pass
Checks if the various address types are specified. If not an error is given out.
generation/src/mir/passes/address_types_specified.rs:8
Function
run_pass
Propagate the cfg attributes. This makes sure that any child will be able to be active when the parent is not. Currently this is done by `all(...)` c
generation/src/mir/passes/propagate_cfg.rs:8
Function
run_pass
Checks if the various address types can fully contain the min and max addresses of the types of objects they are for
generation/src/mir/passes/address_types_big_enough.rs:8
Function
run_pass
Check all bool fields. They must be exactly zero or one bits long and have no conversion
generation/src/mir/passes/bool_fields_checked.rs:6
Function
run_passes
(device: &mut Device)
generation/src/mir/passes/mod.rs:15
Function
run_test
(input_path: &Path, output_path: &Path)
tests/src/lib.rs:7
Function
same_output
()
generation/tests/same_output.rs:2
Method
set_value
Write the `value` field of the register.
tests/cases/basic_register/basic_register.rs:141
Method
set_value
Write the `value` field of the register. \\\"#{ %@&\n
tests/cases/description_string_escapes/description_string_escapes.rs:147
Method
set_value_rw
Write the `value_rw` field of the register.
tests/cases/fieldset_access/fieldset_access.rs:194
Method
set_value_wo
Write the `value_wo` field of the register.
tests/cases/fieldset_access/fieldset_access.rs:205
Method
size_bytes
(&self)
generation/src/lir/mod.rs:77
Function
store_lsb0
(value: T, start: usize, end: usize, data: &mut [u8])
device-driver/src/ops.rs:56
Function
store_msb0
(value: T, start: usize, end: usize, data: &mut [u8])
device-driver/src/ops.rs:154
Function
store_same_as_bitvec
()
device-driver/src/ops.rs:454
Function
test_basic_read_modify_write
()
device-driver/tests/cfg-register.rs:79
Function
test_basic_read_modify_write
()
device-driver/tests/basic-register-manifest.rs:55
Function
test_basic_read_modify_write
()
device-driver/tests/basic-register.rs:84
Function
test_basic_read_modify_write
()
device-driver/tests/type-conversions.rs:152
Function
test_basic_read_modify_write
()
device-driver/tests/basic-block.rs:78
Function
test_basic_read_modify_write
()
device-driver/tests/duplicate-cfg-register.rs:83
Function
test_integer_try_from_ident
()
generation/src/dsl_hir/mir_transform.rs:2218
Function
test_repeated_read_modify_write
()
device-driver/tests/basic-register-manifest.rs:93
Function
test_repeated_read_modify_write
()
device-driver/tests/basic-register.rs:122
Function
test_repeated_too_large_index
()
device-driver/tests/basic-register-manifest.rs:87
Function
test_repeated_too_large_index
()
device-driver/tests/basic-register.rs:116
Function
test_repeated_too_large_index
()
device-driver/tests/basic-block.rs:111
Function
transform
(device: mir::Device, driver_name: &str)
generation/src/mir/lir_transform.rs:15
Function
transform_object
((key, value): (&str, &impl Value))
generation/src/manifest/mod.rs:169
Method
try_from
(value: syn::Ident)
generation/src/dsl_hir/mir_transform.rs:48
Method
try_from
(value: u8)
device-driver/tests/type-conversions.rs:107
Function
twos_complement
()
device-driver/src/ops.rs:510
Function
type_id_of
(_: &T)
device-driver/tests/refs.rs:92
Function
well_enough_specified
()
generation/src/mir/passes/byte_order_specified.rs:61
Method
write
Write to the register. The closure is given the write object initialized to the reset value of the register. If no reset value is specified for this
device-driver/src/register.rs:93
Method
write_all_async
Write an entire buffer into this writer. This function calls write() in a loop until exactly buf.len() bytes have been written, blocking if needed.
device-driver/src/buffer.rs:166
Method
write_async
Write to the register. The closure is given the write object initialized to the reset value of the register. If no reset value is specified for this
device-driver/src/register.rs:174
Method
write_register
( &mut self, _address: Self::AddressType, _size_bits: u32, data: &[u8], )
device-driver/tests/endianness-respected.rs:9
Method
write_register
( &mut self, address: Self::AddressType, _size_bits: u32, data: &[u8], )
device-driver/tests/cfg-register.rs:25
Method
write_register
( &mut self, address: Self::AddressType, size_bits: u32, data: &[u8], )
device-driver/tests/basic-register-manifest.rs:25
Method
write_register
( &mut self, address: Self::AddressType, size_bits: u32, data: &[u8], )
device-driver/tests/basic-register.rs:25
Method
write_register
( &mut self, address: Self::AddressType, _size_bits: u32, data: &[u8], )
device-driver/tests/type-conversions.rs:25
Method
write_register
( &mut self, address: Self::AddressType, _size_bits: u32, data: &[u8], )
device-driver/tests/basic-block.rs:25
Method
write_register
( &mut self, _address: Self::AddressType, _size_bits: u32, _data: &[u8], )
device-driver/tests/basic-register-async.rs:9
Method
write_register
( &mut self, address: Self::AddressType, _size_bits: u32, data: &[u8], )
device-driver/tests/duplicate-cfg-register.rs:25
Method
write_with_zero_async
Write to the register. The closure is given the write object initialized to all zero.
device-driver/src/register.rs:194
Function
wrong_num_bytes_arry
()
generation/src/mir/passes/reset_values_converted.rs:422
Function
xor
()
device-driver/tests/bit-ops.rs:53
← previous
401–461 of 461, ranked by callers