Appiko
Data Fields
aux_clk_setup_t Struct Reference

#include <aux_clk.h>

Data Fields

aux_clk_source_t source
 
app_irq_priority_t irq_priority
 
void(* callback_handler )(uint8_t events)
 
uint32_t arr_cc_ms [AUX_CLK_MAX_CHANNELS]
 
uint8_t events_en
 
aux_clk_ppi_t arr_ppi_cnf [AUX_CLK_PPI_CHANNELS_USED]
 

Detailed Description

Structure to store data required to set auxiliary clock module

Definition at line 140 of file aux_clk.h.

Field Documentation

◆ arr_cc_ms

uint32_t aux_clk_setup_t::arr_cc_ms[AUX_CLK_MAX_CHANNELS]

Array to store comapre and capture values for clock channels in milliseconds

Definition at line 151 of file aux_clk.h.

◆ arr_ppi_cnf

aux_clk_ppi_t aux_clk_setup_t::arr_ppi_cnf[AUX_CLK_PPI_CHANNELS_USED]

Array of PPI settings for different PPI channels

Definition at line 157 of file aux_clk.h.

Referenced by aux_clk_set().

◆ callback_handler

void(* aux_clk_setup_t::callback_handler) (uint8_t events)

Interrupt handler callback function pointer

Definition at line 149 of file aux_clk.h.

◆ events_en

uint8_t aux_clk_setup_t::events_en

Enable events from aux_clk_evt_t 'or'ed together

Note
Events required for PPI also has to be 'or'ed here

Definition at line 155 of file aux_clk.h.

◆ irq_priority

app_irq_priority_t aux_clk_setup_t::irq_priority

IRQ priority for this module

Note
If no Interrupt is required send APP_IRQ_PRIORITY_THREAD

Definition at line 147 of file aux_clk.h.

◆ source

aux_clk_source_t aux_clk_setup_t::source

Source of auxiliary clock

Definition at line 143 of file aux_clk.h.

Referenced by aux_clk_set().


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