ELEC-C7222
Libraries for ELEC C7222 Course Work
Loading...
Searching...
No Matches
platform.hpp File Reference

Platform encapsulation for board-level devices. More...

#include <cstdint>
#include <memory>
#include <chrono>
#include "c7222_pico_w_board.hpp"
#include "onboard_led.hpp"
#include "onchip_temperature_sensor.hpp"
#include "led.hpp"
#include "button.hpp"
#include "pwm.hpp"
Include dependency graph for platform.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  c7222::Platform
 Singleton access to platform-specific devices and initialization. More...
 

Namespaces

namespace  c7222
 C7222 course abstractions namespace.
 

Detailed Description

Platform encapsulation for board-level devices.

The Platform singleton centralizes architecture initialization and provides convenient access to board-level devices (on-board LED, temperature sensor, and PicoWBoard IO), plus Pico SDK timing helpers (sleep and tight-loop utilities). This keeps application code small and consistent across platforms.