1 // Copyright 2021 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 #include "pw_digital_io/digital_io.h"
16
17 namespace pw::digital_io {
18
DoSetState(State)19 Status DigitalInterrupt::DoSetState(State) {
20 PW_CRASH("DoSetState not implemented");
21 }
DoGetState()22 Result<State> DigitalInterrupt::DoGetState() {
23 PW_CRASH("DoGetState not implemented");
24 }
25
DoSetState(State)26 Status DigitalIn::DoSetState(State) { PW_CRASH("DoSetState not implemented"); }
DoSetInterruptHandler(InterruptTrigger,InterruptHandler &&)27 Status DigitalIn::DoSetInterruptHandler(InterruptTrigger, InterruptHandler&&) {
28 PW_CRASH("DoSetInterruptHandler not implemented");
29 }
DoEnableInterruptHandler(bool)30 Status DigitalIn::DoEnableInterruptHandler(bool) {
31 PW_CRASH("DoEnableInterruptHandler not implemented");
32 }
33
DoSetState(State)34 Status DigitalInInterrupt::DoSetState(State) {
35 PW_CRASH("DoSetState not implemented");
36 }
37
DoGetState()38 Result<State> DigitalOut::DoGetState() {
39 PW_CRASH("DoGetState not implemented");
40 }
DoSetInterruptHandler(InterruptTrigger,InterruptHandler &&)41 Status DigitalOut::DoSetInterruptHandler(InterruptTrigger, InterruptHandler&&) {
42 PW_CRASH("DoSetInterruptHandler not implemented");
43 }
DoEnableInterruptHandler(bool)44 Status DigitalOut::DoEnableInterruptHandler(bool) {
45 PW_CRASH("DoEnableInterruptHandler not implemented");
46 }
47
DoGetState()48 Result<State> DigitalOutInterrupt::DoGetState() {
49 PW_CRASH("DoGetState not implemented");
50 }
51
DoSetInterruptHandler(InterruptTrigger,InterruptHandler &&)52 Status DigitalInOut::DoSetInterruptHandler(InterruptTrigger,
53 InterruptHandler&&) {
54 PW_CRASH("DoSetInterruptHandler not implemented");
55 }
DoEnableInterruptHandler(bool)56 Status DigitalInOut::DoEnableInterruptHandler(bool) {
57 PW_CRASH("DoEnableInterruptHandler not implemented");
58 }
59
60 } // namespace pw::digital_io
61