EFM32 Giant Gecko Software Documentation
efm32gg-doc-5.1.2
|
Peripheral Reflex System (PRS) peripheral API.
Copyright 2016 Silicon Laboratories, Inc. http://www.silabs.com
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Labs has no obligation to support this Software. Silicon Labs is providing the Software "AS IS", with no express or implied warranties of any kind, including, but not limited to, any implied warranties of merchantability or fitness for any particular purpose or warranties against infringement of any proprietary rights of a third party.
Silicon Labs will not be liable for any consequential, incidental, or special damages, or any other relief, or for any claim by any third party, arising from your use of this Software.
Definition in file em_prs.h.
#include "em_device.h"
Go to the source code of this file.
Enumerations | |
enum | PRS_Edge_TypeDef { prsEdgeOff = PRS_CH_CTRL_EDSEL_OFF, prsEdgePos = PRS_CH_CTRL_EDSEL_POSEDGE, prsEdgeNeg = PRS_CH_CTRL_EDSEL_NEGEDGE, prsEdgeBoth = PRS_CH_CTRL_EDSEL_BOTHEDGES } |
Functions | |
__STATIC_INLINE void | PRS_LevelSet (uint32_t level, uint32_t mask) |
Set level control bit for one or more channels. More... | |
__STATIC_INLINE void | PRS_PulseTrigger (uint32_t channels) |
Trigger a high pulse (one HFPERCLK) for one or more channels. More... | |
void | PRS_SourceAsyncSignalSet (unsigned int ch, uint32_t source, uint32_t signal) |
Set source and asynchronous signal to be used for a channel. More... | |
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. More... | |