AM64x MCU+ SDK  08.02.00

Detailed Description

Mark a clock as required/not required.

Indicate that the selected clock is currently required/not required by the IP.

Certain flags can be set in the message header for device clocks: TISCI_MSG_FLAG_CLOCK_ALLOW_SSC, TISCI_MSG_FLAG_CLOCK_ALLOW_FREQ_CHANGE, TISCI_MSG_FLAG_CLOCK_INPUT_TERM.

Parameters
hdrTISCI header
deviceThe device ID that the clock is connected to.
clkEach device has its own set of clock inputs. This indexes which clock input to modify.

If the clock index is 255 or greater, this field should be set to 255 and the full value placed in the clk32 field. This is kept for backwards compatibility with older firmwares.

Parameters
clk32Stores the actual clock index if clk field is set to 255. This field is ignored otherwise. This field can hold the full range of possible clock indexes, but for compatibility with older firmwares should only be used when the index is 255 or greater.
stateThe desired state of the clock, TISCI_MSG_VALUE_CLOCK_SW_STATE_REQ if the clock is currently required by the IP and TISCI_MSG_VALUE_CLOCK_SW_STATE_UNREQ if it is not. TISCI_MSG_VALUE_CLOCK_SW_STATE_AUTO enables the clock when the IP is set to enabled and disables it when the IP is set to disabled. This is the default state.

Data Fields

struct tisci_header hdr
 
uint32_t device
 
uint8_t clk
 
uint8_t state
 
uint32_t clk32
 

Field Documentation

◆ hdr

struct tisci_header tisci_msg_set_clock_req::hdr

◆ device

uint32_t tisci_msg_set_clock_req::device

◆ clk

uint8_t tisci_msg_set_clock_req::clk

◆ state

uint8_t tisci_msg_set_clock_req::state

◆ clk32

uint32_t tisci_msg_set_clock_req::clk32