Type Alias esp32h2::pcnt::u_conf2::R

source ·
pub type R = R<U_CONF2_SPEC>;
Expand description

Register U%s_CONF2 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn cnt_h_lim(&self) -> CNT_H_LIM_R

Bits 0:15 - This register is used to configure the thr_h_lim value for unit %s. When pluse_cnt reaches this value, the counter will be cleared to 0.

source

pub fn cnt_l_lim(&self) -> CNT_L_LIM_R

Bits 16:31 - This register is used to configure the thr_l_lim value for unit %s. When pluse_cnt reaches this value, the counter will be cleared to 0.