nrfcxx  0.1.0
C++-17 Framework for Nordic nRF5 Devices
Public Types | Static Public Attributes
nrfcxx::nrf5::PPI_Type Struct Reference
Inheritance diagram for nrfcxx::nrf5::PPI_Type:
nrfcxx::nrf5::peripheral< NRF_PPI_Type > nrfcxx::nrf5::peripheral< NRF_PPI_Type > nrfcxx::nrf5::peripheral< NRF_PPI_Type >

Public Types

using channel_set_type = uint16_t
 Bit-mask type to record sets of configurable channels.
 
using group_set_type = uint8_t
 Bit-mask type to record sets of configurable channels.
 
using channel_set_type = uint32_t
 Bit-mask type to record sets of configurable channels.
 
using group_set_type = uint8_t
 Bit-mask type to record sets of configurable channels.
 
using channel_set_type = uint32_t
 Bit-mask type to record sets of configurable channels.
 
using group_set_type = uint8_t
 Bit-mask type to record sets of configurable channels.
 
- Public Types inherited from nrfcxx::nrf5::peripheral< NRF_PPI_Type >
using Type = NRF_PPI_Type
 The structure describing the instance content, such as NRF_GPIO_Type or NRF_UART_Type.
 

Static Public Attributes

static constexpr size_t NUM_CHANNELS = 16
 The number of configurable channels. More...
 
static constexpr size_t NUM_GROUPS = 4
 The number of channel groups.
 
- Static Public Attributes inherited from nrfcxx::nrf5::peripheral< NRF_PPI_Type >
static constexpr int8_t NO_IRQ
 Flag value for IRQn indicating that the peripheral does not have an assign interrupt vector entry.
 
static constexpr uint8_t NO_INSTANCE
 Flag value for INSTANCE indicating that the peripheral does not have enumerated instances (e.g. More...
 

Additional Inherited Members

- Public Member Functions inherited from nrfcxx::nrf5::peripheral< NRF_PPI_Type >
constexpr peripheral (uintptr_t base, int8_t irqn=NO_IRQ, uint8_t instance=NO_INSTANCE, uint8_t aux=0)
 Create an object referencing a peripheral instance. More...
 
Typeinstance () const
 Get a type-correct pointer to the peripheral structure.
 
Typeoperator-> () const
 Allow dereferencing the instance as though it were a pointer to the peripheral structure.
 
- Data Fields inherited from nrfcxx::nrf5::peripheral< NRF_PPI_Type >
const uintptr_t BASE
 The address of the instance.
 
const int8_t IRQn
 The interrupt number associated with the instance, or negative if the instance has no dedicated interrupt. More...
 
const uint8_t INSTANCE
 The peripheral instance, for peripherals like TIMER that have multiple instances. More...
 
const uint8_t AUX
 Auxiliary information relevant to the specific peripheral and type. More...
 

Field Documentation

◆ NUM_CHANNELS

static constexpr size_t nrfcxx::nrf5::PPI_Type::NUM_CHANNELS = 16
staticconstexpr

The number of configurable channels.

This value is also available in the instance AUX field.


The documentation for this struct was generated from the following files: