Documentation ¶
Index ¶
- type MockPin
- func (_m *MockPin) BeginWatch(_param0 Edge, _param1 IRQEvent) error
- func (_m *MockPin) Clear() error
- func (_m *MockPin) Close() error
- func (_m *MockPin) EXPECT() *_MockPinRecorder
- func (_m *MockPin) EndWatch() error
- func (_m *MockPin) Get() (bool, error)
- func (_m *MockPin) Mode() (Mode, error)
- func (_m *MockPin) Set() error
- func (_m *MockPin) SetMode(_param0 Mode) error
- func (_m *MockPin) Wait(_param0 bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPin ¶
type MockPin struct {
// contains filtered or unexported fields
}
Mock of Pin interface
func NewMockPin ¶
func NewMockPin(ctrl *gomock.Controller) *MockPin
func (*MockPin) BeginWatch ¶
Click to show internal directories.
Click to hide internal directories.