#include <stdbool.h>#include <stddef.h>#include <stdint.h>
Include dependency graph for zpal_misc.h:Go to the source code of this file.
Data Structures | |
| struct | zpal_product_id_t |
| Product id struct. More... | |
Typedefs | |
| typedef void * | zpal_debug_config_t |
| Debug config type. Default implementation of zpal_debug_init() will expect this to be a pointer to a zpal_uart_config_t structure. | |
| typedef uint16_t | zpal_soft_reset_info_t |
| Manufacturer's reset information. | |
| typedef uint16_t | zpal_soft_reset_mfid_t |
| Manufacturer ID used by zpal_reboot_with_info. | |
Enumerations | |
| enum | zpal_chip_se_type_t { ZPAL_CHIP_SE_UNKNOWN , ZPAL_CHIP_SE_MID , ZPAL_CHIP_SE_HIGH } |
| Defines for identifying the secure element type supported by the chip. More... | |
Functions | |
| void | zpal_reboot_with_info (const zpal_soft_reset_mfid_t manufacturer_id, const zpal_soft_reset_info_t reset_info) |
| Perform a system reboot and provide information about the context. | |
| void | zpal_initiate_shutdown_handler (void) |
| Prepare for shutdown handler. | |
| void | zpal_shutdown_handler (void) |
| Shutdown handler. | |
| size_t | zpal_get_serial_number_length (void) |
| Get serial number length. | |
| void | zpal_get_serial_number (uint8_t *serial_number) |
| Get serial number. | |
| bool | zpal_in_isr (void) |
| Check if in ISR context. | |
| uint8_t | zpal_get_chip_type (void) |
| Get chip type. | |
| uint8_t | zpal_get_chip_revision (void) |
| Get chip revision. | |
| uint32_t | zpal_get_app_version (void) |
| Get application version. | |
| uint8_t | zpal_get_app_version_major (void) |
| Get major part of application version. | |
| uint8_t | zpal_get_app_version_minor (void) |
| Get minor part of application version. | |
| uint8_t | zpal_get_app_version_patch (void) |
| Get patch part of application version. | |
| void | zpal_get_product_id (zpal_product_id_t *product_id) |
| Get product id. | |
| void | zpal_debug_init (zpal_debug_config_t config) |
| Initialize debug output. | |
| void | zpal_debug_output (const uint8_t *data, uint32_t length) |
| Output debug logs. | |
| void | zpal_disable_interrupts (void) |
| Disable interrupts. | |
| zpal_chip_se_type_t | zpal_get_secure_element_type (void) |
| Get secure element type supported in the chip. | |
| void | zpal_psa_set_location_persistent_key (const void *attributes) |
| Set vendor specific location for storing keys persistently in wrapped or plain form based on the secure element type supported by the chip. | |
| void | zpal_psa_set_location_volatile_key (const void *attributes) |
| Set vendor specific location for storing keys in volatile memory, in wrapped or plain form based on the secure element type supported by the chip. | |
Defines a platform abstraction layer for the Z-Wave miscellaneous functions, not covered by other modules.