|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
Interfaces for Coresight STMESP (STM Extended Stimulus Port) 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. | |
Interfaces for Coresight STMESP (STM Extended Stimulus Port)
|
inlinestatic |
#include <zephyr/drivers/debug/stmesp.h>
Write 16 bit data to STMESP.
| 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. |
|
inlinestatic |
#include <zephyr/drivers/debug/stmesp.h>
Write 32 bit data to STMESP.
| 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. |
|
inlinestatic |
#include <zephyr/drivers/debug/stmesp.h>
Write 8 bit data to STMESP.
| 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. |
#include <zephyr/drivers/debug/stmesp.h>
Write flag to STMESP.
| 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. |
|
inlinestatic |
#include <zephyr/drivers/debug/stmesp.h>
Return address of a STM extended stimulus port.
Function return a port from the local STMESP instance.
| [in] | idx | Index of the requested stimulus port. |
| [out] | port | Location where pointer to the port is written. |
| -EINVAL | if idx or port is invalid. |
| 0 | on success. |