API  2.3.0
TSmarT Software Library
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
tsmart_msal_config_t Struct Reference

MULTISENSOR Board Configuration. More...

#include <tsmart_msal.h>

Data Fields

uint32_t adc_mode
 
FunctionalState adc_scan_conv_mode
 
FunctionalState adc_continuous_conv_mode
 
uint32_t adc_external_trig_conv
 
uint32_t adc_data_align
 
GPIOMode_TypeDef input_p4_mode
 
int32_t input_p4_use_exti
 
GPIOMode_TypeDef input_p5_mode
 
int32_t input_p5_use_exti
 

Detailed Description

MULTISENSOR Board Configuration.

Examples:
msal_current.c, msal_digital.c, and msal_voltage.c.

Field Documentation

FunctionalState adc_continuous_conv_mode
 Specifies whether the conversion is performed in

Continuous or Single mode.

Examples:
msal_current.c, msal_digital.c, and msal_voltage.c.
uint32_t adc_data_align

Specifies whether the ADC data alignment is left or right.

Examples:
msal_current.c, msal_digital.c, and msal_voltage.c.
uint32_t adc_external_trig_conv
 Defines the external trigger used to start the analog

to digital conversion of regular channels.

Examples:
msal_current.c, msal_digital.c, and msal_voltage.c.
uint32_t adc_mode

Configures the ADC to operate in independent or dual mode.

Examples:
msal_current.c, msal_digital.c, and msal_voltage.c.
FunctionalState adc_scan_conv_mode
 Specifies whether the conversion is performed in

Scan (multi-channels) or Single (one channel) mode.

Examples:
msal_current.c, msal_digital.c, and msal_voltage.c.
GPIOMode_TypeDef input_p4_mode

Specifies DIO mode (For INPUT mode use "GPIO_Mode_IN_FLOATING" and "GPIO_Mode_Out_OD" for OUTPUT).

Examples:
msal_current.c, msal_digital.c, and msal_voltage.c.
int32_t input_p4_use_exti

Specifies if exti is required or not. ONLY EXTI_Trigger_Falling

Examples:
msal_current.c, msal_digital.c, and msal_voltage.c.
GPIOMode_TypeDef input_p5_mode

Specifies DIO mode (For INPUT mode use "GPIO_Mode_IN_FLOATING" and "GPIO_Mode_Out_OD" for OUTPUT).

Examples:
msal_current.c, msal_digital.c, and msal_voltage.c.
int32_t input_p5_use_exti

Specifies if exti is required or not. ONLY EXTI_Trigger_Falling

Examples:
msal_current.c, msal_digital.c, and msal_voltage.c.