LOBS driver APIs. More...
Data Structures | |
| struct | lobs_ctrl_config_t |
| ctrl config structure More... | |
| struct | lobs_two_group_mode_config_t |
| two group mode config structure More... | |
| struct | lobs_state_config_t |
| two group mode config structure More... | |
| struct | lobs_trace_data_t |
| trace data structure More... | |
Macros | |
| #define | LOBS_UNLOCK_KEY 0xc5acce55u |
| #define | LOBS_PIN_DO(x) (x * 3) |
| #define | LOBS_PIN_OE(x) (x * 3 + 1) |
| #define | LOBS_PIN_DI(x) (x * 3 + 2) |
Functions | |
| static void | lobs_unlock (LOBS_Type *lobs) |
| set lobs unlock More... | |
| static void | lobs_lock (LOBS_Type *lobs) |
| set lobs lock More... | |
| static void | lobs_set_enable (LOBS_Type *lobs, bool enable) |
| set lobs enable or disable More... | |
| static void | lobs_set_pre_trig_enable (LOBS_Type *lobs, bool enable) |
| set lobs pre-trig enable or disable More... | |
| static void | lobs_set_state_enable (LOBS_Type *lobs, lobs_state_sel_t state, bool enable) |
| set lobs state enable or disable More... | |
| static uint32_t | lobs_get_final_address (LOBS_Type *lobs) |
| get lobs final address More... | |
| static bool | lobs_is_trace_finish (LOBS_Type *lobs) |
| check lobs trace finish More... | |
| static void | lobs_clear_fifo_overflow_flag (LOBS_Type *lobs) |
| clear lobs fifo overflow flag More... | |
| void | lobs_deinit (LOBS_Type *lobs) |
| lobs deinit More... | |
| void | lobs_ctrl_config (LOBS_Type *lobs, lobs_ctrl_config_t *config) |
| lobs control config More... | |
| void | lobs_two_group_mode_config (LOBS_Type *lobs, lobs_two_group_sel_t group, lobs_two_group_mode_config_t *config) |
| lobs two group mode config More... | |
| void | lobs_state_config (LOBS_Type *lobs, lobs_state_sel_t state, lobs_state_config_t *config) |
| lobs state config More... | |
LOBS driver APIs.
| #define LOBS_PIN_DI | ( | x | ) | (x * 3 + 2) |
| #define LOBS_PIN_DO | ( | x | ) | (x * 3) |
| #define LOBS_PIN_OE | ( | x | ) | (x * 3 + 1) |
| #define LOBS_UNLOCK_KEY 0xc5acce55u |
| enum lobs_burst_t |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
burst selection
| Enumerator | |
|---|---|
| lobs_burst_4 | |
| lobs_burst_8 | |
| lobs_burst_16 | |
| enum lobs_cmp_mode_t |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
compare mode
| Enumerator | |
|---|---|
| lobs_sig_cmp_mode | |
| lobs_cnt_cmp_mode | |
| enum lobs_group_mode_t |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
group mode selection
| Enumerator | |
|---|---|
| lobs_one_group_96_bits | |
| lobs_two_group_8_bits | |
| enum lobs_next_state_t |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
next state
| Enumerator | |
|---|---|
| lobs_next_state_finish | |
| lobs_next_state_0 | |
| lobs_next_state_1 | |
| lobs_next_state_2 | |
| lobs_next_state_3 | |
| lobs_next_state_4 | |
| enum lobs_sample_rate_t |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
sample rate selection
| Enumerator | |
|---|---|
| lobs_sample_1_per_5 | |
| lobs_sample_1_per_6 | |
| lobs_sample_1_per_7 | |
| enum lobs_signal_group_t |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
signal group number
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
compare condition
| Enumerator | |
|---|---|
| lobs_cnt_matched | |
| lobs_sig_equal_golden | |
| lobs_sig_greater_golden | |
| lobs_sig_greater_equal_golden | |
| lobs_sig_not_equal_golden | |
| lobs_sig_less_golden | |
| lobs_sig_less_equal_golden | |
| enum lobs_state_sel_t |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
state selection
| Enumerator | |
|---|---|
| lobs_state_0 | |
| lobs_state_1 | |
| lobs_state_2 | |
| lobs_state_3 | |
| lobs_state_4 | |
| enum lobs_two_group_sel_t |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
two group selection
| Enumerator | |
|---|---|
| lobs_two_group_1 | |
| lobs_two_group_2 | |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
clear lobs fifo overflow flag
| [in] | lobs | LOBS base address |
| void lobs_ctrl_config | ( | LOBS_Type * | lobs, |
| lobs_ctrl_config_t * | config | ||
| ) |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
lobs control config
| [in] | lobs | LOBS base address |
| [in] | config | control config structure pointer |
| void lobs_deinit | ( | LOBS_Type * | lobs | ) |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
lobs deinit
| [in] | lobs | LOBS base address |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
get lobs final address
| [in] | lobs | LOBS base address |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
check lobs trace finish
| [in] | lobs | LOBS base address |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
set lobs lock
| [in] | lobs | LOBS base address |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
set lobs enable or disable
| [in] | lobs | LOBS base address |
| [in] | enable | true - enable; false - disable. |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
set lobs pre-trig enable or disable
| [in] | lobs | LOBS base address |
| [in] | enable | true - enable; false - disable. |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
set lobs state enable or disable
| [in] | lobs | LOBS base address |
| [in] | state | one of state, lobs_state_sel_t |
| [in] | enable | true - enable; false - disable. |
| void lobs_state_config | ( | LOBS_Type * | lobs, |
| lobs_state_sel_t | state, | ||
| lobs_state_config_t * | config | ||
| ) |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
lobs state config
| [in] | lobs | LOBS base address |
| [in] | state | one of state, lobs_state_sel_t |
| [in] | config | state config structure pointer |
| void lobs_two_group_mode_config | ( | LOBS_Type * | lobs, |
| lobs_two_group_sel_t | group, | ||
| lobs_two_group_mode_config_t * | config | ||
| ) |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
lobs two group mode config
| [in] | lobs | LOBS base address |
| [in] | group | one of the two group, lobs_two_group_sel_t |
| [in] | config | two group mode config structure pointer |
|
inlinestatic |
#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/drivers/inc/hpm_lobs_drv.h>
set lobs unlock
| [in] | lobs | LOBS base address |