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_
THRE S0_ EN_ R - Field
THR_THRES0_EN
reader - This is the enable bit for unit %s’s thres0 comparator. - THR_
THRE S0_ EN_ W - Field
THR_THRES0_EN
writer - This is the enable bit for unit %s’s thres0 comparator. - THR_
THRE S1_ EN_ R - Field
THR_THRES1_EN
reader - This is the enable bit for unit %s’s thres1 comparator. - THR_
THRE S1_ 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