3#ifndef TETL_HARDWARE_MCP23017_MCP23017_HPP
4#define TETL_HARDWARE_MCP23017_MCP23017_HPP
101template <
typename Driver>
111 auto init() ->
bool {
return true; }
Definition mcp23017.hpp:11
address
Definition mcp23017.hpp:19
@ a27
Definition mcp23017.hpp:27
@ a20
Definition mcp23017.hpp:20
@ a22
Definition mcp23017.hpp:22
@ a25
Definition mcp23017.hpp:25
@ a21
Definition mcp23017.hpp:21
@ a24
Definition mcp23017.hpp:24
@ a26
Definition mcp23017.hpp:26
@ a23
Definition mcp23017.hpp:23
pull_up_resistor
Definition mcp23017.hpp:88
@ enabled_O5
Definition mcp23017.hpp:96
@ all_enabled
Definition mcp23017.hpp:90
@ enabled_O4
Definition mcp23017.hpp:95
@ all_disabled
Definition mcp23017.hpp:89
@ enabled_O3
Definition mcp23017.hpp:94
@ enabled_O1
Definition mcp23017.hpp:92
@ enabled_O7
Definition mcp23017.hpp:98
@ enabled_O0
Definition mcp23017.hpp:91
@ enabled_O2
Definition mcp23017.hpp:93
@ enabled_O6
Definition mcp23017.hpp:97
io_polarity
Definition mcp23017.hpp:73
@ all_normal
Definition mcp23017.hpp:74
@ inverted_O5
Definition mcp23017.hpp:81
@ inverted_O7
Definition mcp23017.hpp:83
@ all_inverted
Definition mcp23017.hpp:75
@ inverted_O0
Definition mcp23017.hpp:76
@ inverted_O4
Definition mcp23017.hpp:80
@ inverted_O6
Definition mcp23017.hpp:82
@ inverted_O3
Definition mcp23017.hpp:79
@ inverted_O2
Definition mcp23017.hpp:78
@ inverted_O1
Definition mcp23017.hpp:77
io_direction
Definition mcp23017.hpp:58
@ input_O5
Definition mcp23017.hpp:66
@ input_O0
Definition mcp23017.hpp:61
@ input_O1
Definition mcp23017.hpp:62
@ input_O7
Definition mcp23017.hpp:68
@ input_O6
Definition mcp23017.hpp:67
@ input_O2
Definition mcp23017.hpp:63
@ all_input
Definition mcp23017.hpp:60
@ all_output
Definition mcp23017.hpp:59
@ input_O3
Definition mcp23017.hpp:64
@ input_O4
Definition mcp23017.hpp:65
registers
Definition mcp23017.hpp:31
@ GPINTENA
Definition mcp23017.hpp:36
@ INTFB
Definition mcp23017.hpp:47
@ OLATA
Definition mcp23017.hpp:52
@ INTCAPB
Definition mcp23017.hpp:49
@ INTCONA
Definition mcp23017.hpp:40
@ DEFVALB
Definition mcp23017.hpp:39
@ INTCAPA
Definition mcp23017.hpp:48
@ io_direction_b
Definition mcp23017.hpp:33
@ io_direction_a
Definition mcp23017.hpp:32
@ IPOLB
Definition mcp23017.hpp:35
@ INTCONB
Definition mcp23017.hpp:41
@ GPIOB
Definition mcp23017.hpp:51
@ DEFVALA
Definition mcp23017.hpp:38
@ IPOLA
Definition mcp23017.hpp:34
@ GPPUB
Definition mcp23017.hpp:45
@ INTFA
Definition mcp23017.hpp:46
@ GPPUA
Definition mcp23017.hpp:44
@ OLATB
Definition mcp23017.hpp:53
@ GPINTENB
Definition mcp23017.hpp:37
@ GPIOA
Definition mcp23017.hpp:50
port
Definition mcp23017.hpp:13
@ a
Definition mcp23017.hpp:14
@ b
Definition mcp23017.hpp:15
TETL_BUILTIN_UINT16 uint16_t
Unsigned integer type with width of exactly 16 bits.
Definition uint_t.hpp:14
TETL_BUILTIN_UINT8 uint8_t
Unsigned integer type with width of exactly 8 bits.
Definition uint_t.hpp:11
constexpr auto ignore_unused(Types &&...) -> void
Explicitly ignore arguments or variables.
Definition ignore_unused.hpp:17
device(device const &)=delete
auto init() -> bool
Definition mcp23017.hpp:111
auto operator=(device &&) -> device &=delete
auto operator=(device const &) -> device &=delete
auto set_io_direction(port p, io_direction direction) -> void
Definition mcp23017.hpp:113