AM62x MCU+ SDK  10.00.00

Introduction

Files

file  sciclient_lpm.h
 This file contains the definition of all the message IDs, message formats to be able to interact with the System Controller firmware for low power modes.
 

Functions

int32_t Sciclient_lpmGetNextSysMode (uint32_t timeout, uint8_t *sysMode)
 Message to get the next system mode. More...
 
int32_t Sciclient_lpmGetNextHostState (uint32_t timeout, uint8_t *hostState)
 Message to get the next host state. More...
 

Enumerations

enum  gLPMSysModes {
  TISCI_LPM_SYS_MODE_DEEP_SLEEP = 0U, TISCI_LPM_SYS_MODE_MCU_ONLY, TISCI_LPM_SYS_MODE_IO_ONLY_PLUS_DDR, TISCI_LPM_SYS_MODE_PARTIAL_IO,
  TISCI_LPM_SYS_MODE_STANDBY, TISCI_LPM_SYS_MODE_NOT_SELECTED = 0xFEU
}
 

Enumeration Type Documentation

◆ gLPMSysModes

Enumerator
TISCI_LPM_SYS_MODE_DEEP_SLEEP 
TISCI_LPM_SYS_MODE_MCU_ONLY 
TISCI_LPM_SYS_MODE_IO_ONLY_PLUS_DDR 
TISCI_LPM_SYS_MODE_PARTIAL_IO 
TISCI_LPM_SYS_MODE_STANDBY 
TISCI_LPM_SYS_MODE_NOT_SELECTED 

Function Documentation

◆ Sciclient_lpmGetNextSysMode()

int32_t Sciclient_lpmGetNextSysMode ( uint32_t  timeout,
uint8_t *  sysMode 
)

Message to get the next system mode.


Message: TISCI_MSG_LPM_GET_NEXT_SYS_MODE
Request: tisci_msg_lpm_get_next_sys_mode_req
Response: tisci_msg_lpm_get_next_sys_mode_resp

Parameters
sysModeNext system mode returned.
timeoutGives a sense of how long to wait for the operation. Refer SystemP_Timeout.
Returns
SystemP_SUCCESS on success, else failure

◆ Sciclient_lpmGetNextHostState()

int32_t Sciclient_lpmGetNextHostState ( uint32_t  timeout,
uint8_t *  hostState 
)

Message to get the next host state.


Message: TISCI_MSG_LPM_GET_NEXT_HOST_STATE
Request: tisci_msg_lpm_get_next_host_state_req
Response: tisci_msg_lpm_get_next_host_state_resp

Parameters
hostStateNext host state returned.
timeoutGives a sense of how long to wait for the operation. Refer SystemP_Timeout.
Returns
SystemP_SUCCESS on success, else failure