|
enum | nrf_stm_feature_t {
NRF_STM_FEATURE_HETER
,
NRF_STM_FEATURE_HEERR
,
NRF_STM_FEATURE_HEMASTR
,
NRF_STM_FEATURE_STM
,
NRF_STM_FEATURE_TSEN
,
NRF_STM_FEATURE_SYNCEN
,
NRF_STM_FEATURE_COMPEN
,
NRF_STM_FEATURE_BUSY
,
NRF_STM_FEATURE_FIFOAF
,
NRF_STM_FEATURE_ASYNCPE
,
NRF_STM_FEATURE_PRIORINVDIS
,
NRF_STM_FEATURE_CLKON
,
NRF_STM_FEATURE_AFREADYHIGH
,
NRF_STM_FEATURE_TSFREQ
,
NRF_STM_FEATURE_FORCETS
,
NRF_STM_FEATURE_TSPRESCALE
,
NRF_STM_FEATURE_HWTEN
,
NRF_STM_FEATURE_SWOEN
,
NRF_STM_FEATURE_SPTER
,
NRF_STM_FEATURE_SPER
,
NRF_STM_FEATURE_SPOVERRIDE
,
NRF_STM_FEATURE_PRIVMASK
,
NRF_STM_FEATURE_INTEGRATION
,
NRF_STM_FEATURE_LC_PRESENT
,
NRF_STM_FEATURE_LC_LOCKED
,
NRF_STM_FEATURE_NSID
,
NRF_STM_FEATURE_NSNID
,
NRF_STM_FEATURE_SID
,
NRF_STM_FEATURE_SNID
} |
| STM features. More...
|
|
enum | nrf_stm_output_t {
NRF_STM_OUTPUT_TRIGOUTSPTE
,
NRF_STM_OUTPUT_TRIGOUTSW
,
NRF_STM_OUTPUT_TRIGOUTHETE
,
NRF_STM_OUTPUT_ASYNCOUT
,
NRF_STM_OUTPUT_ATDATAM_0
,
NRF_STM_OUTPUT_ATDATAM_7
,
NRF_STM_OUTPUT_ATDATAM_15
,
NRF_STM_OUTPUT_ATDATAM_23
,
NRF_STM_OUTPUT_ATDATAM_31
,
NRF_STM_OUTPUT_ATIDM_0
,
NRF_STM_OUTPUT_ATIDM_1
,
NRF_STM_OUTPUT_ATIDM_2
,
NRF_STM_OUTPUT_ATIDM_3
,
NRF_STM_OUTPUT_ATIDM_4
,
NRF_STM_OUTPUT_ATIDM_5
,
NRF_STM_OUTPUT_ATIDM_6
,
NRF_STM_OUTPUT_ATVALIDM
,
NRF_STM_OUTPUT_AFREADYM
,
NRF_STM_OUTPUT_ATBYTESM_0
,
NRF_STM_OUTPUT_ATBYTESM_1
} |
| STM outputs. More...
|
|
enum | nrf_stm_input_t {
NRF_STM_INPUT_ATREADYM
,
NRF_STM_INPUT_AFVALIDM
} |
| STM inputs. More...
|
|
enum | nrf_stm_dma_sens_t {
NRF_STM_DMACTLR_LT25 = STM_DMACTLR_SENS_LT25
,
NRF_STM_DMACTLR_LT50 = STM_DMACTLR_SENS_LT50
,
NRF_STM_DMACTLR_LT75 = STM_DMACTLR_SENS_LT75
,
NRF_STM_DMACTLR_LT100 = STM_DMACTLR_SENS_LT100
} |
| Sensitivity of the DMA request to the current buffer level. More...
|
|
enum | nrf_stm_heidr_class_t { NRF_STM_HEIDR_CLASS_HARDWARE_EVENT_CONTROL = STM_HEIDR_CLASS_HardwareEventControl
} |
| Programmer's models. More...
|
|
enum | nrf_stm_spfeat1r_prot_t { NRF_STM_SFPEAT1R_PROT_STPV2 = STM_SPFEAT1R_PROT_STPV2
} |
| STM protocols. More...
|
|
enum | nrf_stm_spfeat1r_ts_t { NRF_STM_SPFEAT1R_TS_ABSOLUTE = STM_SPFEAT1R_TS_Absolute
} |
| Timestamp support modes. More...
|
|
enum | nrf_stm_spfeat1r_syncen_t { NRF_STM_SPFEAT1R_SYNCEN_READ_AS_ONE = STM_SPFEAT1R_SYNCEN_ReadAsOne
} |
| STMTCSR.SYNCEN support modes. More...
|
|
enum | nrf_stm_spfeat2r_spcomp_t { NRF_STM_SPFEAT2R_SPCOMP_PROGRAMMABLE = STM_SPFEAT2R_SPCOMP_Programmable
} |
| Data compression on stimulus port support modes. More...
|
|
enum | nrf_stm_spfeat2r_sptrtype_t { NRF_STM_SPFEAT2R_SPTRTYPE_INVARIANT_AND_GUARANTEED = STM_SPFEAT2R_SPTRTYPE_InvariantAndGuaranteed
} |
| Stimulus port transaction type support modes. More...
|
|
enum | nrf_stm_spfeat2r_dsize_t { NRF_STM_SPFEAT2R_DSIZE_32 = STM_SPFEAT2R_DSIZE_Bits32
} |
| Fundamental data size modes. More...
|
|
enum | nrf_stm_lsr_type_t {
NRF_STM_LSR_TYPE_8 = STM_LSR_TYPE_Bits8
,
NRF_STM_LSR_TYPE_32 = STM_LSR_TYPE_Bits32
} |
| Lock Access Register implementation modes. More...
|
|
enum | nrf_stm_devtype_major_t { NRF_STM_DEVTYPE_MAJOR_TRACE_SOURCE = STM_DEVTYPE_MAJOR_TraceSource
} |
|
enum | nrf_stm_devtype_sub_t { NRF_STM_DEVTYPE_SUB_STIMULUS_TRACE = STM_DEVTYPE_SUB_StimulusTrace
} |
|
|
NRF_STATIC_INLINE bool | nrf_stm_feature_check (NRF_STM_Type const *p_reg, nrf_stm_feature_t feature) |
| Function for retrieving the state of a feature.
|
|
NRF_STATIC_INLINE void | nrf_stm_feature_set (NRF_STM_Type *p_reg, nrf_stm_feature_t feature, bool enable) |
| Function for setting the state of a feature.
|
|
NRF_STATIC_INLINE bool | nrf_stm_input_check (NRF_STM_Type const *p_reg, nrf_stm_input_t input) |
| Function for retrieving the state of an input.
|
|
NRF_STATIC_INLINE void | nrf_stm_output_set (NRF_STM_Type *p_reg, nrf_stm_output_t output, bool enable) |
| Function for setting the state of an output.
|
|
NRF_STATIC_INLINE void | nrf_stm_dmactlr_sens_set (NRF_STM_Type *p_reg, nrf_stm_dma_sens_t sens) |
| Function for setting the sensivity of the DMA request.
|
|
NRF_STATIC_INLINE nrf_stm_dma_sens_t | nrf_stm_dmactlr_sens_get (NRF_STM_Type const *p_reg) |
| Function for getting the sensivity of the DMA request.
|
|
NRF_STATIC_INLINE uint16_t | nrf_stm_hemastr_get (NRF_STM_Type const *p_reg) |
| Function for getting the number of the hardware event trace of the STPv2 master.
|
|
NRF_STATIC_INLINE uint16_t | nrf_stm_hefeat1r_numhe_get (NRF_STM_Type const *p_reg) |
| Function for getting the number of hardware events suppoted by the STM.
|
|
NRF_STATIC_INLINE nrf_stm_heidr_class_t | nrf_stm_heidr_class_get (NRF_STM_Type const *p_reg) |
| Function for getting the programmer's model of hardware event tracking.
|
|
NRF_STATIC_INLINE uint8_t | nrf_stm_heidr_classrev_get (NRF_STM_Type const *p_reg) |
| Function for getting the revision of the programmer's model of hardware event tracking.
|
|
NRF_STATIC_INLINE uint8_t | nrf_stm_heidr_vendspec_get (NRF_STM_Type const *p_reg) |
| Function for getting vendor specific modifications or mappings of hardware event tracking.
|
|
NRF_STATIC_INLINE void | nrf_stm_tcsr_traceid_set (NRF_STM_Type *p_reg, uint8_t trace_id) |
| Function for setting the ATB Trace ID.
|
|
NRF_STATIC_INLINE uint8_t | nrf_stm_tcsr_traceid_get (NRF_STM_Type const *p_reg) |
| Function for getting the ATB Trace ID.
|
|
NRF_STATIC_INLINE nrf_stm_spfeat1r_prot_t | nrf_stm_spfeat1r_prot_get (NRF_STM_Type const *p_reg) |
| Function for getting the implemented STM protocol.
|
|
NRF_STATIC_INLINE nrf_stm_spfeat1r_ts_t | nrf_stm_spfeat1r_ts_get (NRF_STM_Type const *p_reg) |
| Function for getting the timestamp support mode.
|
|
NRF_STATIC_INLINE uint8_t | nrf_stm_spfeat1r_tracebus_get (NRF_STM_Type const *p_reg) |
| Function for getting the trace bus support.
|
|
NRF_STATIC_INLINE uint8_t | nrf_stm_spfeat1r_trigctl_get (NRF_STM_Type const *p_reg) |
| Function for getting the trigger control support.
|
|
NRF_STATIC_INLINE nrf_stm_spfeat1r_syncen_t | nrf_stm_spfeat1r_syncen_get (NRF_STM_Type const *p_reg) |
| Function for getting the STMTCSR.SYNCEN support mode.
|
|
NRF_STATIC_INLINE nrf_stm_spfeat2r_spcomp_t | nrf_stm_spfeat2r_spcomp_get (NRF_STM_Type const *p_reg) |
| Function for getting the data compression on stimulus port support mode.
|
|
NRF_STATIC_INLINE nrf_stm_spfeat2r_sptrtype_t | nrf_stm_spfeat2r_sptrtype_get (NRF_STM_Type const *p_reg) |
| Function for getting the stimulus port transaction type support mode.
|
|
NRF_STATIC_INLINE nrf_stm_spfeat2r_dsize_t | nrf_stm_spfeat2r_dsize_get (NRF_STM_Type const *p_reg) |
| Function for getting the fundamental data size mode.
|
|
NRF_STATIC_INLINE uint8_t | nrf_stm_spfeat3r_nummast_get (NRF_STM_Type const *p_reg) |
| Function for getting the number of stimulus ports masters implemented, minus 1.
|
|
NRF_STATIC_INLINE void | nrf_stm_lar_access_set (NRF_STM_Type *p_reg, uint32_t value) |
| Function for setting the enable write access register.
|
|
NRF_STATIC_INLINE nrf_stm_lsr_type_t | nrf_stm_lsr_type_get (NRF_STM_Type const *p_reg) |
| Function for getting the Lock Access Register implementation mode.
|
|
NRF_STATIC_INLINE uint32_t | nrf_stm_devid_numsp_get (NRF_STM_Type const *p_reg) |
| Function for getting the number of stimulus ports implemented.
|
|
NRF_STATIC_INLINE nrf_stm_devtype_major_t | nrf_stm_devtype_major_get (NRF_STM_Type const *p_reg) |
| Function for getting the major classification grouping for this debug or trace component.
|
|
NRF_STATIC_INLINE nrf_stm_devtype_sub_t | nrf_stm_devtype_sub_get (NRF_STM_Type const *p_reg) |
| Function for getting the sub-classification for this debug or trace component.
|
|
Hardware access layer for managing the System Trace Macrocell (STM) peripheral.