Analog-Front-End Controller configuration structure.
Configuration structure for a Analog-Front-End Controller instance. This structure could be initialized by the afec_get_config_defaults() function before being modified by the user application.
#include <afec.h>
Data Fields | |
uint32_t | afec_clock |
AFEC Clock. More... | |
bool | anach |
Analog Change. More... | |
uint8_t | ibctl |
AFE Bias Current Control. More... | |
uint32_t | mck |
Master Clock. More... | |
enum afec_resolution | resolution |
Resolution. More... | |
enum afec_startup_time | startup_time |
Start Up Time. More... | |
bool | stm |
Single Trigger Mode. More... | |
bool | tag |
TAG of AFE_LDCR register. More... | |
uint8_t | tracktim |
Tracking Time = tracktim / AFEC clock. More... | |
uint8_t | transfer |
Transfer Period = (transfer * 2 + 3) / AFEC clock. More... | |
bool | useq |
Use Sequence Enable. More... | |
uint32_t afec_config::afec_clock |
AFEC Clock.
Referenced by afec_get_config_defaults(), and afec_set_config().
bool afec_config::anach |
Analog Change.
Referenced by afec_get_config_defaults(), and afec_set_config().
uint8_t afec_config::ibctl |
AFE Bias Current Control.
Referenced by afec_get_config_defaults(), and afec_set_config().
uint32_t afec_config::mck |
Master Clock.
Referenced by afec_get_config_defaults(), and afec_set_config().
enum afec_resolution afec_config::resolution |
Resolution.
Referenced by afec_get_config_defaults(), and afec_set_config().
enum afec_startup_time afec_config::startup_time |
Start Up Time.
Referenced by afec_get_config_defaults(), and afec_set_config().
bool afec_config::stm |
Single Trigger Mode.
Referenced by afec_get_config_defaults(), and afec_set_config().
bool afec_config::tag |
TAG of AFE_LDCR register.
Referenced by afec_get_config_defaults(), and afec_set_config().
uint8_t afec_config::tracktim |
Tracking Time = tracktim / AFEC clock.
Referenced by afec_get_config_defaults(), and afec_set_config().
uint8_t afec_config::transfer |
Transfer Period = (transfer * 2 + 3) / AFEC clock.
Referenced by afec_get_config_defaults(), and afec_set_config().
bool afec_config::useq |
Use Sequence Enable.
Referenced by afec_get_config_defaults(), and afec_set_config().