REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
SR74HC16X.cpp
Go to the documentation of this file.
1// Copyright (c) 2024 anabrid GmbH
2// Contact: https://www.anabrid.com/licensing/
3//
4// SPDX-License-Identifier: MIT OR GPL-2.0-or-later
5
6#include "SR74HC16X.h"
7
9 4'000'000, MSBFIRST, SPI_MODE3 /* Chip expects MODE0, CLK is inverted on the way */};
10
12
13functions::SR74HC16X::SR74HC16X(bus::addr_t address) : DataFunction(address, DEFAULT_SPI_SETTINGS) {}
A DataFunction class wraps SPI communication over the digital bus.
Definition functions.h:47
uint8_t transfer8(uint8_t data_in) const
uint8_t read8() const
Definition SR74HC16X.cpp:11
SR74HC16X(bus::addr_t address)
Definition SR74HC16X.cpp:13
static const SPISettings DEFAULT_SPI_SETTINGS
Definition SR74HC16X.h:8