Module simics::api::simulator::hap_consumer
source ยท Expand description
HAP APIs and HAP definitions
Re-exportsยง
pub use self::haps::*;
Modulesยง
- Automatically generated HAP implementations
Functionsยง
- _get_
all_ ๐hap_ types Return an attribute list of all hap types. - _hap_
add_ ๐type Add a new hap type - _hap_
get_ ๐name Get the name from a hap number - _hap_
get_ ๐number Get the number from a hap name - _hap_
is_ ๐active Check if a hap is active (i.e. it has 1 or more registered handlers) - _hap_
is_ ๐active_ obj Check if a hap is active for a given object - check if a hap is active for a given object and index
- _hap_
occurred_ ๐always Trigger a hap occurrence - _hap_
remove_ ๐type Remove a custom hap type registered withhap_add_type
- Return an attribute list of all hap types.
- Add a new hap type
- Get the name from a hap number
- Get the number from a hap name
- Check if a hap is active (i.e. it has 1 or more registered handlers)
- Check if a hap is active for a given object
- check if a hap is active for a given object and index
- Trigger a hap occurrence
- Remove a custom hap type registered with
hap_add_type
Type Aliasesยง
- Alias for
hap_handle_t
- Alias for
hap_type_t