Struct xmc4400::hrpwm0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 17 fields
pub hrbsc: HRBSC,
pub midr: MIDR,
pub glbana: GLBANA,
pub csgcfg: CSGCFG,
pub csgsetg: CSGSETG,
pub csgclrg: CSGCLRG,
pub csgstatg: CSGSTATG,
pub csgfcg: CSGFCG,
pub csgfsg: CSGFSG,
pub csgtrg: CSGTRG,
pub csgtrc: CSGTRC,
pub csgtrsg: CSGTRSG,
pub hrccfg: HRCCFG,
pub hrcstrg: HRCSTRG,
pub hrcctrg: HRCCTRG,
pub hrcstsg: HRCSTSG,
pub hrghrs: HRGHRS,
/* private fields */
}
Expand description
Register block
Fields§
§hrbsc: HRBSC
0x00 - Bias and suspend configuration
midr: MIDR
0x08 - Module identification register
glbana: GLBANA
0x14 - Global Analog Configuration
csgcfg: CSGCFG
0x20 - Global CSG configuration
csgsetg: CSGSETG
0x24 - Global CSG run bit set
csgclrg: CSGCLRG
0x28 - Global CSG run bit clear
csgstatg: CSGSTATG
0x2c - Global CSG run bit status
csgfcg: CSGFCG
0x30 - Global CSG slope/prescaler control
csgfsg: CSGFSG
0x34 - Global CSG slope/prescaler status
csgtrg: CSGTRG
0x38 - Global CSG shadow/switch trigger
csgtrc: CSGTRC
0x3c - Global CSG shadow trigger clear
csgtrsg: CSGTRSG
0x40 - Global CSG shadow/switch status
hrccfg: HRCCFG
0x60 - Global HRC configuration
hrcstrg: HRCSTRG
0x64 - Global HRC shadow trigger set
hrcctrg: HRCCTRG
0x68 - Global HRC shadow trigger clear
hrcstsg: HRCSTSG
0x6c - Global HRC shadow transfer status
hrghrs: HRGHRS
0x70 - High Resolution Generation Status