Lines Matching +full:spi +full:- +full:addr
1 /* ieee802154_cc1200.h - Registers definition for TI CC1200 */
6 * SPDX-License-Identifier: Apache-2.0
15 #include <zephyr/drivers/spi.h>
24 * SPI pins are easy, RESET as well, but when it comes to GPIO:
25 * CHIP -> EM adapter
26 * GPIO0 -> GPIOA
27 * GPIO1 -> reserved (it's SPI MISO)
28 * GPIO2 -> GPIOB
29 * GPIO3 -> GPIO3
65 bool z_cc1200_access_reg(const struct device *dev, bool read, uint8_t addr,
69 uint8_t addr, bool extended) in cc1200_read_single_reg() argument
73 if (z_cc1200_access_reg(dev, true, addr, &val, 1, extended, false)) { in cc1200_read_single_reg()
81 uint8_t addr, uint8_t val, bool extended) in cc1200_write_single_reg() argument
83 return z_cc1200_access_reg(dev, false, addr, &val, 1, extended, false); in cc1200_write_single_reg()
86 static inline bool cc1200_instruct(const struct device *dev, uint8_t addr) in cc1200_instruct() argument
88 return z_cc1200_access_reg(dev, false, addr, NULL, 0, false, false); in cc1200_instruct()