Struct ch32v3::ch32v30x::afio::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub ecr: ECR,
pub pcfr: PCFR,
pub exticr1: EXTICR1,
pub exticr2: EXTICR2,
pub exticr3: EXTICR3,
pub exticr4: EXTICR4,
pub pcfr2: PCFR2,
/* private fields */
}
Expand description
Register block
Fields§
§ecr: ECR
0x00 - Event Control Register (AFIO_ECR)
pcfr: PCFR
0x04 - AF remap and debug I/O configuration register (AFIO_PCFR)
exticr1: EXTICR1
0x08 - External interrupt configuration register 1 (AFIO_EXTICR1)
exticr2: EXTICR2
0x0c - External interrupt configuration register 2 (AFIO_EXTICR2)
exticr3: EXTICR3
0x10 - External interrupt configuration register 3 (AFIO_EXTICR3)
exticr4: EXTICR4
0x14 - External interrupt configuration register 4 (AFIO_EXTICR4)
pcfr2: PCFR2
0x1c - AF remap and debug I/O configuration register (AFIO_PCFR2)