#[repr(u8)]pub enum PC13_A {
Show 18 variants
VALUE1 = 0,
VALUE2 = 1,
VALUE3 = 2,
VALUE4 = 3,
VALUE5 = 4,
VALUE6 = 5,
VALUE7 = 6,
VALUE8 = 7,
VALUE9 = 16,
VALUE10 = 17,
VALUE11 = 18,
VALUE12 = 19,
VALUE13 = 20,
VALUE14 = 24,
VALUE15 = 25,
VALUE16 = 26,
VALUE17 = 27,
VALUE18 = 28,
}
Expand description
Port Control for Port n Pin 12 to 15
Value on reset: 0
Variants§
VALUE1 = 0
0: Input - No internal pull device active
VALUE2 = 1
1: Input - Internal pull-down device active
VALUE3 = 2
2: Input - Internal pull-up device active
VALUE4 = 3
3: Input - No internal pull device, Pn_OUTx = input value
VALUE5 = 4
4: Input inverted - No internal pull device active
VALUE6 = 5
5: Input inverted - Internal pull-down device active
VALUE7 = 6
6: Input inverted - Internal pull-up device active
VALUE8 = 7
7: Input inverted - No internal pull device, Pn_OUTx = input value
VALUE9 = 16
16: Output Push-Pull - General-purpose output
VALUE10 = 17
17: Output Push-Pull - Alternate output function 1
VALUE11 = 18
18: Output Push-Pull - Alternate output function 2
VALUE12 = 19
19: Output Push-Pull - Alternate output function 3
VALUE13 = 20
20: Output Push-Pull - Alternate output function 4
VALUE14 = 24
24: Output Open Drain - General-purpose output
VALUE15 = 25
25: Output Open Drain - Alternate output function 1
VALUE16 = 26
26: Output Open Drain - Alternate output function 2
VALUE17 = 27
27: Output Open Drain - Alternate output function 3
VALUE18 = 28
28: Output Open Drain - Alternate output function 4