SEI driver APIs. More...
Data Structures | |
| struct | sei_engine_config_t |
| sei engine config structure More... | |
| struct | sei_transceiver_synchronous_master_config_t |
| sei transceiver synchronous master mode config structure More... | |
| struct | sei_transceiver_synchronous_slave_config_t |
| sei transceiver synchronous master mode config structure More... | |
| struct | sei_transceiver_asynchronous_config_t |
| sei transceiver asynchronous mode config structure More... | |
| struct | sei_transceiver_config_t |
| sei transceiver config structure More... | |
| struct | sei_trigger_input_config_t |
| sei trigger input config structure More... | |
| struct | sei_trigger_output_config_t |
| sei trigger output config structure More... | |
| struct | sei_data_format_config_t |
| sei data format config structure More... | |
| struct | sei_command_table_config_t |
| sei command table config structure More... | |
| struct | sei_state_transition_config_t |
| sei state transition config structure More... | |
| struct | sei_state_transition_latch_config_t |
| sei state transition latch config structure More... | |
| struct | sei_sample_config_t |
| sei sample config structure More... | |
| struct | sei_update_config_t |
| sei update config structure More... | |
Enumerations | |
| enum | sei_arming_mode_t { sei_arming_direct_exec = 0 , sei_arming_wait_trigger } |
| sei arming action More... | |
| enum | sei_wdg_action_t { sei_wdg_exec_next_instr = 0 , sei_wdg_exec_exception_instr } |
| sei watchdog action More... | |
| enum | sei_transceiver_mode_t { sei_synchronous_master_mode = 0 , sei_synchronous_slave_mode , sei_asynchronous_mode } |
| sei transfer mode More... | |
| enum | sei_asynchronous_parity_t { sei_asynchronous_parity_even = 0 , sei_asynchronous_parity_odd } |
| sei asynchronous mode parity More... | |
| enum | sei_idle_state_t { sei_idle_low_state = 0 , sei_idle_high_state } |
| sei ilde state More... | |
| enum | sei_data_mode_t { sei_data_mode = 0 , sei_check_mode , sei_crc_mode } |
| sei data mode More... | |
| enum | sei_data_bit_order_t { sei_bit_lsb_first = 0 , sei_bit_msb_first } |
| sei data bit order More... | |
| enum | sei_data_word_order_t { sei_word_nonreverse = 0 , sei_word_reverse } |
| sei data word order More... | |
| enum | sei_state_tran_condition_t { sei_state_tran_condition_high_match = 0 , sei_state_tran_condition_low_dismatch , sei_state_tran_condition_rise_entry , sei_state_tran_condition_fall_leave } |
| sei state transition condition More... | |
| enum | sei_trig_in_type_t { sei_trig_in0 = 0 , sei_trig_in1 , sei_trig_in_period , sei_trig_in_soft } |
| sei trig in type More... | |
| enum | sei_irq_event_t { sei_irq_stall_event = SEI_CTRL_IRQ_INT_FLAG_STALL_MASK , sei_irq_execpt_event = SEI_CTRL_IRQ_INT_FLAG_EXCEPT_MASK , sei_irq_wdog_event = SEI_CTRL_IRQ_INT_FLAG_WDOG_MASK , sei_irq_instr_ptr0_start_event = SEI_CTRL_IRQ_INT_FLAG_PTR0_ST_MASK , sei_irq_instr_ptr1_start_event = SEI_CTRL_IRQ_INT_FLAG_PTR1_ST_MASK , sei_irq_instr_value0_start_event = SEI_CTRL_IRQ_INT_FLAG_INSTR0_ST_MASK , sei_irq_instr_value1_start_event = SEI_CTRL_IRQ_INT_FLAG_INSTR1_ST_MASK , sei_irq_instr_ptr0_end_event = SEI_CTRL_IRQ_INT_FLAG_PTR0_END_MASK , sei_irq_instr_ptr1_end_event = SEI_CTRL_IRQ_INT_FLAG_PTR1_END_MASK , sei_irq_instr_value0_end_event = SEI_CTRL_IRQ_INT_FLAG_INSTR0_END_MASK , sei_irq_instr_value1_end_event = SEI_CTRL_IRQ_INT_FLAG_INSTR1_END_MASK , sei_irq_trx_err_event = SEI_CTRL_IRQ_INT_FLAG_TRX_ERR_MASK , sei_irq_timeout_event = SEI_CTRL_IRQ_INT_FLAG_TIMEOUT_MASK , sei_irq_latch0_event = SEI_CTRL_IRQ_INT_FLAG_LATCH0_MASK , sei_irq_latch1_event = SEI_CTRL_IRQ_INT_FLAG_LATCH1_MASK , sei_irq_latch2_event = SEI_CTRL_IRQ_INT_FLAG_LATCH2_MASK , sei_irq_latch3_event = SEI_CTRL_IRQ_INT_FLAG_LATCH3_MASK , sei_irq_sample_err_event = SEI_CTRL_IRQ_INT_FLAG_SMP_ERR_MASK , sei_irq_trig0_event = SEI_CTRL_IRQ_INT_FLAG_TRIGER0_MASK , sei_irq_trig1_event = SEI_CTRL_IRQ_INT_FLAG_TRIGER1_MASK , sei_irq_trig2_event = SEI_CTRL_IRQ_INT_FLAG_TRIGER2_MASK , sei_irq_trig3_event = SEI_CTRL_IRQ_INT_FLAG_TRIGER3_MASK , sei_irq_trig0_err_event = SEI_CTRL_IRQ_INT_FLAG_TRG_ERR0_MASK , sei_irq_trig1_err_event = SEI_CTRL_IRQ_INT_FLAG_TRG_ERR1_MASK , sei_irq_trig2_err_event = SEI_CTRL_IRQ_INT_FLAG_TRG_ERR2_MASK , sei_irq_trig3_err_event = SEI_CTRL_IRQ_INT_FLAG_TRG_ERR3_MASK } |
| sei irq event More... | |
| enum | sei_dma_en_t { sei_dma_en_stall_event = SEI_CTRL_DMA_EN_STALL_MASK , sei_dma_en_execpt_event = SEI_CTRL_DMA_EN_EXCEPT_MASK , sei_dma_en_wdog_event = SEI_CTRL_DMA_EN_WDOG_MASK , sei_dma_en_instr_ptr0_start_event = SEI_CTRL_DMA_EN_PTR0_ST_MASK , sei_dma_en_instr_ptr1_start_event = SEI_CTRL_DMA_EN_PTR1_ST_MASK , sei_dma_en_instr_value0_start_event = SEI_CTRL_DMA_EN_INSTR0_ST_MASK , sei_dma_en_instr_value1_start_event = SEI_CTRL_DMA_EN_INSTR1_ST_MASK , sei_dma_en_instr_ptr0_end_event = SEI_CTRL_DMA_EN_PTR0_END_MASK , sei_dma_en_instr_ptr1_end_event = SEI_CTRL_DMA_EN_PTR1_END_MASK , sei_dma_en_instr_value0_end_event = SEI_CTRL_DMA_EN_INSTR0_END_MASK , sei_dma_en_instr_value1_end_event = SEI_CTRL_DMA_EN_INSTR1_END_MASK , sei_dma_en_trx_err_event = SEI_CTRL_DMA_EN_TRX_ERR_MASK , sei_dma_en_timeout_event = SEI_CTRL_DMA_EN_TIMEOUT_MASK , sei_dma_en_latch0_event = SEI_CTRL_DMA_EN_LATCH0_MASK , sei_dma_en_latch1_event = SEI_CTRL_DMA_EN_LATCH1_MASK , sei_dma_en_latch2_event = SEI_CTRL_DMA_EN_LATCH2_MASK , sei_dma_en_latch3_event = SEI_CTRL_DMA_EN_LATCH3_MASK , sei_dma_en_sample_err_event = SEI_CTRL_DMA_EN_SMP_ERR_MASK , sei_dma_en_trig0_event = SEI_CTRL_DMA_EN_TRIGER0_MASK , sei_dma_en_trig1_event = SEI_CTRL_DMA_EN_TRIGER1_MASK , sei_dma_en_trig2_event = SEI_CTRL_DMA_EN_TRIGER2_MASK , sei_dma_en_trig3_event = SEI_CTRL_DMA_EN_TRIGER3_MASK , sei_dma_en_trig0_err_event = SEI_CTRL_DMA_EN_TRG_ERR0_MASK , sei_dma_en_trig1_err_event = SEI_CTRL_DMA_EN_TRG_ERR1_MASK , sei_dma_en_trig2_err_event = SEI_CTRL_DMA_EN_TRG_ERR2_MASK , sei_dma_en_trig3_err_event = SEI_CTRL_DMA_EN_TRG_ERR3_MASK } |
| sei dma enable bit More... | |
Functions | |
| static void | sei_set_engine_enable (SEI_Type *ptr, uint8_t idx, bool enable) |
| Set the SEI engine enable or disable. More... | |
| static void | sei_set_engine_rewind (SEI_Type *ptr, uint8_t idx) |
| Rewind the SEI engine. More... | |
| static void | sei_set_engine_init_instr_idx (SEI_Type *ptr, uint8_t idx, uint8_t init_instr_idx) |
| Set the SEI instruction index which engine start execution. More... | |
| static void | sei_set_engine_wdg_instr_idx (SEI_Type *ptr, uint8_t idx, uint8_t wdg_instr_idx) |
| Set the SEI instruction index which engine execution when watchdog active. More... | |
| static void | sei_set_engine_data_base_idx (SEI_Type *ptr, uint8_t idx, uint8_t data_base_idx) |
| Set the SEI bias for data register access. More... | |
| static void | sei_set_trig_input_in0_enable (SEI_Type *ptr, uint8_t idx, bool enable) |
| Set the SEI trigger input trig in0 enable or disable. More... | |
| static void | sei_set_trig_input_in1_enable (SEI_Type *ptr, uint8_t idx, bool enable) |
| Set the SEI trigger input trig in1 enable or disable. More... | |
| static void | sei_set_trig_input_period_enable (SEI_Type *ptr, uint8_t idx, bool enable) |
| Set the SEI trigger input period enable or disable. More... | |
| static void | sei_set_trig_input_soft_enable (SEI_Type *ptr, uint8_t idx) |
| Set the SEI trigger input soft enable or disable. More... | |
| static void | sei_set_trig_input_command_value (SEI_Type *ptr, uint8_t idx, sei_trig_in_type_t type, uint32_t data) |
| Set the SEI trigger input command value. More... | |
| static uint32_t | sei_get_trig_input_time (SEI_Type *ptr, uint8_t idx, sei_trig_in_type_t type) |
| Get the SEI trigger input time. More... | |
| static uint32_t | sei_get_latch_time (SEI_Type *ptr, uint8_t idx, uint8_t latch_idx) |
| Get the SEI latch time. More... | |
| static uint16_t | sei_get_xcvr_baud_div (SEI_Type *ptr, uint8_t idx) |
| Get the SEI transceiver baud div. More... | |
| static void | sei_set_xcvr_rx_point (SEI_Type *ptr, uint8_t idx, uint16_t point) |
| Set the SEI transceiver rx point. More... | |
| static void | sei_set_xcvr_tx_point (SEI_Type *ptr, uint8_t idx, uint16_t point) |
| Set the SEI transceiver tx point. More... | |
| static void | sei_set_xcvr_ck0_point (SEI_Type *ptr, uint8_t idx, uint16_t point) |
| Set the SEI transceiver ck0 point. More... | |
| static void | sei_set_xcvr_ck1_point (SEI_Type *ptr, uint8_t idx, uint16_t point) |
| Set the SEI transceiver ck1 point. More... | |
| static uint16_t | sei_get_xcvr_ck0_point (SEI_Type *ptr, uint8_t idx) |
| Get the SEI transceiver ck0 point. More... | |
| static uint16_t | sei_get_xcvr_ck1_point (SEI_Type *ptr, uint8_t idx) |
| Get the SEI transceiver ck1 point. More... | |
| static uint32_t | sei_get_command_value (SEI_Type *ptr, uint8_t idx) |
| Get the SEI command value. More... | |
| static void | sei_set_command_rewind (SEI_Type *ptr, uint8_t idx) |
| Rewind the SEI command. More... | |
| static void | sei_set_data_value (SEI_Type *ptr, uint8_t idx, uint32_t data) |
| Set the SEI data value. More... | |
| static uint32_t | sei_get_data_value (SEI_Type *ptr, uint8_t idx) |
| Get the SEI data value. More... | |
| static void | sei_set_data_rewind (SEI_Type *ptr, uint8_t idx) |
| Rewind the SEI data. More... | |
| static void | sei_set_sample_pos_override_value (SEI_Type *ptr, uint8_t idx, uint32_t data) |
| Set the SEI sample position (singleturn) override value. More... | |
| static void | sei_set_sample_rev_override_value (SEI_Type *ptr, uint8_t idx, uint32_t data) |
| Set the SEI sample revolution (multiturn) override value. More... | |
| static void | sei_set_sample_spd_override_value (SEI_Type *ptr, uint8_t idx, uint32_t data) |
| Set the SEI sample speed override value. More... | |
| static void | sei_set_sample_acc_override_value (SEI_Type *ptr, uint8_t idx, uint32_t data) |
| Set the SEI sample acceleration override value. More... | |
| static void | sei_set_update_pos_override_value (SEI_Type *ptr, uint8_t idx, uint32_t data) |
| Set the SEI update position (singleturn) override value. More... | |
| static void | sei_set_update_rev_override_value (SEI_Type *ptr, uint8_t idx, uint32_t data) |
| Set the SEI update revolution (multiturn) override value. More... | |
| static void | sei_set_update_spd_override_value (SEI_Type *ptr, uint8_t idx, uint32_t data) |
| Set the SEI update speed override value. More... | |
| static void | sei_set_update_acc_override_value (SEI_Type *ptr, uint8_t idx, uint32_t data) |
| Set the SEI update acceleration override value. More... | |
| static void | sei_set_update_time_override_value (SEI_Type *ptr, uint8_t idx, uint32_t data) |
| Set the SEI update time override value. More... | |
| static void | sei_set_irq_match_instr0_ptr (SEI_Type *ptr, uint8_t idx, uint8_t instr_idx) |
| Set the SEI irq match pointer0. More... | |
| static void | sei_set_irq_match_instr1_ptr (SEI_Type *ptr, uint8_t idx, uint8_t instr_idx) |
| Set the SEI irq match pointer1. More... | |
| static void | sei_set_irq_match_instr0_value (SEI_Type *ptr, uint8_t idx, uint32_t instr_value) |
| Set the SEI irq match instr0. More... | |
| static void | sei_set_irq_match_instr1_value (SEI_Type *ptr, uint8_t idx, uint32_t instr_value) |
| Set the SEI irq match instr1. More... | |
| static void | sei_set_irq_enable (SEI_Type *ptr, uint8_t idx, uint32_t irq_mask, bool enable) |
| Set the SEI irq enable or disable. More... | |
| static uint32_t | sei_get_irq_enable_status (SEI_Type *ptr, uint8_t idx) |
| Get the SEI irq enable status. More... | |
| static bool | sei_get_irq_status (SEI_Type *ptr, uint8_t idx, uint32_t irq_mask) |
| Get the SEI irq status. More... | |
| static uint32_t | sei_get_irq_flag (SEI_Type *ptr, uint8_t idx) |
| Get the SEI irq flag. More... | |
| static void | sei_clear_irq_flag (SEI_Type *ptr, uint8_t idx, uint32_t irq_mask) |
| Clear the SEI irq flag. More... | |
| static void | sei_set_dma_req_enable (SEI_Type *ptr, uint8_t idx, uint32_t dma_en_mask, bool enable) |
| Set the SEI DMA request enable or disable. More... | |
| hpm_stat_t | sei_transceiver_config_init (SEI_Type *ptr, uint8_t idx, sei_transceiver_config_t *config) |
| Init SEI transceiver configuration. More... | |
| hpm_stat_t | sei_cmd_data_format_config_init (SEI_Type *ptr, bool cmd_data_select, uint8_t idx, sei_data_format_config_t *config) |
| Init SEI command or data format configuration. More... | |
| hpm_stat_t | sei_cmd_table_config_init (SEI_Type *ptr, uint8_t idx, uint8_t table_idx, sei_command_table_config_t *config) |
| Init SEI command table configuration. More... | |
| hpm_stat_t | sei_state_transition_config_init (SEI_Type *ptr, uint8_t idx, uint8_t latch_idx, uint8_t state, sei_state_transition_config_t *config) |
| Init SEI state transition configuration. More... | |
| hpm_stat_t | sei_state_transition_latch_config_init (SEI_Type *ptr, uint8_t idx, uint8_t latch_idx, sei_state_transition_latch_config_t *config) |
| Init SEI state transition latch configuration. More... | |
| hpm_stat_t | sei_sample_config_init (SEI_Type *ptr, uint8_t idx, sei_sample_config_t *config) |
| Init SEI sample configuration. More... | |
| hpm_stat_t | sei_update_config_init (SEI_Type *ptr, uint8_t idx, sei_update_config_t *config) |
| Init SEI update configuration. More... | |
| hpm_stat_t | sei_trigger_input_config_init (SEI_Type *ptr, uint8_t idx, sei_trigger_input_config_t *config) |
| Init SEI trigger input configuration. More... | |
| hpm_stat_t | sei_trigger_output_config_init (SEI_Type *ptr, uint8_t idx, sei_trigger_output_config_t *config) |
| Init SEI trigger output configuration. More... | |
| hpm_stat_t | sei_engine_config_init (SEI_Type *ptr, uint8_t idx, sei_engine_config_t *config) |
| Init SEI engine configuration. More... | |
| void | sei_set_instr (SEI_Type *ptr, uint8_t idx, uint8_t op, uint8_t ck, uint8_t crc, uint8_t data, uint8_t opr) |
| Set SEI Intsructions. More... | |
| uint32_t | sei_get_crc_value (SEI_Type *ptr, uint8_t idx) |
| Get the SEI crc value. More... | |
SEI driver APIs.
| #define SEI_DAT_CMD (1UL) |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
sei const data register index
| #define SEI_DATA_CONST_0 (30UL) |
| #define SEI_DATA_CONST_1 (31UL) |
| #define SEI_INSTR_M_CK_FALL_RISE 2u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
clock fall rise
| #define SEI_INSTR_M_CK_HIGH 3u |
| #define SEI_INSTR_M_CK_LOW 0u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
sei instruction synchronous master clock type
clock low
| #define SEI_INSTR_M_CK_RISE_FALL 1u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
clock rise fall
| #define SEI_INSTR_OP_HALT 0u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
sei instruction operation command
op halt
| #define SEI_INSTR_OP_JUMP 1u |
| #define SEI_INSTR_OP_RECV 7u |
| #define SEI_INSTR_OP_RECV_WDG 6u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
op recv with watchdog
| #define SEI_INSTR_OP_SEND 3u |
| #define SEI_INSTR_OP_SEND_WDG 2u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
op send with watchdog
| #define SEI_INSTR_OP_WAIT 5u |
| #define SEI_INSTR_OP_WAIT_WDG 4u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
op wait with watchdog
| #define SEI_INSTR_S_CK_DEFAULT 0u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
sei instruction synchronous slave clock type
default
| #define SEI_INSTR_S_CK_TIMEOUT_EN 2u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
enable timeout
| #define SEI_INSTR_S_CK_TRX_EXCH 1u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
rx tx exchange
| #define SEI_INSTR_S_CK_TRX_EXCH_TIMEOUT_EN 3u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
rx tx exchange and enable timeout
| #define SEI_JUMP_CMD_TABLE_INSTR_IDX0 0x10u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
jump command table instr ptr0
| #define SEI_JUMP_CMD_TABLE_INSTR_IDX1 0x11u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
jump command table instr ptr1
| #define SEI_JUMP_CMD_TABLE_INSTR_IDX10 0x1Au |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
jump command table instr ptr10
| #define SEI_JUMP_CMD_TABLE_INSTR_IDX11 0x1Bu |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
jump command table instr ptr11
| #define SEI_JUMP_CMD_TABLE_INSTR_IDX12 0x1Cu |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
jump command table instr ptr12
| #define SEI_JUMP_CMD_TABLE_INSTR_IDX13 0x1Du |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
jump command table instr ptr13
| #define SEI_JUMP_CMD_TABLE_INSTR_IDX14 0x1Eu |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
jump command table instr ptr14
| #define SEI_JUMP_CMD_TABLE_INSTR_IDX15 0x1Fu |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
jump command table instr ptr15
| #define SEI_JUMP_CMD_TABLE_INSTR_IDX2 0x12u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
jump command table instr ptr2
| #define SEI_JUMP_CMD_TABLE_INSTR_IDX3 0x13u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
jump command table instr ptr3
| #define SEI_JUMP_CMD_TABLE_INSTR_IDX4 0x14u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
jump command table instr ptr4
| #define SEI_JUMP_CMD_TABLE_INSTR_IDX5 0x15u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
jump command table instr ptr5
| #define SEI_JUMP_CMD_TABLE_INSTR_IDX6 0x16u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
jump command table instr ptr6
| #define SEI_JUMP_CMD_TABLE_INSTR_IDX7 0x17u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
jump command table instr ptr7
| #define SEI_JUMP_CMD_TABLE_INSTR_IDX8 0x18u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
jump command table instr ptr8
| #define SEI_JUMP_CMD_TABLE_INSTR_IDX9 0x19u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
jump command table instr ptr9
| #define SEI_JUMP_INIT_INSTR_IDX 0x00u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
sei instruction jump intructions index
jump init instr index
| #define SEI_JUMP_WDG_INSTR_IDX 0x01u |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
jump watchdog instr index
| #define SEI_SELECT_CMD true |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
sei select command or data
select cmd
| #define SEI_SELECT_DATA false |
| #define SEI_SYNC_SLAVE_RX_TX_POINT_ON_FALL_EDGE 0x0002 |
| #define SEI_SYNC_SLAVE_RX_TX_POINT_ON_RISE_EDGE 0x8002 |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
sei synchronous slave rx tx point select
| enum sei_arming_mode_t |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
sei arming action
| Enumerator | |
|---|---|
| sei_arming_direct_exec | |
| sei_arming_wait_trigger | |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
sei asynchronous mode parity
| Enumerator | |
|---|---|
| sei_asynchronous_parity_even | |
| sei_asynchronous_parity_odd | |
| enum sei_data_bit_order_t |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
sei data bit order
| Enumerator | |
|---|---|
| sei_bit_lsb_first | |
| sei_bit_msb_first | |
| enum sei_data_mode_t |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
sei data mode
| Enumerator | |
|---|---|
| sei_data_mode | |
| sei_check_mode | |
| sei_crc_mode | |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
sei data word order
| Enumerator | |
|---|---|
| sei_word_nonreverse | |
| sei_word_reverse | |
| enum sei_dma_en_t |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
sei dma enable bit
| enum sei_idle_state_t |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
sei ilde state
| Enumerator | |
|---|---|
| sei_idle_low_state | |
| sei_idle_high_state | |
| enum sei_irq_event_t |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
sei irq event
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
sei state transition condition
| Enumerator | |
|---|---|
| sei_state_tran_condition_high_match | |
| sei_state_tran_condition_low_dismatch | |
| sei_state_tran_condition_rise_entry | |
| sei_state_tran_condition_fall_leave | |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
sei transfer mode
| Enumerator | |
|---|---|
| sei_synchronous_master_mode | |
| sei_synchronous_slave_mode | |
| sei_asynchronous_mode | |
| enum sei_trig_in_type_t |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
sei trig in type
| Enumerator | |
|---|---|
| sei_trig_in0 | |
| sei_trig_in1 | |
| sei_trig_in_period | |
| sei_trig_in_soft | |
| enum sei_wdg_action_t |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
sei watchdog action
| Enumerator | |
|---|---|
| sei_wdg_exec_next_instr | |
| sei_wdg_exec_exception_instr | |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Clear the SEI irq flag.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | irq_mask | irq mask, sei_irq_event_t |
| hpm_stat_t sei_cmd_data_format_config_init | ( | SEI_Type * | ptr, |
| bool | cmd_data_select, | ||
| uint8_t | idx, | ||
| sei_data_format_config_t * | config | ||
| ) |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Init SEI command or data format configuration.
| [in] | ptr | SEI base address |
| [in] | cmd_data_select |
|
| [in] | idx | SEI ctrl index or data index, decided by cmd_data_select, such as SEI_CTRL_0, SEI_CTRL_1, SEI_DAT_2, SEI_DAT_3, etc. |
| [in] | config | command or data format configuration sei_data_format_config_t |
| API | execution status |
| hpm_stat_t sei_cmd_table_config_init | ( | SEI_Type * | ptr, |
| uint8_t | idx, | ||
| uint8_t | table_idx, | ||
| sei_command_table_config_t * | config | ||
| ) |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Init SEI command table configuration.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | table_idx | command table index, 0 - 7 |
| [in] | config | command table configuration sei_command_table_config_t |
| API | execution status |
| hpm_stat_t sei_engine_config_init | ( | SEI_Type * | ptr, |
| uint8_t | idx, | ||
| sei_engine_config_t * | config | ||
| ) |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Init SEI engine configuration.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | config | engine configuration sei_engine_config_t |
| API | execution status |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Get the SEI command value.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| command | value |
| uint32_t sei_get_crc_value | ( | SEI_Type * | ptr, |
| uint8_t | idx | ||
| ) |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Get the SEI crc value.
| [in] | ptr | SEI base address |
| [in] | idx | SEI crc index, such as SEI_DAT_2, SEI_DAT_3, etc. |
| crc | value |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Get the SEI data value.
| [in] | ptr | SEI base address |
| [in] | idx | SEI data index, such as SEI_DAT_2, SEI_DAT_3, etc. |
| data | value |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Get the SEI irq enable status.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| SEI | irq enable status |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Get the SEI irq flag.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| SEI | irq flag. |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Get the SEI irq status.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | irq_mask | irq mask, sei_irq_event_t |
| true-has | irq req, false-no irq req. |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Get the SEI latch time.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | latch_idx |
|
| latch | time |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Get the SEI trigger input time.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | type | trigger input type sei_trig_in_type_t |
| trigger | input time |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Get the SEI transceiver baud div.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| baud | div value |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Get the SEI transceiver ck0 point.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| ck0 | point value |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Get the SEI transceiver ck1 point.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| ck1 | point value |
| hpm_stat_t sei_sample_config_init | ( | SEI_Type * | ptr, |
| uint8_t | idx, | ||
| sei_sample_config_t * | config | ||
| ) |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Init SEI sample configuration.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | config | sample configuration sei_sample_config_t |
| API | execution status |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Rewind the SEI command.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Rewind the SEI data.
| [in] | ptr | SEI base address |
| [in] | idx | SEI data index, such as SEI_DAT_2, SEI_DAT_3, etc. |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI data value.
| [in] | ptr | SEI base address |
| [in] | idx | SEI data index, such as SEI_DAT_2, SEI_DAT_3, etc. |
| [in] | data | data value |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI DMA request enable or disable.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | dma_en_mask | dma enable bit mask, sei_dma_en_t |
| [in] | enable | enable or disable
|
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI bias for data register access.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | data_base_idx | Bias for data register access |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI engine enable or disable.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | enable | enable or disable
|
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI instruction index which engine start execution.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | init_instr_idx | instruction index which engine start execution |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Rewind the SEI engine.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI instruction index which engine execution when watchdog active.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | wdg_instr_idx | instruction index which engine execution when watchdog active |
| void sei_set_instr | ( | SEI_Type * | ptr, |
| uint8_t | idx, | ||
| uint8_t | op, | ||
| uint8_t | ck, | ||
| uint8_t | crc, | ||
| uint8_t | data, | ||
| uint8_t | opr | ||
| ) |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set SEI Intsructions.
| [in] | ptr | SEI base address |
| [in] | idx | SEI instruction index. |
| [in] | op | SEI instruction operation |
| [in] | ck | SEI instruction clock [1] synchronous master clock type |
| [in] | crc | SEI instruction crc register, such as SEI_DAT_0, SEI_DATA_2, SEI_DATA_3, etc. |
| [in] | data | SEI instruction data register, such as SEI_DAT_0, SEI_DAT_CMD, SEI_DATA_2, etc. |
| [in] | opr | SEI instruction operand. [1] When OP is SEI_INSTR_OP_HALT, opr is the halt time in baudrate, 0 represents infinite time. [2] When OP is SEI_INSTR_OP_JUMP, opr is command table pointer, init pointer or wdg pointer.
|
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI irq enable or disable.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | irq_mask | irq mask, sei_irq_event_t |
| [in] | enable | enable or disable
|
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI irq match pointer0.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | instr_idx | match instr0 index |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI irq match instr0.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | instr_value | match instr0 value |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI irq match pointer1.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | instr_idx | match instr1 index |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI irq match instr1.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | instr_value | match instr1 value |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI sample acceleration override value.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | data | acceleration override value |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI sample position (singleturn) override value.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | data | position (singleturn) override value |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI sample revolution (multiturn) override value.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | data | revolution (multiturn) override value |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI sample speed override value.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | data | speed override value |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI trigger input command value.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | type | trigger input type sei_trig_in_type_t |
| [in] | data | command data |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI trigger input trig in0 enable or disable.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | enable | enable or disable
|
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI trigger input trig in1 enable or disable.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | enable | enable or disable
|
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI trigger input period enable or disable.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | enable | enable or disable
|
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI trigger input soft enable or disable.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc.
|
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI update acceleration override value.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | data | acceleration override value |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI update position (singleturn) override value.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | data | position (singleturn) override value |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI update revolution (multiturn) override value.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | data | revolution (multiturn) override value |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI update speed override value.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | data | speed override value |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI update time override value.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | data | time override value |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI transceiver ck0 point.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | point | ck0 point value |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI transceiver ck1 point.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | point | ck1 point value |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI transceiver rx point.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | point | rx point value |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Set the SEI transceiver tx point.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | point | tx point value |
| hpm_stat_t sei_state_transition_config_init | ( | SEI_Type * | ptr, |
| uint8_t | idx, | ||
| uint8_t | latch_idx, | ||
| uint8_t | state, | ||
| sei_state_transition_config_t * | config | ||
| ) |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Init SEI state transition configuration.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | latch_idx | latch index
|
| [in] | state | transition state
|
| [in] | config | state transition configuration sei_state_transition_config_t |
| API | execution status |
| hpm_stat_t sei_state_transition_latch_config_init | ( | SEI_Type * | ptr, |
| uint8_t | idx, | ||
| uint8_t | latch_idx, | ||
| sei_state_transition_latch_config_t * | config | ||
| ) |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Init SEI state transition latch configuration.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | latch_idx | latch index
|
| [in] | config | state transition latch configuration sei_state_transition_latch_config_t |
| API | execution status |
| hpm_stat_t sei_transceiver_config_init | ( | SEI_Type * | ptr, |
| uint8_t | idx, | ||
| sei_transceiver_config_t * | config | ||
| ) |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Init SEI transceiver configuration.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | config | transceiver configuration sei_transceiver_config_t |
| API | execution status |
| hpm_stat_t sei_trigger_input_config_init | ( | SEI_Type * | ptr, |
| uint8_t | idx, | ||
| sei_trigger_input_config_t * | config | ||
| ) |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Init SEI trigger input configuration.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | config | trigger input configuration sei_trigger_input_config_t |
| API | execution status |
| hpm_stat_t sei_trigger_output_config_init | ( | SEI_Type * | ptr, |
| uint8_t | idx, | ||
| sei_trigger_output_config_t * | config | ||
| ) |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Init SEI trigger output configuration.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | config | trigger output configuration sei_trigger_output_config_t |
| API | execution status |
| hpm_stat_t sei_update_config_init | ( | SEI_Type * | ptr, |
| uint8_t | idx, | ||
| sei_update_config_t * | config | ||
| ) |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_sei_drv.h>
Init SEI update configuration.
| [in] | ptr | SEI base address |
| [in] | idx | SEI ctrl index, such as SEI_CTRL_0, SEI_CTRL_1, etc. |
| [in] | config | update configuration sei_update_config_t |
| API | execution status |