Skip to content

Struct x430_hooks

ClassList > x430_hooks

Application hooks of a device. More...

  • #include <x430_types.h>

Public Attributes

Type Name
x430_event_hook event
Reboot, factory reset, watchdog, ...
x430_nvm_read_hook nvm_read
Read part of the EEPROM block or of the backup.
x430_nvm_write_hook nvm_write
Write part of the EEPROM block or of the backup.
x430_read_hook read
Before data is read.
x430_write_hook write
Every accepted register write.

Detailed Description

Every member may be NULL.

Hooks run in the bus context with the bus lock held. They may call the lock-free device functions (x430_device_get(), x430_device_set(), x430_device_id(), x430_device_raise_hardware_error()), but no bus function.

Public Attributes Documentation

variable event

Reboot, factory reset, watchdog, ...

x430_event_hook x430_hooks::event;


variable nvm_read

Read part of the EEPROM block or of the backup.

x430_nvm_read_hook x430_hooks::nvm_read;


variable nvm_write

Write part of the EEPROM block or of the backup.

x430_nvm_write_hook x430_hooks::nvm_write;


variable read

Before data is read.

x430_read_hook x430_hooks::read;


variable write

Every accepted register write.

x430_write_hook x430_hooks::write;



The documentation for this class was generated from the following file inc/x430_types.h