File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
boards/actinius-icarus/src Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,9 @@ pub struct Board {
48
48
/// The SIM select line (low = nano SIM, high/default = eSIM)
49
49
pub sim_select : Pin < Output < PushPull > > ,
50
50
51
+ /// The battery voltage analog input
52
+ pub vbat : p0:: P0_13 < Input < Floating > > ,
53
+
51
54
/// Cortex-M33 Core peripheral: Cache and branch predictor maintenance operations
52
55
pub CBP : pac:: CBP ,
53
56
@@ -460,6 +463,7 @@ impl Board {
460
463
cdc_uart,
461
464
pin_uart,
462
465
sim_select : pins0. p0_08 . into_push_pull_output ( Level :: High ) . degrade ( ) ,
466
+ vbat : pins0. p0_13 . into_floating_input ( ) ,
463
467
pins : Pins {
464
468
D0 : pins0. p0_00 ,
465
469
D1 : pins0. p0_01 ,
@@ -474,6 +478,7 @@ impl Board {
474
478
// Red LED is on P0_10
475
479
// Green LED is on P0_11
476
480
// Blue LED is on P0_12
481
+ // Battery voltage is on A0 / P0_13
477
482
A1 : pins0. p0_14 ,
478
483
A2 : pins0. p0_15 ,
479
484
A3 : pins0. p0_16 ,
You can’t perform that action at this time.
0 commit comments