37 #if defined(PRS_COUNT) && (PRS_COUNT > 0)
88 PRS->SWLEVEL = (
PRS->SWLEVEL & ~mask) | (level & mask);
116 #if defined( PRS_CH_CTRL_ASYNC )
CMSIS Cortex-M Peripheral Access Layer for Silicon Laboratories microcontroller devices.
__STATIC_INLINE void PRS_LevelSet(uint32_t level, uint32_t mask)
Set level control bit for one or more channels.
#define PRS_CH_CTRL_EDSEL_POSEDGE
__STATIC_INLINE void PRS_PulseTrigger(uint32_t channels)
Trigger a high pulse (one HFPERCLK) for one or more channels.
void PRS_SourceSignalSet(unsigned int ch, uint32_t source, uint32_t signal, PRS_Edge_TypeDef edge)
Set source and signal to be used for a channel.
#define _PRS_SWPULSE_MASK
#define PRS_CH_CTRL_EDSEL_BOTHEDGES
#define PRS_CH_CTRL_EDSEL_OFF
#define PRS_CH_CTRL_EDSEL_NEGEDGE
void PRS_SourceAsyncSignalSet(unsigned int ch, uint32_t source, uint32_t signal)
Set source and asynchronous signal to be used for a channel.