Advanced Search
Search Results
10 total results found
Getting started
This page: structure of this subsystem and where to find what. Make sure you understand the embedded structure: Embedded Infastructure 1) Main Main.c can be found in src/arm_board This is the code that will be ran when building and uploading using platform...
Example PWM generation
This page: what does the configuration look like for my board, specifically regarding PWM. Make sure you have set up Ethernet according to the following page FIRST: Introduction and initial setup of embedded ethernet PWM Pulse Width Modulation (PWM) is a tec...
Stepper library
Purpose CubeMX 1) PWM NOTE: If you are new to PWM, first take a look at Example PWM generation, it is more in depth For each stepper, enable pwm on channel 1. This is done by setting Clock Source = Internal Clock and Channel 1 = PWM Generation CH1. NOTE: E...
Arm Board Protobuffers
This page: each arm_board protobuffer explained. The protobuffers for the arm_board are passed between software, control and embedded. Movement_software_target.proto Software -> control This file contains two protobuffers detailing the source of a movement....
Main
All resources
High Level Overview
This Page PurposeHigh-level designExternal dependencies Purpose The packet dispatcher is used to decode protobuf frames. Application code usually wants: strongly typed decoded payloadsone handler per packet typedecoupling between input reception and packet ...
Functions of the Packet Dispatcher
Public API The following functions are available for the boards to use outside of the library. The public API consists of: packet_handler_t, packet_handler_config_t, PacketDispatcherInit(...), DispatchPacket()There are also stack depth macros: PACKET_HANDLE...
Helper Macros for Handler Config
Purpose To reduce repetitive boilerplate when defining packet handlers, the module also provides a set of helper macros in packet_dispatcher_macros.h. These macros generate: a statically allocated queue buffera fully initialized packet_handler_config_t They ar...
Recommended Usage Pattern
More information on the mentioned steps can be found in Functions of the Packet Dispatcher Typical Usage Model Intended setup Define one handler function per packet typedefine one packet_handler_config_t entry per packet type (using the macros)provide queue ...