#[repr(u8)]pub enum Pc6 {
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 4 to 7
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