ACU6 Device API
ipc_power_export_generated.h
Go to the documentation of this file.
1 /* IPC code generated by ipc_generator.py version v10.4.0-dirty 2024-08-22 09:58:36.396506 */
2 /* Input files: ipc_core_msgs_spec.c ipc_accelerometer_export_spec.c ipc_analog_inputs_export_spec.c ipc_bt_export_spec.c ipc_bub_export_spec.c ipc_can_export_spec.c ipc_cellular_export_spec.c ipc_connectivity_export_spec.c ipc_diagnostics_export_spec.c ipc_digital_inputs_export_spec.c ipc_digital_outputs_export_spec.c ipc_ethernet_export_spec.c ipc_gyroscope_export_spec.c ipc_hwinfo_export_spec.c ipc_led_export_spec.c ipc_location_export_spec.c ipc_modem_export_spec.c ipc_power_export_spec.c ipc_rtc_export_spec.c ipc_softwareupdate_export_spec.c ipc_wifi_export_spec.c ipc_mqtt_export_spec.c */
3 /* Copyright Actia Nordic AB 2019 */
4 
6 #ifndef A_IPC_IPC_POWER_EXPORT_GENERATED_H
8 #define A_IPC_IPC_POWER_EXPORT_GENERATED_H
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
24 typedef enum {
34 typedef struct {
36  uint32_t length;
40 
52 typedef struct {
69 typedef struct {
84 typedef struct {
107 typedef struct {
124 typedef struct {
139 typedef struct {
156 typedef struct {
158  uint8_t _compiler_no_error;
171 typedef struct {
193 typedef struct {
210 typedef struct {
225 typedef struct {
242 typedef struct {
244  uint8_t _compiler_no_error;
257 typedef struct {
272 typedef struct {
274  uint8_t _compiler_no_error;
286 typedef struct {
290  uint32_t delay_s;
305 typedef struct {
307  uint8_t _compiler_no_error;
322 typedef struct {
324  uint8_t _compiler_no_error;
337 typedef struct {
339  uint8_t _compiler_no_error;
353 typedef struct {
357  uint32_t no_of_clients;
374 typedef struct {
378  uint32_t requestor_index;
390 typedef struct {
411 typedef struct {
413  uint8_t _compiler_no_error;
424 typedef struct {
439 typedef struct {
441  uint8_t _compiler_no_error;
455 typedef struct {
457  uint8_t _compiler_no_error;
468 typedef struct {
483 typedef struct {
485  uint8_t _compiler_no_error;
499 typedef struct {
501  uint8_t _compiler_no_error;
512 typedef struct {
527 typedef struct {
529  uint8_t _compiler_no_error;
543 typedef struct {
545  uint8_t _compiler_no_error;
556 typedef struct {
571 typedef struct {
573  uint8_t _compiler_no_error;
588 A_IPC_RESULT a_ipc_init_power_request_req(a_ipc_msg *msg, uint32_t user_maxlength);
836 A_IPC_RESULT a_ipc_init_power_get_requestor_info_rsp(a_ipc_msg *msg, uint32_t requestor_id_maxlength);
981 
982 #ifdef __cplusplus
983 }
984 #endif
985 
986 #endif
987 
a_ipc_enum_ipc_subscribe_result
Result of subscribing.
Definition: ipc_core_msgs_generated.h:99
uint32_t length
Length of the array (number of elements)
Definition: ipc_power_export_generated.h:36
a_ipc_enum_power_result * value
The contents of the array.
Definition: ipc_power_export_generated.h:38
a_ipc_enum_power_result result
Result of the operation.
Definition: ipc_power_export_generated.h:73
a_ipc_enum_ipc_subscribe_result result
The result of the subscription request.
Definition: ipc_power_export_generated.h:472
a_ipc_dyn_string user
User identifier, max 15 characters long.
Definition: ipc_power_export_generated.h:229
A_IPC_RESULT a_ipc_init_power_reboot_pending_publish_ind(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_reboot_pending_publish_ind.
A_IPC_RESULT a_ipc_init_power_suspend_subscribe_req(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_suspend_subscribe_req.
A_IPC_RESULT a_ipc_init_power_suspend_subscribe_rsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_suspend_subscribe_rsp.
A_IPC_RESULT a_ipc_init_power_get_requestor_info_rsp(a_ipc_msg *msg, uint32_t requestor_id_maxlength)
Initialize the message buffer to contain a_ipc_msg_power_get_requestor_info_rsp.
a_ipc_dyn_string user
User identifier, max 15 characters long.
Definition: ipc_power_export_generated.h:175
a_ipc_dyn_string user
User identifier, max 15 characters long.
Definition: ipc_power_export_generated.h:56
a_ipc_enum_power_result result
Result of the operation.
Definition: ipc_power_export_generated.h:398
A_IPC_RESULT a_ipc_init_power_suspend_ack_req_norsp(a_ipc_msg *msg, uint32_t user_maxlength)
Initialize the message buffer to contain a_ipc_msg_power_suspend_ack_req_norsp.
a_ipc_enum_ipc_subscribe_result result
The result of the subscription request.
Definition: ipc_power_export_generated.h:560
A_IPC_RESULT a_ipc_init_power_shutdown_publish_ind(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_shutdown_publish_ind.
A_IPC_RESULT a_ipc_init_power_shutdown_reboot_req_norsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_shutdown_reboot_req_norsp.
A_IPC_RESULT a_ipc_init_power_shutdown_subscribe_rsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_shutdown_subscribe_rsp.
A_IPC_RESULT a_ipc_init_power_request_req(a_ipc_msg *msg, uint32_t user_maxlength)
Initialize the message buffer to contain a_ipc_msg_power_request_req.
a_ipc_dyn_string user
User identifier, max 15 characters long.
Definition: ipc_power_export_generated.h:143
a_ipc_enum_power_result result
Result of the operation.
Definition: ipc_power_export_generated.h:128
a_ipc_enum_ipc_subscribe_result result
The result of the subscription request.
Definition: ipc_power_export_generated.h:516
a_ipc_enum_power_result result
Result of the operation.
Definition: ipc_power_export_generated.h:214
A_IPC_RESULT a_ipc_init_power_suspend_register_rsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_suspend_register_rsp.
uint32_t no_of_clients
Number of 'clients' requesting the system to be powered on.
Definition: ipc_power_export_generated.h:357
A_IPC_RESULT a_ipc_init_power_get_no_of_requestors_req(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_get_no_of_requestors_req.
A_IPC_RESULT a_ipc_init_power_suspend_unregister_req_norsp(a_ipc_msg *msg, uint32_t user_maxlength)
Initialize the message buffer to contain a_ipc_msg_power_suspend_unregister_req_norsp.
a_ipc_enum_power_result result
Result of the operation.
Definition: ipc_power_export_generated.h:361
A_IPC_RESULT a_ipc_init_power_reboot_pending_unsubscribe_req_norsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_reboot_pending_unsubscribe_req_norsp.
A_IPC_RESULT a_ipc_init_power_shutdown_ack_req_norsp(a_ipc_msg *msg, uint32_t user_maxlength)
Initialize the message buffer to contain a_ipc_msg_power_shutdown_ack_req_norsp.
A_IPC_RESULT a_ipc_init_power_shutdown_shutdown_req_norsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_shutdown_shutdown_req_norsp.
A_IPC_RESULT a_ipc_init_power_get_no_of_requestors_rsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_get_no_of_requestors_rsp.
A_IPC_RESULT a_ipc_init_power_shutdown_unregister_req_norsp(a_ipc_msg *msg, uint32_t user_maxlength)
Initialize the message buffer to contain a_ipc_msg_power_shutdown_unregister_req_norsp.
A_IPC_RESULT a_ipc_init_power_wakeup_subscribe_req(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_wakeup_subscribe_req.
a_ipc_dyn_string user
User identifier, max 15 characters long.
Definition: ipc_power_export_generated.h:111
a_ipc_dyn_string user
User identifier, max 15 characters long.
Definition: ipc_power_export_generated.h:197
A_IPC_RESULT a_ipc_init_power_wakeup_unsubscribe_req_norsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_wakeup_unsubscribe_req_norsp.
A_IPC_RESULT a_ipc_init_power_suspend_register_req(a_ipc_msg *msg, uint32_t user_maxlength)
Initialize the message buffer to contain a_ipc_msg_power_suspend_register_req.
uint32_t requestor_index
Index of the requestor we are interested in.
Definition: ipc_power_export_generated.h:378
A_IPC_RESULT a_ipc_init_power_suspend_unsubscribe_req_norsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_suspend_unsubscribe_req_norsp.
A_IPC_RESULT a_ipc_init_power_reboot_pending_subscribe_rsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_reboot_pending_subscribe_rsp.
A_IPC_RESULT a_ipc_init_power_wakeup_subscribe_rsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_wakeup_subscribe_rsp.
A_IPC_RESULT a_ipc_init_power_shutdown_unsubscribe_req_norsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_shutdown_unsubscribe_req_norsp.
a_ipc_dyn_string requestor_id
Id of the requestor.
Definition: ipc_power_export_generated.h:394
a_ipc_dyn_string user
User identifier, max 15 characters long.
Definition: ipc_power_export_generated.h:261
A_IPC_RESULT a_ipc_init_power_request_rsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_request_rsp.
A_IPC_RESULT a_ipc_init_power_shutdown_register_rsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_shutdown_register_rsp.
a_ipc_dyn_string user
User identifier, max 15 characters long.
Definition: ipc_power_export_generated.h:88
a_ipc_enum_ipc_subscribe_result result
The result of the subscription request.
Definition: ipc_power_export_generated.h:428
A_IPC_RESULT a_ipc_init_power_get_requestor_info_req(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_get_requestor_info_req.
A_IPC_RESULT a_ipc_init_power_wakeup_publish_ind(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_wakeup_publish_ind.
A_IPC_RESULT a_ipc_init_power_suspend_publish_ind(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_suspend_publish_ind.
A_IPC_RESULT a_ipc_init_power_shutdown_subscribe_req(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_shutdown_subscribe_req.
a_ipc_enum_power_result
Result codes.
Definition: ipc_power_export_generated.h:24
uint32_t delay_s
Wait 'delay_s' seconds before rebooting.
Definition: ipc_power_export_generated.h:290
A_IPC_RESULT a_ipc_init_power_reboot_pending_subscribe_req(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_power_reboot_pending_subscribe_req.
A_IPC_RESULT a_ipc_init_power_release_req_norsp(a_ipc_msg *msg, uint32_t user_maxlength)
Initialize the message buffer to contain a_ipc_msg_power_release_req_norsp.
A_IPC_RESULT a_ipc_init_power_shutdown_register_req(a_ipc_msg *msg, uint32_t user_maxlength)
Initialize the message buffer to contain a_ipc_msg_power_shutdown_register_req.
@ A_IPC_ENUM_POWER_RESULT_OK
OK.
Definition: ipc_power_export_generated.h:26
@ A_IPC_ENUM_POWER_RESULT_ERROR
Error.
Definition: ipc_power_export_generated.h:28
Dynamic-length array of a_ipc_enum_power_result.
Definition: ipc_power_export_generated.h:34
Requests the number of 'clients' requesting the system to be powered on.
Definition: ipc_power_export_generated.h:337
Response message to the 'power_get_no_of_requestors' message.
Definition: ipc_power_export_generated.h:353
Get a string representation of a perticular requestor.
Definition: ipc_power_export_generated.h:374
Response message to 'power_get_requestor_info_req'.
Definition: ipc_power_export_generated.h:390
A reboot is pending and if no voluntary reboot is made, the system will after some time perform a for...
Definition: ipc_power_export_generated.h:305
Subscribe to updates for power_reboot_pending.
Definition: ipc_power_export_generated.h:499
Sent in response to a_ipc_msg_power_reboot_pending_subscribe_req.
Definition: ipc_power_export_generated.h:512
Unsubscribe from updates for power_reboot_pending.
Definition: ipc_power_export_generated.h:527
Release power for given user user.
Definition: ipc_power_export_generated.h:84
Requests power for user 'user'.
Definition: ipc_power_export_generated.h:52
Power request result.
Definition: ipc_power_export_generated.h:69
Sent by subscribers of the shutdown message to acknowledge that their pre-shutdown activities have co...
Definition: ipc_power_export_generated.h:257
Power shutdown indication, sent by the power manager when we are about to shutdown.
Definition: ipc_power_export_generated.h:242
Reboot the system as soon as possible.
Definition: ipc_power_export_generated.h:286
Registers an "shutdown interest" with the power manager.
Definition: ipc_power_export_generated.h:193
Respons message to the 'power_shutdown_register_req' message.
Definition: ipc_power_export_generated.h:210
Shutdown the system as soon as possible.
Definition: ipc_power_export_generated.h:272
Subscribe to updates for power_shutdown.
Definition: ipc_power_export_generated.h:455
Sent in response to a_ipc_msg_power_shutdown_subscribe_req.
Definition: ipc_power_export_generated.h:468
Un-registers a 'shutdown interest' with the power manager.
Definition: ipc_power_export_generated.h:225
Unsubscribe from updates for power_shutdown.
Definition: ipc_power_export_generated.h:483
Sent by subscribers of the suspend message to acknowledge that their pre-suspend activities have comp...
Definition: ipc_power_export_generated.h:171
Power suspend indication, sent by the power manager when we are about to enter sleep mode.
Definition: ipc_power_export_generated.h:156
Registers an "suspend interest" with the power manager.
Definition: ipc_power_export_generated.h:107
Respons message to the 'power_suspend_register_req' message.
Definition: ipc_power_export_generated.h:124
Subscribe to updates for power_suspend.
Definition: ipc_power_export_generated.h:411
Sent in response to a_ipc_msg_power_suspend_subscribe_req.
Definition: ipc_power_export_generated.h:424
Un-registers a 'suspend interest' with the power manager.
Definition: ipc_power_export_generated.h:139
Unsubscribe from updates for power_suspend.
Definition: ipc_power_export_generated.h:439
Power wakeup indication, sent by the power manager when services should wake up from their sleep stat...
Definition: ipc_power_export_generated.h:322
Subscribe to updates for power_wakeup.
Definition: ipc_power_export_generated.h:543
Sent in response to a_ipc_msg_power_wakeup_subscribe_req.
Definition: ipc_power_export_generated.h:556
Unsubscribe from updates for power_wakeup.
Definition: ipc_power_export_generated.h:571
A_IPC_RESULT
IPC function result codes.
Definition: ipc.h:211
Dynamic-length string.
Definition: ipc_generated.h:1064
AIPC Message.
Definition: ipc_generated.h:1204