Module conf0

Source
Expand description

Configuration register 0 for unit

Re-exports§

pub use CH_NEG_MODE_R as CH_POS_MODE_R;
pub use CH_NEG_MODE_W as CH_POS_MODE_W;
pub use CH_HCTRL_MODE_R as CH_LCTRL_MODE_R;
pub use CH_HCTRL_MODE_W as CH_LCTRL_MODE_W;

Structs§

CONF0_SPEC
Configuration register 0 for unit

Enums§

CTRL_MODE
Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is high.
EDGE_MODE
Configures the behavior when the signal input of channel %s detects a negative edge.

Type Aliases§

CH_HCTRL_MODE_R
Field CH_HCTRL_MODE(0-1) reader - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is high.
CH_HCTRL_MODE_W
Field CH_HCTRL_MODE(0-1) writer - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is high.
CH_NEG_MODE_R
Field CH_NEG_MODE(0-1) reader - Configures the behavior when the signal input of channel %s detects a negative edge.
CH_NEG_MODE_W
Field CH_NEG_MODE(0-1) writer - Configures the behavior when the signal input of channel %s detects a negative edge.
FILTER_EN_R
Field FILTER_EN reader - This is the enable bit for unit %s’s input filter.
FILTER_EN_W
Field FILTER_EN writer - This is the enable bit for unit %s’s input filter.
FILTER_THRES_R
Field FILTER_THRES reader - This sets the maximum threshold, in APB_CLK cycles, for the filter. Any pulses with width less than this will be ignored when the filter is enabled.
FILTER_THRES_W
Field FILTER_THRES writer - This sets the maximum threshold, in APB_CLK cycles, for the filter. Any pulses with width less than this will be ignored when the filter is enabled.
R
Register CONF0 reader
THR_H_LIM_EN_R
Field THR_H_LIM_EN reader - This is the enable bit for unit %s’s thr_h_lim comparator. Configures it to enable the high limit interrupt.
THR_H_LIM_EN_W
Field THR_H_LIM_EN writer - This is the enable bit for unit %s’s thr_h_lim comparator. Configures it to enable the high limit interrupt.
THR_L_LIM_EN_R
Field THR_L_LIM_EN reader - This is the enable bit for unit %s’s thr_l_lim comparator. Configures it to enable the low limit interrupt.
THR_L_LIM_EN_W
Field THR_L_LIM_EN writer - This is the enable bit for unit %s’s thr_l_lim comparator. Configures it to enable the low limit interrupt.
THR_THRES0_EN_R
Field THR_THRES0_EN reader - This is the enable bit for unit %s’s thres0 comparator.
THR_THRES0_EN_W
Field THR_THRES0_EN writer - This is the enable bit for unit %s’s thres0 comparator.
THR_THRES1_EN_R
Field THR_THRES1_EN reader - This is the enable bit for unit %s’s thres1 comparator.
THR_THRES1_EN_W
Field THR_THRES1_EN writer - This is the enable bit for unit %s’s thres1 comparator.
THR_ZERO_EN_R
Field THR_ZERO_EN reader - This is the enable bit for unit %s’s zero comparator.
THR_ZERO_EN_W
Field THR_ZERO_EN writer - This is the enable bit for unit %s’s zero comparator.
W
Register CONF0 writer