CC27xxDriverLibrary
evtsvt_veneers.c File Reference
#include "evtsvt.h"
#include <third_party/tfm/secure_fw/include/security_defs.h>
#include <third_party/tfm/secure_fw/spm/include/utilities.h>
Include dependency graph for evtsvt_veneers.c:

Functions

static void validatePubId (uint32_t pubId)
 
__tz_c_veneer void EVTSVTConfigureDma_veneer (uint32_t channel, uint32_t id)
 Veneer for calling EVTSVTConfigureDma() from non-secure context. More...
 
__tz_c_veneer void EVTSVTConfigureEvent_veneer (uint32_t subscriber, uint32_t pubId)
 Veneer for calling EVTSVTConfigureEvent() from non-secure context. More...
 

Variables

static const EVTSVTSubscriberMask subscriberMask
 
static const EVTSVTPubIdMask pubIdMask
 
static const EVTSVTIpIdMask ipIdMask
 
static const EVTSVTDmaChMask dmaChMask
 

Function Documentation

§ validatePubId()

static void validatePubId ( uint32_t  pubId)
static

§ EVTSVTConfigureDma_veneer()

__tz_c_veneer void EVTSVTConfigureDma_veneer ( uint32_t  channel,
uint32_t  id 
)

Veneer for calling EVTSVTConfigureDma() from non-secure context.

Warning
This function is not included in driverlib.a nor driverlib_ns.a, but is a part of the veneers library generated together with the secure TF-M image.
See also
EVTSVTConfigureDma()

References dmaChMask, EVTSVT_DMA_CH7, EVTSVT_DMA_CH_MAX_VAL, EVTSVT_DMA_CH_MIN_VAL, EVTSVT_IPID_MAX_VAL, EVTSVTConfigureDma(), ipIdMask, and validatePubId().

§ EVTSVTConfigureEvent_veneer()

__tz_c_veneer void EVTSVTConfigureEvent_veneer ( uint32_t  subscriber,
uint32_t  pubId 
)

Veneer for calling EVTSVTConfigureEvent() from non-secure context.

Warning
This function is not included in driverlib.a nor driverlib_ns.a, but is a part of the veneers library generated together with the secure TF-M image.
See also
EVTSVTConfigureEvent()

References EVTSVT_PUBID_MAX_VAL, EVTSVT_SUB_MAX_VAL, EVTSVT_SUB_MIN_VAL, EVTSVTConfigureEvent(), subscriberMask, and validatePubId().

Variable Documentation

§ subscriberMask

const EVTSVTSubscriberMask subscriberMask
static

§ pubIdMask

const EVTSVTPubIdMask pubIdMask
static

Referenced by validatePubId().

§ ipIdMask

const EVTSVTIpIdMask ipIdMask
static
Initial value:
= {
.SPI0TXTRG = 1,
.SPI0RXTRG = 1,
.LRFDTRG = 1,
.LAESTRGA = 1,
.LAESTRGB = 1,
.ADC0TRG = 1,
.UART0TXTRG = 1,
.UART0RXTRG = 1,
.CANTRGA = 1,
.CANTRGB = 1,
.SPI1TXTRG = 1,
.SPI1RXTRG = 1,
.UART1TXTRG = 1,
.UART1RXTRG = 1,
.reserved14_31 = 0,
}

Referenced by EVTSVTConfigureDma_veneer().

§ dmaChMask

const EVTSVTDmaChMask dmaChMask
static
Initial value:
= {
.DMACH0 = 1,
.DMACH1 = 1,
.DMACH2 = 1,
.DMACH3 = 1,
.DMACH4 = 1,
.DMACH5 = 1,
.DMACH6 = 1,
.DMACH7 = 1,
.DMACH8 = 1,
.DMACH9 = 1,
.DMACH10 = 1,
.DMACH11 = 1,
.reserved12_31 = 0,
}

Referenced by EVTSVTConfigureDma_veneer().