HPM SDK
HPMicro Software Development Kit
hpm_sdm_drv.c File Reference
#include "hpm_sdm_drv.h"

Macros

#define HPM_LIN_DRV_RETRY_COUNT   (5000U)
 

Functions

void sdm_get_default_module_control (SDM_Type *ptr, sdm_control_t *control)
 sdm get default module control More...
 
void sdm_init_module (SDM_Type *ptr, sdm_control_t *control)
 sdm init module More...
 
void sdm_get_channel_common_setting (SDM_Type *ptr, sdm_channel_common_config_t *config)
 sdm get channel common setting More...
 
void sdm_config_channel_common_setting (SDM_Type *ptr, uint8_t ch_index, sdm_channel_common_config_t *config)
 sdm config channel's common setting More...
 
void sdm_get_channel_default_filter_config (SDM_Type *ptr, sdm_filter_config_t *filter_config)
 sdm get channel default filter config More...
 
void sdm_get_channel_default_comparator_config (SDM_Type *ptr, sdm_comparator_config_t *cmp_config)
 sdm get channel default comparator config More...
 
void sdm_config_channel_filter (SDM_Type *ptr, uint8_t ch_index, sdm_filter_config_t *filter_config)
 sdm config channel filter More...
 
void sdm_config_channel_comparator (SDM_Type *ptr, uint8_t ch_index, sdm_comparator_config_t *cmp_config)
 sdm config channel comparator More...
 
hpm_stat_t sdm_receive_one_filter_data (SDM_Type *ptr, uint8_t ch_index, bool using_fifo, int8_t *data, uint8_t data_len_in_bytes)
 sdm receive one filter data More...
 
hpm_stat_t sdm_receive_filter_data (SDM_Type *ptr, uint8_t ch_index, bool using_fifo, int8_t *data, uint32_t count, uint8_t data_len_in_bytes)
 sdm receive filter data More...
 

Macro Definition Documentation

◆ HPM_LIN_DRV_RETRY_COUNT

#define HPM_LIN_DRV_RETRY_COUNT   (5000U)