nrfx 4.5.0
Loading...
Searching...
No Matches
TDDCONF HAL

Hardware access layer for managing the Tracedata and Debug Configuration (TDDCONF). More...

Enumerations

enum  nrf_tddconf_speed_t
 TDDCONF trace port clock speed.
 
enum  nrf_tddconf_domain_t {
  NRF_TDDCONF_DOMAIN_SYSTEM ,
  NRF_TDDCONF_DOMAIN_DEBUG
}
 TDDCONF domain. More...
 

Functions

NRF_STATIC_INLINE void nrf_tddconf_power_up_request_set (NRF_TDDCONF_Type *p_reg, nrf_tddconf_domain_t domain, bool active)
 Function for setting request in specified domain.
 
NRF_STATIC_INLINE void nrf_tddconf_clock_speed_set (NRF_TDDCONF_Type *p_reg, nrf_tddconf_speed_t speed)
 Function for setting trace port trace clock speed.
 
NRF_STATIC_INLINE nrf_tddconf_speed_t nrf_tddconf_clock_speed_get (NRF_TDDCONF_Type const *p_reg)
 Function for getting trace port trace clock speed.
 
NRF_STATIC_INLINE bool nrf_tddconf_power_up_request_status_check (NRF_TDDCONF_Type const *p_reg, nrf_tddconf_domain_t domain)
 Function for checking power-up request status in specified domain.
 

Detailed Description

Hardware access layer for managing the Tracedata and Debug Configuration (TDDCONF).

Enumeration Type Documentation

◆ nrf_tddconf_domain_t

TDDCONF domain.

Enumerator
NRF_TDDCONF_DOMAIN_SYSTEM 

TDDCONF system domain.

NRF_TDDCONF_DOMAIN_DEBUG 

TDDCONF debug domain.

Function Documentation

◆ nrf_tddconf_clock_speed_get()

NRF_STATIC_INLINE nrf_tddconf_speed_t nrf_tddconf_clock_speed_get ( NRF_TDDCONF_Type const * p_reg)

Function for getting trace port trace clock speed.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Returns
TDDCONF clock speed.

◆ nrf_tddconf_clock_speed_set()

NRF_STATIC_INLINE void nrf_tddconf_clock_speed_set ( NRF_TDDCONF_Type * p_reg,
nrf_tddconf_speed_t speed )

Function for setting trace port trace clock speed.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]speedTDDCONF clock speed.

◆ nrf_tddconf_power_up_request_set()

NRF_STATIC_INLINE void nrf_tddconf_power_up_request_set ( NRF_TDDCONF_Type * p_reg,
nrf_tddconf_domain_t domain,
bool active )

Function for setting request in specified domain.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]domainTDDCONF domain.
[in]activeTrue if request is to be activated, false if otherwise.

◆ nrf_tddconf_power_up_request_status_check()

NRF_STATIC_INLINE bool nrf_tddconf_power_up_request_status_check ( NRF_TDDCONF_Type const * p_reg,
nrf_tddconf_domain_t domain )

Function for checking power-up request status in specified domain.

Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]domainTDDCONF domain.
Return values
truePower-up requested.
falsePower-up not requested.