ppi

package
v0.5.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

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

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 DisableIRQ(mask te.EventMask)

func EnableIRQ

func EnableIRQ(mask te.EventMask)

func IRQ

func IRQ() rtos.IRQ

func IRQEnabled

func IRQEnabled() te.EventMask

func LoadEEP added in v0.1.3

func LoadEEP(c te.Chan) *te.Event

LoadEEP returns the channel Event End Point. nRF52-.

func LoadTEP added in v0.1.3

func LoadTEP(c te.Chan) *te.Task

LoadTEP returns the channel Task End Point. nRF52-.

func SetTEP1 added in v0.1.3

func SetTEP1(c te.Chan, t *te.Task)

SetTEP1 sets the value of channel Fork Task End Point. nRF52.

func StoreEEP added in v0.1.3

func StoreEEP(c te.Chan, e *te.Event)

StoreEEP sets the channel Event End Point. nRF52-.

func StoreTEP added in v0.1.3

func StoreTEP(c te.Chan, t *te.Task)

StoreTEP sets the value channel Task End Point. nRF52-.

func TEP1 added in v0.1.3

func TEP1(c te.Chan) *te.Task

TEP1 returns the value of channel Fork Task End Point. nRF52.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL