![]() |
nrfx 4.5.0
|
Hardware access layer for managing the VPR RISC-V CPU Control and Status Registers for VPR IO (VPR CSR VIO). More...
Data Structures | |
| struct | nrf_vpr_csr_vio_mode_out_t |
| Output mode structure. More... | |
| struct | nrf_vpr_csr_vio_shift_ctrl_t |
| Shift control configuration. More... | |
| struct | nrf_vpr_csr_vio_config_t |
| VIO configuration. More... | |
Enumerations | |
| enum | nrf_vpr_csr_vio_shift_t { NRF_VPR_CSR_VIO_SHIFT_NONE = VPRCSR_NORDIC_OUTMODE_MODE_NoShifting , NRF_VPR_CSR_VIO_SHIFT_OUTB = VPRCSR_NORDIC_OUTMODE_MODE_OutBBuf , NRF_VPR_CSR_VIO_SHIFT_OUTB_TOGGLE = VPRCSR_NORDIC_OUTMODE_MODE_OutBBufToggleClk } |
| Shift mode. More... | |
| enum | nrf_vpr_csr_vio_mode_in_t { NRF_VPR_CSR_VIO_MODE_IN_CONTINUOUS = VPRCSR_NORDIC_INMODE_MODE_CONTINUOUS , NRF_VPR_CSR_VIO_MODE_IN_EVENT = VPRCSR_NORDIC_INMODE_MODE_EVENT , NRF_VPR_CSR_VIO_MODE_IN_SHIFT = VPRCSR_NORDIC_INMODE_MODE_SHIFT } |
| Input modes. More... | |
| enum | nrf_vpr_csr_vio_out_unshifted_trigger_t { NRF_VPR_CSR_VIO_OUTUBTRIG_IEVENTCNT0 = VPRCSR_NORDIC_OUTUBTRIG_SEL_IEVENTCNT0 , NRF_VPR_CSR_VIO_OUTUBTRIG_IEVENTCNT1 = VPRCSR_NORDIC_OUTUBTRIG_SEL_IEVENTCNT1 , NRF_VPR_CSR_VIO_OUTUBTRIG_IEVENTVIO = VPRCSR_NORDIC_OUTUBTRIG_SEL_IEVENTVIO , NRF_VPR_CSR_VIO_OUTUBTRIG_IEVENTVIOANY = VPRCSR_NORDIC_OUTUBTRIG_SEL_IEVENTVIOANY , NRF_VPR_CSR_VIO_OUTUBTRIG_IEVENTVTASKSANY = VPRCSR_NORDIC_OUTUBTRIG_SEL_IEVENTVTASKSANY , NRF_VPR_CSR_VIO_OUTUBTRIG_IEVENTSHIFTCNTOUT = VPRCSR_NORDIC_OUTUBTRIG_SEL_IEVENTSHIFTCNTOUT , NRF_VPR_CSR_VIO_OUTUBTRIG_IEVENTSHIFTCNTIN = VPRCSR_NORDIC_OUTUBTRIG_SEL_IEVENTSHIFTCNTIN } |
| Unshifted pins trigger condition for transferring OUTUB to OUT. More... | |
Functions | |
| NRF_STATIC_INLINE uint16_t | nrf_vpr_csr_vio_dir_get (void) |
| Function for getting the pin directions mask. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_dir_set (uint16_t value) |
| Function for setting the pin directions mask. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_dir_output_set (uint16_t value) |
| Function for setting the specified pins as outputs. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_dir_input_set (uint16_t value) |
| Function for setting the specified pins as inputs. | |
| NRF_STATIC_INLINE uint16_t | nrf_vpr_csr_vio_dir_buffered_get (void) |
| Function for getting the buffered pin directions mask. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_dir_buffered_set (uint16_t value) |
| Function for setting the buffered pin directions mask. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_dir_buffered_output_set (uint16_t value) |
| Function for setting the specified buffered pins as outputs. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_dir_buffered_input_set (uint16_t value) |
| Function for setting the specified buffered pins as inputs. | |
| NRF_STATIC_INLINE bool | nrf_vpr_csr_vio_dir_buffered_dirty_check (void) |
| Function for retrieving the dirty status of buffered pin directions mask. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_dir_toggle_set (uint16_t mask) |
| Function for setting the pin directions toggle mask. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_dir_buffered_toggle_set (uint16_t mask) |
| Function for setting the buffered pin directions toggle mask. | |
| NRF_STATIC_INLINE uint16_t | nrf_vpr_csr_vio_in_get (void) |
| Function for getting the input values. | |
| NRF_STATIC_INLINE uint32_t | nrf_vpr_csr_vio_in_buffered_get (void) |
| Function for getting the buffered input values. | |
| NRF_STATIC_INLINE uint32_t | nrf_vpr_csr_vio_in_buffered_reversed_byte_get (void) |
| Function for getting the buffered input values, reversed in each byte. | |
| NRF_STATIC_INLINE nrf_vpr_csr_vio_mode_in_t | nrf_vpr_csr_vio_mode_in_get (void) |
| Function for getting the input mode. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_mode_in_set (nrf_vpr_csr_vio_mode_in_t mode) |
| Function for setting the input mode. | |
| NRF_STATIC_INLINE nrf_vpr_csr_vio_mode_in_t | nrf_vpr_csr_vio_mode_in_buffered_get (void) |
| Function for getting the buffered input mode. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_mode_in_buffered_set (nrf_vpr_csr_vio_mode_in_t mode) |
| Function for setting the buffered input mode. | |
| NRF_STATIC_INLINE uint16_t | nrf_vpr_csr_vio_out_get (void) |
| Function for getting the output values. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_set (uint16_t value) |
| Function for setting the output values. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_or_set (uint16_t value) |
| Function for enabling the specified output values. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_clear_set (uint16_t value) |
| Function for disabling the specified output values. | |
| NRF_STATIC_INLINE uint32_t | nrf_vpr_csr_vio_out_buffered_get (void) |
| Function for getting the buffered output values. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_buffered_set (uint32_t value) |
| Function for setting the buffered output values. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_buffered_or_set (uint16_t value) |
| Function for enabling the specified buffered output values. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_buffered_clear_set (uint16_t value) |
| Function for disabling the specified buffered output values. | |
| NRF_STATIC_INLINE uint32_t | nrf_vpr_csr_vio_out_buffered_reversed_byte_get (void) |
| Function for getting the buffered output values, reversed in each byte. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_buffered_reversed_byte_set (uint32_t value) |
| Function for setting the buffered output values, reversed in each byte. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_buffered_reversed_byte_or_set (uint16_t value) |
| Function for enabling the specified buffered output values, reversed in each byte. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_buffered_reversed_byte_clear_set (uint16_t value) |
| Function for disabling the specified buffered output values, reversed in each byte. | |
| NRF_STATIC_INLINE uint32_t | nrf_vpr_csr_vio_out_buffered_reversed_word_get (void) |
| Function for getting the buffered output values, reversed in each word. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_buffered_reversed_word_set (uint32_t value) |
| Function for setting the buffered output values, reversed in the whole word. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_buffered_reversed_word_or_set (uint16_t value) |
| Function for enabling the specified buffered output values, reversed in the whole word. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_buffered_reversed_word_clear_set (uint16_t value) |
| Function for disabling the specified buffered output values, reversed in the whole word. | |
| NRF_STATIC_INLINE bool | nrf_vpr_csr_vio_out_buffered_dirty_check (void) |
| Function for retrieving the dirty status of buffered output values. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_toggle_set (uint16_t mask) |
| Function for setting the output toggle mask. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_toggle_buffered_set (uint16_t mask) |
| Function for setting the buffered output toggle mask. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_combined_set (uint32_t value) |
| Function for setting the combined output and buffered output values. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_combined_or_set (uint32_t value) |
| Function for enabling the specified combined output and buffered output values. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_combined_clear_set (uint32_t value) |
| Function for disabling the specified combined output and buffered output values. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_combined_toggle_set (uint32_t mask) |
| Function for setting the combined output and buffered output toggle mask. | |
| NRF_STATIC_INLINE bool | nrf_vpr_csr_vio_out_combined_dirty_check (void) |
| Function for retrieving the dirty status of combined output and buffered output values. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_mode_out_get (nrf_vpr_csr_vio_mode_out_t *p_mode) |
| Function for getting the configuration of output mode. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_mode_out_set (nrf_vpr_csr_vio_mode_out_t const *p_mode) |
| Function for setting the configuration of output mode. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_mode_out_buffered_get (nrf_vpr_csr_vio_mode_out_t *p_mode) |
| Function for getting the buffered configuration of output mode. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_mode_out_buffered_set (nrf_vpr_csr_vio_mode_out_t const *p_mode) |
| Function for setting the buffered configuration of output mode. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_shift_ctrl_buffered_set (nrf_vpr_csr_vio_shift_ctrl_t const *p_shift_ctrl) |
| Function for setting the buffered shift control register configuration. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_shift_ctrl_buffered_get (nrf_vpr_csr_vio_shift_ctrl_t *p_shift_ctrl) |
| Function for getting the buffered shift control register configuration. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_config_get (nrf_vpr_csr_vio_config_t *p_config) |
| Function for getting the VIO configuration. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_config_set (nrf_vpr_csr_vio_config_t const *p_config) |
| Function for setting the VIO configuration. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_config_input_sel_enable (void) |
| Function for setting the VIO configuration's input pin to sample on separate pin. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_config_input_sel_disable (void) |
| Function for setting the VIO configuration's input pin to sample on same OUT pin. | |
| NRF_STATIC_INLINE uint32_t | nrf_vpr_csr_vio_dirout_get (void) |
| Function for getting the combined pin directions mask and output values. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_dirout_set (uint32_t value) |
| Function for setting the combined pin directions mask and output values. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_dirout_or_set (uint32_t value) |
| Function for enabling the combined pin directions mask and output values. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_dirout_clear_set (uint32_t value) |
| Function for disabling the combined pin directions mask and output values. | |
| NRF_STATIC_INLINE uint32_t | nrf_vpr_csr_vio_dirout_buffered_get (void) |
| Function for getting the combined buffered pin directions mask and buffered output values. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_dirout_buffered_set (uint32_t value) |
| Function for getting the combined buffered pin directions mask and buffered output values. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_dirout_buffered_or_set (uint32_t value) |
| Function for enabling the combined buffered pin directions mask and buffered output values. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_dirout_buffered_clear_set (uint32_t value) |
| Function for disabling the combined buffered pin directions mask and buffered output values. | |
| NRF_STATIC_INLINE bool | nrf_vpr_csr_vio_dirout_buffered_dirty_check (void) |
| Function for retrieving the dirty status of combined buffered pin directions mask and buffered output values. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_dirout_toggle_set (uint32_t mask) |
| Function for setting the combined pin directions and output toggle masks. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_dirout_toggle_buffered_set (uint32_t mask) |
| Function for setting the combined buffered pin directions and buffered output toggle masks. | |
| NRF_STATIC_INLINE uint8_t | nrf_vpr_csr_vio_shift_cnt_in_get (void) |
| Function for getting the number of frames to be shifted from buffered input before new data is required. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_shift_cnt_in_set (uint8_t cnt) |
| Function for setting the number of frames to be shifted from buffered input before new data is required. | |
| NRF_STATIC_INLINE uint8_t | nrf_vpr_csr_vio_shift_cnt_out_get (void) |
| Function for getting the number of frames to be shifted from buffered output before new data is required. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_shift_cnt_out_set (uint8_t cnt) |
| Function for setting the number of frames to be shifted from buffered output before new data is required. | |
| NRF_STATIC_INLINE uint8_t | nrf_vpr_csr_vio_shift_cnt_out_buffered_get (void) |
| Function for getting the buffered number of frames to be shifted from buffered output before new data is required. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_shift_cnt_out_buffered_set (uint8_t cnt) |
| Function for setting the buffered number of frames to be shifted from buffered output before new data is required. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_unshifted_buffered_set (uint32_t value) |
| Function for setting the buffered unshifted parts of OUT register. | |
| NRF_STATIC_INLINE uint32_t | nrf_vpr_csr_vio_out_unshifted_buffered_get (void) |
| Function for getting the buffered unshifted parts of OUT register. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_unshifted_buffered_trigger_set (nrf_vpr_csr_vio_out_unshifted_trigger_t trigger) |
| Function for setting the trigger for buffered unshifted parts of OUT register. | |
| NRF_STATIC_INLINE nrf_vpr_csr_vio_out_unshifted_trigger_t | nrf_vpr_csr_vio_out_unshifted_buffered_trigger_get (void) |
| Function for getting the trigger for buffered unshifted parts of OUT register. | |
| NRF_STATIC_INLINE void | nrf_vpr_csr_vio_out_unshifted_buffered_toggle_set (uint32_t mask) |
| Function for setting the toggle mask for buffered unshifted parts of OUT register. | |
| NRF_STATIC_INLINE bool | nrf_vpr_csr_vio_out_unshifted_buffered_dirty_check (void) |
| Function for checking the dirty status of buffered unshifted parts of OUT register. | |
Hardware access layer for managing the VPR RISC-V CPU Control and Status Registers for VPR IO (VPR CSR VIO).
Unshifted pins trigger condition for transferring OUTUB to OUT.
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_config_get | ( | nrf_vpr_csr_vio_config_t * | p_config | ) |
Function for getting the VIO configuration.
| [out] | p_config | Pointer to the structure to be filled with VIO configuration. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_config_set | ( | nrf_vpr_csr_vio_config_t const * | p_config | ) |
Function for setting the VIO configuration.
| [in] | p_config | Pointer to the structure with VIO configuration to be set. |
| NRF_STATIC_INLINE bool nrf_vpr_csr_vio_dir_buffered_dirty_check | ( | void | ) |
Function for retrieving the dirty status of buffered pin directions mask.
| true | Buffer is dirty. |
| false | Buffer is clean. |
| NRF_STATIC_INLINE uint16_t nrf_vpr_csr_vio_dir_buffered_get | ( | void | ) |
Function for getting the buffered pin directions mask.
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_dir_buffered_input_set | ( | uint16_t | value | ) |
Function for setting the specified buffered pins as inputs.
| [in] | value | Mask of pins to be set as input. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_dir_buffered_output_set | ( | uint16_t | value | ) |
Function for setting the specified buffered pins as outputs.
| [in] | value | Mask of pins to be set as output. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_dir_buffered_set | ( | uint16_t | value | ) |
Function for setting the buffered pin directions mask.
| [in] | value | Mask of pin directions to be set. 0 is input, 1 is output. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_dir_buffered_toggle_set | ( | uint16_t | mask | ) |
Function for setting the buffered pin directions toggle mask.
| [in] | mask | Mask of pin directions to be toggled. |
| NRF_STATIC_INLINE uint16_t nrf_vpr_csr_vio_dir_get | ( | void | ) |
Function for getting the pin directions mask.
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_dir_input_set | ( | uint16_t | value | ) |
Function for setting the specified pins as inputs.
| [in] | value | Mask of pins to be set as input. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_dir_output_set | ( | uint16_t | value | ) |
Function for setting the specified pins as outputs.
| [in] | value | Mask of pins to be set as output. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_dir_set | ( | uint16_t | value | ) |
Function for setting the pin directions mask.
| [in] | value | Mask of pin directions to be set. 0 is input, 1 is output. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_dir_toggle_set | ( | uint16_t | mask | ) |
Function for setting the pin directions toggle mask.
| [in] | mask | Mask of pin directions to be toggled. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_dirout_buffered_clear_set | ( | uint32_t | value | ) |
Function for disabling the combined buffered pin directions mask and buffered output values.
| [in] | value | Mask of pins to be set as input and output states to be set low. |
| NRF_STATIC_INLINE bool nrf_vpr_csr_vio_dirout_buffered_dirty_check | ( | void | ) |
Function for retrieving the dirty status of combined buffered pin directions mask and buffered output values.
| true | Buffer is dirty. |
| false | Buffer is clean. |
| NRF_STATIC_INLINE uint32_t nrf_vpr_csr_vio_dirout_buffered_get | ( | void | ) |
Function for getting the combined buffered pin directions mask and buffered output values.
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_dirout_buffered_or_set | ( | uint32_t | value | ) |
Function for enabling the combined buffered pin directions mask and buffered output values.
| [in] | value | Mask of buffered pins to be set as output and buffered output states to be set high. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_dirout_buffered_set | ( | uint32_t | value | ) |
Function for getting the combined buffered pin directions mask and buffered output values.
| [in] | value | Mask of buffered pin directions and buffered output values. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_dirout_clear_set | ( | uint32_t | value | ) |
Function for disabling the combined pin directions mask and output values.
| [in] | value | Mask of pins to be set as input and output states to be set low. |
| NRF_STATIC_INLINE uint32_t nrf_vpr_csr_vio_dirout_get | ( | void | ) |
Function for getting the combined pin directions mask and output values.
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_dirout_or_set | ( | uint32_t | value | ) |
Function for enabling the combined pin directions mask and output values.
| [in] | value | Mask of pins to be set as output and output states to be set high. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_dirout_set | ( | uint32_t | value | ) |
Function for setting the combined pin directions mask and output values.
| [in] | value | Mask of pin directions and output values. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_dirout_toggle_buffered_set | ( | uint32_t | mask | ) |
Function for setting the combined buffered pin directions and buffered output toggle masks.
| [in] | mask | Mask of values to be toggled. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_dirout_toggle_set | ( | uint32_t | mask | ) |
Function for setting the combined pin directions and output toggle masks.
| [in] | mask | Mask of values to be toggled. |
| NRF_STATIC_INLINE uint32_t nrf_vpr_csr_vio_in_buffered_get | ( | void | ) |
Function for getting the buffered input values.
| NRF_STATIC_INLINE uint32_t nrf_vpr_csr_vio_in_buffered_reversed_byte_get | ( | void | ) |
Function for getting the buffered input values, reversed in each byte.
| NRF_STATIC_INLINE uint16_t nrf_vpr_csr_vio_in_get | ( | void | ) |
Function for getting the input values.
| NRF_STATIC_INLINE nrf_vpr_csr_vio_mode_in_t nrf_vpr_csr_vio_mode_in_buffered_get | ( | void | ) |
Function for getting the buffered input mode.
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_mode_in_buffered_set | ( | nrf_vpr_csr_vio_mode_in_t | mode | ) |
Function for setting the buffered input mode.
| [in] | mode | Input mode to be set. |
| NRF_STATIC_INLINE nrf_vpr_csr_vio_mode_in_t nrf_vpr_csr_vio_mode_in_get | ( | void | ) |
Function for getting the input mode.
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_mode_in_set | ( | nrf_vpr_csr_vio_mode_in_t | mode | ) |
Function for setting the input mode.
| [in] | mode | Input mode to be set. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_mode_out_buffered_get | ( | nrf_vpr_csr_vio_mode_out_t * | p_mode | ) |
Function for getting the buffered configuration of output mode.
| [out] | p_mode | Pointer to the structure to be filled with buffered output mode. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_mode_out_buffered_set | ( | nrf_vpr_csr_vio_mode_out_t const * | p_mode | ) |
Function for setting the buffered configuration of output mode.
| [in] | p_mode | Pointer to the structure with buffered output mode to be set. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_mode_out_get | ( | nrf_vpr_csr_vio_mode_out_t * | p_mode | ) |
Function for getting the configuration of output mode.
| [out] | p_mode | Pointer to the structure to be filled with output mode. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_mode_out_set | ( | nrf_vpr_csr_vio_mode_out_t const * | p_mode | ) |
Function for setting the configuration of output mode.
| [in] | p_mode | Pointer to the structure with output mode to be set. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_buffered_clear_set | ( | uint16_t | value | ) |
Function for disabling the specified buffered output values.
| [in] | value | Mask of output states to be set low. |
| NRF_STATIC_INLINE bool nrf_vpr_csr_vio_out_buffered_dirty_check | ( | void | ) |
Function for retrieving the dirty status of buffered output values.
| true | Buffer is dirty. |
| fasle | Buffer is clean. |
| NRF_STATIC_INLINE uint32_t nrf_vpr_csr_vio_out_buffered_get | ( | void | ) |
Function for getting the buffered output values.
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_buffered_or_set | ( | uint16_t | value | ) |
Function for enabling the specified buffered output values.
| [in] | value | Mask of output states to be set high. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_buffered_reversed_byte_clear_set | ( | uint16_t | value | ) |
Function for disabling the specified buffered output values, reversed in each byte.
| [in] | value | Mask of output states to be set low. |
| NRF_STATIC_INLINE uint32_t nrf_vpr_csr_vio_out_buffered_reversed_byte_get | ( | void | ) |
Function for getting the buffered output values, reversed in each byte.
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_buffered_reversed_byte_or_set | ( | uint16_t | value | ) |
Function for enabling the specified buffered output values, reversed in each byte.
| [in] | value | Mask of output states to be set high. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_buffered_reversed_byte_set | ( | uint32_t | value | ) |
Function for setting the buffered output values, reversed in each byte.
| [in] | value | Mask of output states to be set. 0 is low, 1 is high. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_buffered_reversed_word_clear_set | ( | uint16_t | value | ) |
Function for disabling the specified buffered output values, reversed in the whole word.
| [in] | value | Mask of output states to be set low. |
| NRF_STATIC_INLINE uint32_t nrf_vpr_csr_vio_out_buffered_reversed_word_get | ( | void | ) |
Function for getting the buffered output values, reversed in each word.
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_buffered_reversed_word_or_set | ( | uint16_t | value | ) |
Function for enabling the specified buffered output values, reversed in the whole word.
| [in] | value | Mask of output states to be set high. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_buffered_reversed_word_set | ( | uint32_t | value | ) |
Function for setting the buffered output values, reversed in the whole word.
| [in] | value | Mask of output states to be set. 0 is low, 1 is high. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_buffered_set | ( | uint32_t | value | ) |
Function for setting the buffered output values.
| [in] | value | Mask of output states to be set. 0 is low, 1 is high. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_clear_set | ( | uint16_t | value | ) |
Function for disabling the specified output values.
| [in] | value | Mask of output states to be set low. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_combined_clear_set | ( | uint32_t | value | ) |
Function for disabling the specified combined output and buffered output values.
| [in] | value | Mask of output states to be set low. |
| NRF_STATIC_INLINE bool nrf_vpr_csr_vio_out_combined_dirty_check | ( | void | ) |
Function for retrieving the dirty status of combined output and buffered output values.
| true | Buffer is dirty. |
| fasle | Buffer is clean. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_combined_or_set | ( | uint32_t | value | ) |
Function for enabling the specified combined output and buffered output values.
| [in] | value | Mask of output states to be set high. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_combined_set | ( | uint32_t | value | ) |
Function for setting the combined output and buffered output values.
| [in] | value | Mask of output states to be set. 0 is low, 1 is high. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_combined_toggle_set | ( | uint32_t | mask | ) |
Function for setting the combined output and buffered output toggle mask.
| [in] | mask | Mask of output to be toggled. |
| NRF_STATIC_INLINE uint16_t nrf_vpr_csr_vio_out_get | ( | void | ) |
Function for getting the output values.
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_or_set | ( | uint16_t | value | ) |
Function for enabling the specified output values.
| [in] | value | Mask of output states to be set high. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_set | ( | uint16_t | value | ) |
Function for setting the output values.
| [in] | value | Mask of output states to be set. 0 is low, 1 is high. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_toggle_buffered_set | ( | uint16_t | mask | ) |
Function for setting the buffered output toggle mask.
| [in] | mask | Mask of output to be toggled. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_toggle_set | ( | uint16_t | mask | ) |
Function for setting the output toggle mask.
| [in] | mask | Mask of output to be toggled. |
| NRF_STATIC_INLINE bool nrf_vpr_csr_vio_out_unshifted_buffered_dirty_check | ( | void | ) |
Function for checking the dirty status of buffered unshifted parts of OUT register.
| true | Buffer is dirty. |
| false | Buffer is clean. |
| NRF_STATIC_INLINE uint32_t nrf_vpr_csr_vio_out_unshifted_buffered_get | ( | void | ) |
Function for getting the buffered unshifted parts of OUT register.
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_unshifted_buffered_set | ( | uint32_t | value | ) |
Function for setting the buffered unshifted parts of OUT register.
| [in] | value | Buffered unshifted parts of OUT register. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_unshifted_buffered_toggle_set | ( | uint32_t | mask | ) |
Function for setting the toggle mask for buffered unshifted parts of OUT register.
| [in] | mask | Mask of buffered unshifted parts of OUT register to be toggled. |
| NRF_STATIC_INLINE nrf_vpr_csr_vio_out_unshifted_trigger_t nrf_vpr_csr_vio_out_unshifted_buffered_trigger_get | ( | void | ) |
Function for getting the trigger for buffered unshifted parts of OUT register.
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_out_unshifted_buffered_trigger_set | ( | nrf_vpr_csr_vio_out_unshifted_trigger_t | trigger | ) |
Function for setting the trigger for buffered unshifted parts of OUT register.
| [in] | trigger | Trigger for buffered unshifted parts of OUT register. |
| NRF_STATIC_INLINE uint8_t nrf_vpr_csr_vio_shift_cnt_in_get | ( | void | ) |
Function for getting the number of frames to be shifted from buffered input before new data is required.
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_shift_cnt_in_set | ( | uint8_t | cnt | ) |
Function for setting the number of frames to be shifted from buffered input before new data is required.
| [in] | cnt | Number for frames to be set. |
| NRF_STATIC_INLINE uint8_t nrf_vpr_csr_vio_shift_cnt_out_buffered_get | ( | void | ) |
Function for getting the buffered number of frames to be shifted from buffered output before new data is required.
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_shift_cnt_out_buffered_set | ( | uint8_t | cnt | ) |
Function for setting the buffered number of frames to be shifted from buffered output before new data is required.
| [in] | cnt | Number for frames to be set. |
| NRF_STATIC_INLINE uint8_t nrf_vpr_csr_vio_shift_cnt_out_get | ( | void | ) |
Function for getting the number of frames to be shifted from buffered output before new data is required.
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_shift_cnt_out_set | ( | uint8_t | cnt | ) |
Function for setting the number of frames to be shifted from buffered output before new data is required.
| [in] | cnt | Number for frames to be set. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_shift_ctrl_buffered_get | ( | nrf_vpr_csr_vio_shift_ctrl_t * | p_shift_ctrl | ) |
Function for getting the buffered shift control register configuration.
| [out] | p_shift_ctrl | Pointer to the structure to be filled with buffered shift control configuration. |
| NRF_STATIC_INLINE void nrf_vpr_csr_vio_shift_ctrl_buffered_set | ( | nrf_vpr_csr_vio_shift_ctrl_t const * | p_shift_ctrl | ) |
Function for setting the buffered shift control register configuration.
| [in] | p_shift_ctrl | Pointer to the structure with buffered shift control configuration to be set. |