Interfaces for Coresight STMESP (STM Extended Stimulus Port)
More...
|
| 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.
|
Interfaces for Coresight STMESP (STM Extended Stimulus Port)
◆ stmesp_data16()
#include <zephyr/drivers/debug/stmesp.h>
Write 16 bit data to STMESP.
- Parameters
-
| reg | STMESP register set. |
| data | Half word to write. |
| ts | If true add timestamp. |
| marked | If true marked write. |
| guaranteed | If true guaranteed write and invariant if false. |
◆ stmesp_data32()
#include <zephyr/drivers/debug/stmesp.h>
Write 32 bit data to STMESP.
- Parameters
-
| reg | STMESP register set. |
| data | Word to write. |
| ts | If true add timestamp. |
| marked | If true marked write. |
| guaranteed | If true guaranteed write and invariant if false. |
◆ stmesp_data8()
#include <zephyr/drivers/debug/stmesp.h>
Write 8 bit data to STMESP.
- Parameters
-
| reg | STMESP register set. |
| data | Byte to write. |
| ts | If true add timestamp. |
| marked | If true marked write. |
| guaranteed | If true guaranteed write and invariant if false. |
◆ stmesp_flag()
#include <zephyr/drivers/debug/stmesp.h>
Write flag to STMESP.
- Parameters
-
| reg | STMESP register set. |
| data | Data written to the flag register. |
| ts | If true add timestamp. |
| guaranteed | If true guaranteed write and invariant if false. |
◆ stmesp_get_port()
| int stmesp_get_port |
( |
uint32_t | idx, |
|
|
STMESP_Type ** | port ) |
|
inlinestatic |
#include <zephyr/drivers/debug/stmesp.h>
Return address of a STM extended stimulus port.
Function return a port from the local STMESP instance.
- Parameters
-
| [in] | idx | Index of the requested stimulus port. |
| [out] | port | Location where pointer to the port is written. |
- Return values
-
| -EINVAL | if idx or port is invalid. |
| 0 | on success. |