libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
PPI Defines

Defined Constants and Types for the NRF51xx Programmable peripheral interconnect More...

Collaboration diagram for PPI Defines:

Modules

 Channel identifiers
 

Macros

#define PPI_TASK_CHG_EN(n)   MMIO32(PPI_BASE + 0x8 * (n))
 
#define PPI_TASK_CHG_DIS(n)   MMIO32(PPI_BASE + 0x8 * (n) + 0x4)
 
#define PPI_CHEN   MMIO32(PPI_BASE + 0x500)
 
#define PPI_CHENSET   MMIO32(PPI_BASE + 0x504)
 
#define PPI_CHENCLR   MMIO32(PPI_BASE + 0x508)
 
#define PPI_CH_EEP(n)   MMIO32(PPI_BASE + 0x510 + 0x8 * (n))
 
#define PPI_CH_TEP(n)   MMIO32(PPI_BASE + 0x514 + 0x8 * (n))
 
#define PPI_CHG(n)   MMIO32(PPI_BASE + 0x800 + 0x4 * (n))
 
#define PPI_CH(n)   (1 << (n))
 
#define PPI_MAX_PROG_CHANNEL   (15)
 
#define PPI_CH_TMR0CC0_RADIOTXEN   PPI_CH20
 
#define PPI_CH_TMR0CC0_RADIORXEN   PPI_CH21
 
#define PPI_CH_TMR0CC1_RADIODIS   PPI_CH22
 
#define PPI_CH_RADIOBCMATCH_AARSTART   PPI_CH23
 
#define PPI_CH_RADIOREADY_CCMKSGEN   PPI_CH24
 
#define PPI_CH_RADIOADDR_CCMCRYPT   PPI_CH25
 
#define PPI_CH_RADIOADDR_TMR0CAPT1   PPI_CH26
 
#define PPI_CH_RADIOEND_TMR0CAPT2   PPI_CH27
 
#define PPI_CH_RTC0CC0_RADIOTXEN   PPI_CH28
 
#define PPI_CH_RTC0CC0_RADIORXEN   PPI_CH29
 
#define PPI_CH_RTC0CC0_TMR0CLEAR   PPI_CH30
 
#define PPI_CH_RTC0CC0_TMR0START   PPI_CH31
 

Detailed Description

Defined Constants and Types for the NRF51xx Programmable peripheral interconnect

Version
1.0.0
Date
Nov 2021

LGPL License Terms libopencm3 License

Author
© 2016 Maxim Sloyko maxim.nosp@m.s@go.nosp@m.ogle..nosp@m.com
© 2021 Eduard Drusa <ventyl86 at netkosice dot sk>

Macro Definition Documentation

◆ PPI_CH

#define PPI_CH (   n)    (1 << (n))

Definition at line 55 of file common/ppi.h.

◆ PPI_CH_EEP

#define PPI_CH_EEP (   n)    MMIO32(PPI_BASE + 0x510 + 0x8 * (n))

Definition at line 48 of file common/ppi.h.

◆ PPI_CH_RADIOADDR_CCMCRYPT

#define PPI_CH_RADIOADDR_CCMCRYPT   PPI_CH25

Definition at line 110 of file common/ppi.h.

◆ PPI_CH_RADIOADDR_TMR0CAPT1

#define PPI_CH_RADIOADDR_TMR0CAPT1   PPI_CH26

Definition at line 113 of file common/ppi.h.

◆ PPI_CH_RADIOBCMATCH_AARSTART

#define PPI_CH_RADIOBCMATCH_AARSTART   PPI_CH23

Definition at line 104 of file common/ppi.h.

◆ PPI_CH_RADIOEND_TMR0CAPT2

#define PPI_CH_RADIOEND_TMR0CAPT2   PPI_CH27

Definition at line 116 of file common/ppi.h.

◆ PPI_CH_RADIOREADY_CCMKSGEN

#define PPI_CH_RADIOREADY_CCMKSGEN   PPI_CH24

Definition at line 107 of file common/ppi.h.

◆ PPI_CH_RTC0CC0_RADIORXEN

#define PPI_CH_RTC0CC0_RADIORXEN   PPI_CH29

Definition at line 122 of file common/ppi.h.

◆ PPI_CH_RTC0CC0_RADIOTXEN

#define PPI_CH_RTC0CC0_RADIOTXEN   PPI_CH28

Definition at line 119 of file common/ppi.h.

◆ PPI_CH_RTC0CC0_TMR0CLEAR

#define PPI_CH_RTC0CC0_TMR0CLEAR   PPI_CH30

Definition at line 125 of file common/ppi.h.

◆ PPI_CH_RTC0CC0_TMR0START

#define PPI_CH_RTC0CC0_TMR0START   PPI_CH31

Definition at line 128 of file common/ppi.h.

◆ PPI_CH_TEP

#define PPI_CH_TEP (   n)    MMIO32(PPI_BASE + 0x514 + 0x8 * (n))

Definition at line 50 of file common/ppi.h.

◆ PPI_CH_TMR0CC0_RADIORXEN

#define PPI_CH_TMR0CC0_RADIORXEN   PPI_CH21

Definition at line 98 of file common/ppi.h.

◆ PPI_CH_TMR0CC0_RADIOTXEN

#define PPI_CH_TMR0CC0_RADIOTXEN   PPI_CH20

Definition at line 95 of file common/ppi.h.

◆ PPI_CH_TMR0CC1_RADIODIS

#define PPI_CH_TMR0CC1_RADIODIS   PPI_CH22

Definition at line 101 of file common/ppi.h.

◆ PPI_CHEN

#define PPI_CHEN   MMIO32(PPI_BASE + 0x500)

Definition at line 43 of file common/ppi.h.

◆ PPI_CHENCLR

#define PPI_CHENCLR   MMIO32(PPI_BASE + 0x508)

Definition at line 45 of file common/ppi.h.

◆ PPI_CHENSET

#define PPI_CHENSET   MMIO32(PPI_BASE + 0x504)

Definition at line 44 of file common/ppi.h.

◆ PPI_CHG

#define PPI_CHG (   n)    MMIO32(PPI_BASE + 0x800 + 0x4 * (n))

Definition at line 53 of file common/ppi.h.

◆ PPI_MAX_PROG_CHANNEL

#define PPI_MAX_PROG_CHANNEL   (15)

Definition at line 91 of file common/ppi.h.

◆ PPI_TASK_CHG_DIS

#define PPI_TASK_CHG_DIS (   n)    MMIO32(PPI_BASE + 0x8 * (n) + 0x4)

Definition at line 39 of file common/ppi.h.

◆ PPI_TASK_CHG_EN

#define PPI_TASK_CHG_EN (   n)    MMIO32(PPI_BASE + 0x8 * (n))

Definition at line 38 of file common/ppi.h.