|
PER Firmware
|
Classes | |
| class | FDCANFilters |
| class | FilterBank |
| class | NodeMapping |
Functions | |
| Dict[str, NodeMapping] | map_hardware (List[Node] nodes, Dict bus_configs) |
| bool | is_fdcan_peripheral (str periph) |
| NodeMapping | map_node_hardware (Node node, Dict bus_configs) |
| FDCANFilters | map_fdcan_filters (str node_name, str periph, List msgs) |
| List[FilterBank] | map_bxcan_filters (str node_name, str periph, List msgs) |
Variables | |
| int | MAX_FDCAN_SID_FILTERS = 28 |
| int | MAX_FDCAN_XID_FILTERS = 8 |
mapper.py Author: Irving Wang (irvingw@purdue.edu)
| bool mapper.is_fdcan_peripheral | ( | str | periph | ) |
Check if peripheral is FDCAN (G4) vs bxCAN (F4/F7/L4)
| List[FilterBank] mapper.map_bxcan_filters | ( | str | node_name, |
| str | periph, | ||
| List | msgs ) |
Map messages to bxCAN filter banks
| FDCANFilters mapper.map_fdcan_filters | ( | str | node_name, |
| str | periph, | ||
| List | msgs ) |
Map messages to FDCAN standard and extended ID filter lists
| Dict[str, NodeMapping] mapper.map_hardware | ( | List[Node] | nodes, |
| Dict | bus_configs ) |
Hardware Mapper stage. Assigns physical resources (like bxCAN filter banks or FDCAN filter lists) to nodes.