• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2024 The Pigweed Authors
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 // use this file except in compliance with the License. You may obtain a copy of
5 // the License at
6 //
7 //     https://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 // License for the specific language governing permissions and limitations under
13 // the License.
14 
15 #pragma once
16 
17 #include "pw_preprocessor/util.h"
18 
19 #define IOPCTL_PIO_ANAMUX_DI 0x00u
20 #define IOPCTL_PIO_FULLDRIVE_DI 0x00u
21 #define IOPCTL_PIO_FUNC1 0x01u
22 #define IOPCTL_PIO_INBUF_DI 0x00u
23 #define IOPCTL_PIO_INBUF_EN 0x40u
24 #define IOPCTL_PIO_INV_DI 0x00u
25 #define IOPCTL_PIO_PSEDRAIN_DI 0x00u
26 #define IOPCTL_PIO_PULLDOWN_EN 0x00u
27 #define IOPCTL_PIO_PULLUP_EN 0x20u
28 #define IOPCTL_PIO_PUPD_DI 0x00u
29 #define IOPCTL_PIO_PUPD_EN 0x10u
30 #define IOPCTL_PIO_SLEW_RATE_NORMAL 0x00u
31 
32 PW_EXTERN_C void BOARD_InitBootPins();
33