Lines Matching refs:p_reg
12 void nrf_ppi_channel_enable(NRF_PPI_Type * p_reg, nrf_ppi_channel_t channel) in nrf_ppi_channel_enable() argument
14 p_reg->CHENSET = (1 << channel); in nrf_ppi_channel_enable()
18 void nrf_ppi_channel_disable(NRF_PPI_Type * p_reg, nrf_ppi_channel_t channel) in nrf_ppi_channel_disable() argument
20 p_reg->CHENCLR = (1 << channel); in nrf_ppi_channel_disable()
24 void nrf_ppi_channels_enable(NRF_PPI_Type * p_reg, uint32_t mask) in nrf_ppi_channels_enable() argument
26 p_reg->CHENSET = mask; in nrf_ppi_channels_enable()
30 void nrf_ppi_channels_disable(NRF_PPI_Type * p_reg, uint32_t mask) in nrf_ppi_channels_disable() argument
32 p_reg->CHENCLR = mask; in nrf_ppi_channels_disable()
36 void nrf_ppi_channel_endpoint_setup(NRF_PPI_Type * p_reg, in nrf_ppi_channel_endpoint_setup() argument
41 p_reg->CH[(uint32_t) channel].EEP = eep; in nrf_ppi_channel_endpoint_setup()
43 p_reg->CH[(uint32_t) channel].TEP = tep; in nrf_ppi_channel_endpoint_setup()
47 void nrf_ppi_event_endpoint_setup(NRF_PPI_Type * p_reg, in nrf_ppi_event_endpoint_setup() argument
51 p_reg->CH[(uint32_t) channel].EEP = eep; in nrf_ppi_event_endpoint_setup()
55 void nrf_ppi_task_endpoint_setup(NRF_PPI_Type * p_reg, in nrf_ppi_task_endpoint_setup() argument
59 p_reg->CH[(uint32_t) channel].TEP = tep; in nrf_ppi_task_endpoint_setup()
63 void nrf_ppi_fork_endpoint_setup(NRF_PPI_Type * p_reg, in nrf_ppi_fork_endpoint_setup() argument
67 p_reg->FORK[(uint32_t) channel].TEP = fork_tep; in nrf_ppi_fork_endpoint_setup()
71 void nrf_ppi_group_disable(NRF_PPI_Type * p_reg, nrf_ppi_channel_group_t group) in nrf_ppi_group_disable() argument
73 p_reg->TASKS_CHG[(uint32_t) group].DIS = 1; in nrf_ppi_group_disable()
77 void nrf_ppi_group_enable(NRF_PPI_Type * p_reg, nrf_ppi_channel_group_t group) in nrf_ppi_group_enable() argument
79 p_reg->TASKS_CHG[(uint32_t) group].EN = 1; in nrf_ppi_group_enable()