Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Coresight STMESP interface

Coresight STMESP (STM Extended Stimulus Port) Interface . More...

Functions

static void stmesp_flag (STMESP_Type *reg, uint32_t data, bool ts, bool guaranteed)
 Write flag to STMESP.
 
static void stmesp_data8 (STMESP_Type *reg, uint8_t data, bool ts, bool marked, bool guaranteed)
 Write 8 bit data to STMESP.
 
static void stmesp_data16 (STMESP_Type *reg, uint16_t data, bool ts, bool marked, bool guaranteed)
 Write 16 bit data to STMESP.
 
static void stmesp_data32 (STMESP_Type *reg, uint32_t data, bool ts, bool marked, bool guaranteed)
 Write 32 bit data to STMESP.
 
static int stmesp_get_port (uint32_t idx, STMESP_Type **port)
 Return address of a STM extended stimulus port.
 

Detailed Description

Coresight STMESP (STM Extended Stimulus Port) Interface .

Function Documentation

◆ stmesp_data16()

static void stmesp_data16 ( STMESP_Type * reg,
uint16_t data,
bool ts,
bool marked,
bool guaranteed )
inlinestatic

#include <zephyr/drivers/misc/coresight/stmesp.h>

Write 16 bit data to STMESP.

Parameters
regSTMESP register set.
dataHalf word to write.
tsIf true add timestamp.
markedIf true marked write.
guaranteedIf true guaranteed write and invariant if false.

◆ stmesp_data32()

static void stmesp_data32 ( STMESP_Type * reg,
uint32_t data,
bool ts,
bool marked,
bool guaranteed )
inlinestatic

#include <zephyr/drivers/misc/coresight/stmesp.h>

Write 32 bit data to STMESP.

Parameters
regSTMESP register set.
dataWord to write.
tsIf true add timestamp.
markedIf true marked write.
guaranteedIf true guaranteed write and invariant if false.

◆ stmesp_data8()

static void stmesp_data8 ( STMESP_Type * reg,
uint8_t data,
bool ts,
bool marked,
bool guaranteed )
inlinestatic

#include <zephyr/drivers/misc/coresight/stmesp.h>

Write 8 bit data to STMESP.

Parameters
regSTMESP register set.
dataByte to write.
tsIf true add timestamp.
markedIf true marked write.
guaranteedIf true guaranteed write and invariant if false.

◆ stmesp_flag()

static void stmesp_flag ( STMESP_Type * reg,
uint32_t data,
bool ts,
bool guaranteed )
inlinestatic

#include <zephyr/drivers/misc/coresight/stmesp.h>

Write flag to STMESP.

Parameters
regSTMESP register set.
dataData written to the flag register.
tsIf true add timestamp.
guaranteedIf true guaranteed write and invariant if false.

◆ stmesp_get_port()

static int stmesp_get_port ( uint32_t idx,
STMESP_Type ** port )
inlinestatic

#include <zephyr/drivers/misc/coresight/stmesp.h>

Return address of a STM extended stimulus port.

Function return a port from the local STMESP instance.

Parameters
[in]idxIndex of the requested stimulus port.
[out]portLocation where pointer to the port is written.
Return values
-EINVALif idx or port is invalid.
0on success.