Documentation
¶
Overview ¶
Package ppi provides access to some features of PPI (Programmable Peripheral Interconnect) and DPPI (Distributed PPI). Most of the features of PPI/DPPI like channels, channel groups, channel group tasks are handled in unified way by te package. The ppi package allows to manage PPI/DPPI interrupts for multiple events simultaneously and exposes some PPI specific features that are not supported by te package: list of preprogrammed channels, connecting one event/task to multiple channels.
Index ¶
- Constants
- func DisableIRQ(mask te.EventMask)
- func EnableIRQ(mask te.EventMask)
- func IRQ() rtos.IRQ
- func IRQEnabled() te.EventMask
- func LoadEEP(c te.Chan) *te.Event
- func LoadTEP(c te.Chan) *te.Task
- func SetTEP1(c te.Chan, t *te.Task)
- func StoreEEP(c te.Chan, e *te.Event)
- func StoreTEP(c te.Chan, t *te.Task)
- func TEP1(c te.Chan) *te.Task
Constants ¶
View Source
const ( TIMER0_COMPARE0__RADIO_TXEN te.Chan = 20 TIMER0_COMPARE0__RADIO_RXEN te.Chan = 21 TIMER0_COMPARE1__RADIO_DISABLE te.Chan = 22 RADIO_BCMATCH__AAR_START te.Chan = 23 RADIO_READY__CCM_KSGEN te.Chan = 24 RADIO_ADDRESS__CCM_CRYPT te.Chan = 25 RADIO_ADDRESS__TIMER0_CAPTURE1 te.Chan = 26 RADIO_END__TIMER0_CAPTURE2 te.Chan = 27 RTC0_COMPARE0__RADIO_TXEN te.Chan = 28 RTC0_COMPARE0__RADIO_RXEN te.Chan = 29 RTC0_COMPARE0__TIMER0_CLEAR te.Chan = 30 RTC0_COMPARE0__TIMER0_START te.Chan = 31 )
Pre-programmed channels. nrf52-.
Variables ¶
This section is empty.
Functions ¶
func DisableIRQ ¶
func IRQEnabled ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.