Hardware abstraction layer of the PPI peripheral in the nRF52 SoCs.
More...
◆ ppi_setup_status_t
List of possible errors
Enumerator |
---|
PPI_SETUP_SUCCESSFUL | No Error
|
PPI_INVALID_EVENT | Invalid Event
|
PPI_INVALID_TASK | Invalid Task
|
PPI_INVALID_FORK | Invalid Fork
|
PPI_INVALID_CH | Invalid Channel
|
PPI_INVALID_PERIPHERAL | Invalid Peripheral
|
Definition at line 34 of file hal_ppi.h.
◆ hal_ppi_dis_ch()
void hal_ppi_dis_ch |
( |
uint32_t |
ppi_id | ) |
|
- Parameters
-
ppi_id | PPI channel which is to be disabled |
Definition at line 73 of file hal_ppi.c.
◆ hal_ppi_en_ch()
void hal_ppi_en_ch |
( |
uint32_t |
ppi_id | ) |
|
- Parameters
-
ppi_id | PPI channel which is to be enabled |
Definition at line 68 of file hal_ppi.c.
◆ hal_ppi_set()
◆ hal_ppi_set_event()
void hal_ppi_set_event |
( |
uint32_t |
ppi_id, |
|
|
uint32_t |
new_event |
|
) |
| |
- Parameters
-
ppi_id | PPI channel for which triggering event is to be set |
new_event | New triggering event |
Definition at line 78 of file hal_ppi.c.
◆ hal_ppi_set_fork()
void hal_ppi_set_fork |
( |
uint32_t |
ppi_id, |
|
|
uint32_t |
new_fork |
|
) |
| |
- Parameters
-
ppi_id | PPI channel for which secondary task is to be set |
new_fork | New secondary task |
Definition at line 88 of file hal_ppi.c.
◆ hal_ppi_set_task()
void hal_ppi_set_task |
( |
uint32_t |
ppi_id, |
|
|
uint32_t |
new_task |
|
) |
| |
- Parameters
-
ppi_id | PPI channel for which primary task is to be changed |
new_task | New primary task |
Definition at line 83 of file hal_ppi.c.