libjoybus
Joybus implementation for 32-bit MCUs
Loading...
Searching...
No Matches
joybus_gecko_config Struct Reference

Configuration for a Gecko Joybus instance. More...

#include <gecko.h>

Data Fields

GPIO_Port_TypeDef gpio_port
 GPIO port to use for the Joybus data line.
uint8_t gpio_pin
 GPIO pin to use for the Joybus data line.
TIMER_TypeDef * rx_timer
 TIMER peripheral to use for receiving data.
USART_TypeDef * tx_usart
 USART peripheral to use for transmitting data.
uint32_t freq
 Transmit frequency, in Hz.

Detailed Description

Configuration for a Gecko Joybus instance.

Note: Some peripherals cannot be used on certain ports, check the DBUS Routing Table in the reference manual for your MCU.


The documentation for this struct was generated from the following file: