Analog-Front-End Controller configuration structure. More...
#include <afec.h>
Public Attributes | |
uint32_t | afec_clock |
bool | anach |
uint8_t | ibctl |
uint32_t | mck |
enum afec_resolution | resolution |
enum afec_startup_time | startup_time |
bool | stm |
bool | tag |
uint8_t | tracktim |
uint8_t | transfer |
bool | useq |
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.
Definition at line 222 of file drivers/afec/afec.h.
uint32_t afec_config::afec_clock |
AFEC Clock
Definition at line 228 of file drivers/afec/afec.h.
bool afec_config::anach |
Analog Change
Definition at line 240 of file drivers/afec/afec.h.
uint8_t afec_config::ibctl |
AFE Bias Current Control
Definition at line 248 of file drivers/afec/afec.h.
uint32_t afec_config::mck |
Master Clock
Definition at line 226 of file drivers/afec/afec.h.
enum afec_resolution afec_config::resolution |
Resolution
Definition at line 224 of file drivers/afec/afec.h.
enum afec_startup_time afec_config::startup_time |
Start Up Time
Definition at line 230 of file drivers/afec/afec.h.
bool afec_config::stm |
Single Trigger Mode
Definition at line 246 of file drivers/afec/afec.h.
bool afec_config::tag |
TAG of AFE_LDCR register
Definition at line 244 of file drivers/afec/afec.h.
uint8_t afec_config::tracktim |
Tracking Time = tracktim / AFEC clock
Definition at line 236 of file drivers/afec/afec.h.
uint8_t afec_config::transfer |
Transfer Period = (transfer * 2 + 3) / AFEC clock
Definition at line 238 of file drivers/afec/afec.h.
bool afec_config::useq |
Use Sequence Enable
Definition at line 242 of file drivers/afec/afec.h.