76 int32_t
begin(uint8_t
pin, uint32_t frequency_Hz)
90 int16_t result =
_sw.sendPacket(tx, rx);
96 int32_t returnval = (((uint32_t)rx[5]) << 16) + (((uint32_t)rx[4]) << 8) + rx[3];
@ CONFIGURE_PIN_MODE0
(200)
#define SW_LE32(_a)
Convert a uint32_t to four bytes in little endian format for array initialization.
Class for a Serial Wombat chip. Each Serial Wombat chip on a project should have its own instance.
SerialWombatHSClock(SerialWombatChip &sw)
Class constructor for SerialWombatHSClock pin mode.
int32_t begin(uint8_t pin, uint32_t frequency_Hz)
Begin outputing a clock at a frequency on a specified pin /.
SerialWombatPin(SerialWombatChip &serialWombatChip)
Instantiates a Serial Wombat Pin.
uint8_t pin()
Returns the current SW pin number. Used primarily for virtual calls by derived classes.