AM62x MCU+ SDK  10.00.00
tisci_lpm.h File Reference

Go to the source code of this file.

Data Structures

struct  tisci_msg_prepare_sleep_req
 Request for TISCI_MSG_PREPARE_SLEEP. More...
 
struct  tisci_msg_prepare_sleep_resp
 Response for TISCI_MSG_PREPARE_SLEEP. More...
 
struct  tisci_msg_enter_sleep_req
 Request for TISCI_MSG_ENTER_SLEEP. More...
 
struct  tisci_msg_enter_sleep_resp
 Response for TISCI_MSG_ENTER_SLEEP. More...
 
struct  tisci_msg_firmware_load_req
 Request for TISCI_MSG_FIRMWARE_LOAD. More...
 
struct  tisci_msg_firmware_load_resp
 Response for TISCI_MSG_FIRMWARE_LOAD. More...
 
struct  tisci_msg_sync_resume_req
 Request for TISCI_MSG_SYNC_RESUME. More...
 
struct  tisci_msg_sync_resume_resp
 Response for TISCI_MSG_SYNC_RESUME. More...
 
struct  tisci_msg_continue_resume_req
 Request for TISCI_MSG_CONTINUE_RESUME. More...
 
struct  tisci_msg_continue_resume_resp
 Response for TISCI_MSG_CONTINUE_RESUME. More...
 
struct  tisci_msg_core_resume_req
 Request for TISCI_MSG_CORE_RESUME. More...
 
struct  tisci_msg_core_resume_resp
 Response for TISCI_MSG_CORE_RESUME. More...
 
struct  tisci_msg_abort_enter_sleep_req
 Request for TISCI_MSG_ABORT_ENTER_SLEEP. More...
 
struct  tisci_msg_abort_enter_sleep_resp
 Response for TISCI_MSG_ABORT_ENTER_SLEEP. More...
 
struct  tisci_msg_lpm_wake_reason_req
 Request for TISCI_MSG_LPM_WAKE_REASON. More...
 
struct  tisci_msg_lpm_wake_reason_resp
 Response for TISCI_MSG_LPM_WAKE_REASON. More...
 
struct  tisci_msg_set_io_isolation_req
 Request for TISCI_MSG_SET_IO_ISOLATION. More...
 
struct  tisci_msg_set_io_isolation_resp
 Response for TISCI_MSG_SET_IO_ISOLATION. More...
 
struct  tisci_msg_min_context_restore_req
 Request for TISCI_MSG_MIN_CONTEXT_RESTORE. More...
 
struct  tisci_msg_min_context_restore_resp
 Response for TISCI_MSG_MIN_CONTEXT_RESTORE. More...
 
struct  tisci_msg_lpm_set_device_constraint_req
 Request for TISCI_MSG_LPM_SET_DEVICE_CONSTRAINT. More...
 
struct  tisci_msg_lpm_set_device_constraint_resp
 Response for TISCI_MSG_LPM_SET_DEVICE_CONSTRAINT. More...
 
struct  tisci_msg_lpm_get_device_constraint_req
 Request for TISCI_MSG_LPM_GET_DEVICE_CONSTRAINT. More...
 
struct  tisci_msg_lpm_get_device_constraint_resp
 Response for TISCI_MSG_LPM_GET_DEVICE_CONSTRAINT. More...
 
struct  tisci_msg_lpm_set_latency_constraint_req
 Request for TISCI_MSG_LPM_SET_LATENCY_CONSTRAINT. More...
 
struct  tisci_msg_lpm_set_latency_constraint_resp
 Response for TISCI_MSG_LPM_SET_LATENCY_CONSTRAINT. More...
 
struct  tisci_msg_lpm_get_latency_constraint_req
 Request for TISCI_MSG_LPM_GET_LATENCY_CONSTRAINT. More...
 
struct  tisci_msg_lpm_get_latency_constraint_resp
 Response for TISCI_MSG_LPM_GET_LATENCY_CONSTRAINT. More...
 
struct  tisci_msg_lpm_get_next_sys_mode_req
 Request for TISCI_MSG_LPM_GET_NEXT_SYS_MODE. More...
 
struct  tisci_msg_lpm_get_next_sys_mode_resp
 Response for TISCI_MSG_LPM_GET_NEXT_SYS_MODE. More...
 
struct  tisci_msg_lpm_get_next_host_state_req
 Request for TISCI_MSG_GET_LPM_NEXT_HOST_STATE. More...
 
struct  tisci_msg_lpm_get_next_host_state_resp
 Response for TISCI_MSG_LPM_GET_NEXT_HOST_STATE. More...
 

Macros

#define TISCI_MSG_VALUE_SLEEP_MODE_DEEP_SLEEP   0x0U
 This file contains: More...
 
#define TISCI_MSG_VALUE_SLEEP_MODE_MCU_ONLY   0x1U
 
#define TISCI_MSG_VALUE_SLEEP_MODE_IO_ONLY_PLUS_DDR   0x2U
 
#define TISCI_MSG_VALUE_SLEEP_MODE_PARTIAL_IO   0x3U
 
#define TISCI_MSG_VALUE_SLEEP_MODE_STANDBY   0x4U
 
#define TISCI_MSG_VALUE_SLEEP_MODE_DM_MANAGED   0xFDU
 
#define TISCI_MSG_VALUE_SLEEP_MODE_NOT_SELECTED   0xFEU
 
#define TISCI_MSG_VALUE_SLEEP_MODE_INVALID   0xFFU
 
#define MSG_FLAG_CERT_AUTH_PASS   0x555555U
 
#define MSG_FLAG_CERT_AUTH_FAIL   0xffffffU
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_00   0x0x00000001
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_01   0x0x00000002
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_02   0x0x00000004
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_03   0x0x00000008
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_04   0x0x00000010
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_05   0x0x00000020
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_06   0x0x00000040
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_07   0x0x00000080
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_08   0x0x00000100
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_09   0x0x00000200
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_10   0x0x00000400
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_11   0x0x00000800
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_12   0x0x00001000
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_13   0x0x00002000
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_14   0x0x00004000
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_15   0x0x00008000
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_16   0x0x00010000
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_17   0x0x00020000
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_18   0x0x00040000
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_19   0x0x00080000
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_20   0x0x00100000
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_21   0x0x00200000
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_22   0x0x00400000
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_23   0x0x00800000
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_24   0x0x01000000
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_25   0x0x02000000
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_26   0x0x04000000
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_27   0x0x08000000
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_28   0x0x10000000
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_29   0x0x20000000
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_30   0x0x40000000
 
#define TISCI_MSG_VALUE_SLEEP_DEBUG_FLAG_31   0x0x80000000
 
#define TISCI_MSG_VALUE_LPM_WAKE_SOURCE_WKUP_I2C0   0x00U
 
#define TISCI_MSG_VALUE_LPM_WAKE_SOURCE_WKUP_UART0   0x10U
 
#define TISCI_MSG_VALUE_LPM_WAKE_SOURCE_MCU_GPIO0   0x20U
 
#define TISCI_MSG_VALUE_LPM_WAKE_SOURCE_WKUP_ICEMELTER0   0x30U
 
#define TISCI_MSG_VALUE_LPM_WAKE_SOURCE_WKUP_TIMER0   0x40U
 
#define TISCI_MSG_VALUE_LPM_WAKE_SOURCE_WKUP_TIMER1   0x41U
 
#define TISCI_MSG_VALUE_LPM_WAKE_SOURCE_WKUP_RTC0   0x50U
 
#define TISCI_MSG_VALUE_LPM_WAKE_SOURCE_RESET   0x60U
 
#define TISCI_MSG_VALUE_LPM_WAKE_SOURCE_USB0   0x70U
 
#define TISCI_MSG_VALUE_LPM_WAKE_SOURCE_USB1   0x71U
 
#define TISCI_MSG_VALUE_LPM_WAKE_SOURCE_MAIN_IO   0x80U
 
#define TISCI_MSG_VALUE_LPM_WAKE_SOURCE_MCU_IO   0x81U
 
#define TISCI_MSG_VALUE_LPM_WAKE_SOURCE_CAN_IO   0x82U
 
#define TISCI_MSG_VALUE_LPM_WAKE_SOURCE_MCU_IPC   0x90U
 
#define TISCI_MSG_VALUE_LPM_WAKE_SOURCE_INVALID   0xFFU
 
#define TISCI_MSG_VALUE_LPM_WAKE_PIN_INVALID   0xFFU
 
#define TISCI_MSG_VALUE_HOST_STATE_ON   1U
 
#define TISCI_MSG_VALUE_HOST_STATE_OFF   0U
 
#define TISCI_MSG_VALUE_HOST_STATE_INVALID   0xFFU
 
#define TISCI_MSG_VALUE_IO_ENABLE   1U
 
#define TISCI_MSG_VALUE_IO_DISABLE   0U
 
#define TISCI_MSG_VALUE_STATE_SET   1U
 
#define TISCI_MSG_VALUE_STATE_CLEAR   0U
 

Functions

struct tisci_msg_prepare_sleep_req __attribute__ ((__packed__))
 

Variables

struct tisci_header hdr
 
uint8_t mode
 
uint32_t ctx_lo
 
uint32_t ctx_hi
 
uint32_t debug_flags
 
uint8_t proc_id
 
uint32_t core_resume_lo
 
uint32_t core_resume_hi
 
uint32_t status
 
uint32_t image_addr
 
uint32_t image_size
 
uint32_t wake_source
 
uint64_t wake_timestamp
 
uint8_t wake_pin
 
uint32_t rsvd_0
 
uint32_t rsvd_1
 
uint8_t state
 
uint32_t id
 
uint16_t resume_latency
 
uint32_t rsvd
 

Variable Documentation

◆ hdr

struct tisci_header hdr

◆ mode

uint8_t mode

◆ ctx_lo

uint32_t ctx_lo

◆ ctx_hi

uint32_t ctx_hi

◆ debug_flags

uint32_t debug_flags

◆ proc_id

uint8_t proc_id

◆ core_resume_lo

uint32_t core_resume_lo

◆ core_resume_hi

uint32_t core_resume_hi

◆ status

uint32_t status

◆ image_addr

uint32_t image_addr

◆ image_size

uint32_t image_size

◆ wake_source

uint32_t wake_source

◆ wake_timestamp

uint64_t wake_timestamp

◆ wake_pin

uint8_t wake_pin

◆ rsvd_0

uint32_t rsvd_0

◆ rsvd_1

uint32_t rsvd_1

◆ state

uint8_t state

◆ id

uint32_t id

◆ resume_latency

uint16_t resume_latency

◆ rsvd

uint32_t rsvd