Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Auto generated API documentation and code listings for SnakeGame
| _ARM_DRIVER_STORAGE | This is the set of operations constituting the Storage driver |
| _ARM_DRIVER_VERSION | Driver Version |
| _ARM_STORAGE_BLOCK | A storage block is a range of memory with uniform attributes |
| _ARM_STORAGE_BLOCK_ATTRIBUTES | Attributes of the storage range within a storage block |
| _ARM_STORAGE_CAPABILITIES | Storage Driver API Capabilities |
| _ARM_STORAGE_INFO | Storage information |
| _ARM_STORAGE_SECURITY_FEATURES | Device Data Security Protection Features |
| _ARM_STORAGE_STATUS | Operating status of the storage controller |
| _mbed_error_ctx | Mbed_error_ctx struct |
| AnalogIn | An analog input, used for reading the voltage on a pin |
| AnalogOut | An analog output, used for setting the voltage on a pin |
| args_t | Flash algo argument structure Contains all registers that should be preserved |
| ATCmdParser | Parser class for parsing AT commands |
| buffer_s | Generic buffer structure |
| BusIn | A digital input bus, used for reading the state of a collection of pins |
| BusInOut | A digital input output bus, used for setting the state of a collection of pins |
| BusOut | A digital output bus, used for setting the state of a collection of pins |
| Callback< R()> | Callback class based on template specialization |
| Callback< R(A0)> | Callback class based on template specialization |
| Callback< R(A0, A1)> | Callback class based on template specialization |
| Callback< R(A0, A1, A2)> | Callback class based on template specialization |
| Callback< R(A0, A1, A2, A3)> | Callback class based on template specialization |
| Callback< R(A0, A1, A2, A3, A4)> | Callback class based on template specialization |
| CallChain | Group one or more functions in an instance of a CallChain , then call them in sequence using CallChain::call() |
| CAN | A can bus client, used for communicating with can devices |
| CAN_Message | Holder for single CAN message |
| CANMessage | CANMessage class |
| CircularBuffer< T, BufferSize, CounterType > | Templated Circular buffer class |
| CriticalSectionLock | RAII object for disabling, then restoring, interrupt state Usage: |
| CThunk< T > | Class for created a pointer with data bound to it |
| DeepSleepLock | RAII object for disabling, then restoring the deep sleep mode Usage: |
| DigitalIn | A digital input, used for reading the state of a pin |
| DigitalInOut | A digital input/output, used for setting or reading a bi-directional pin |
| DigitalOut | A digital output, used for setting the state of a pin |
| DirHandle | Represents a directory stream |
| Ethernet | An ethernet interface, to use with the ethernet pins |
| FileBase | Class FileBase |
| FileHandle | Class FileHandle |
| FileLike | Class FileLike |
| FilePath | Class FilePath |
| FileSystemHandle | A filesystem-like object is one that can be used to open file-like objects though it by fopen("/name/filename", mode) |
| FileSystemLike | A filesystem-like object is one that can be used to open file-like objects though it by fopen("/name/filename", mode) |
| flash_algo_t | Target flash algorithm structure |
| flash_s | Target flash configuration For targets not supporting TrustZone, its flash_set_target_config must define target_config |
| flash_target_config_t | Flash configuration structure |
| FlashIAP | Flash IAP driver |
| FXOS8700Q | FXOS8700Q accelerometer example |
| FXOS8700QAccelerometer | FXOS8700QAccelerometer interface |
| FXOS8700QMagnetometer | FXOS8700QMagnetometer interface |
| Gamepad | Gamepad Class |
| I2C | An I2C Master, used for communicating with I2C slave devices |
| i2c_t | Asynch I2C HAL structure |
| I2CSlave | An I2C Slave, used for communicating with an I2C Master device |
| InterruptIn | A digital interrupt input, used to call a function on a rising or falling edge |
| InterruptManager | Use this singleton if you need to chain interrupt handlers |
| LocalFileSystem | A filesystem for accessing the local mbed Microcontroller USB disk drive |
| LowPowerTicker | Low Power Ticker |
| LowPowerTimeout | Low Power Timout |
| LowPowerTimer | Low power timer |
| mbed_stats_cpu_t | Struct mbed_stats_cpu_t definition |
| mbed_stats_heap_t | Struct mbed_stats_heap_t definition |
| mbed_stats_stack_t | Struct mbed_stats_stack_t definition |
| mbed_stats_sys_t | Struct mbed_stats_sys_t definition |
| mbed_stats_thread_t | Struct mbed_stats_thread_t definition |
| motion_data_counts_t | Motion_data_counts_t struct |
| motion_data_units_t | Motion_data_units_t struct |
| MotionSensor | Motion Sensor Base Class Useful for accessing data in a common way |
| N5110 | N5110 Class |
| NonCopyable< T > | Prevents generation of copy constructor and copy assignment operator in derived classes |
| Polar | Polar coordinate struct |
| PortIn | A multiple pin digital input |
| PortInOut | A multiple pin digital in/out used to set/read multiple bi-directional pins |
| PortOut | A multiple pin digital output |
| PwmOut | A pulse-width modulation digital output |
| QSPI | A QSPI Driver, used for communicating with QSPI slave devices |
| qspi_command | QSPI command |
| RawSerial | A serial port (UART) for communication with other serial devices This is a variation of the Serial class that doesn't use streams, thus making it safe to use in interrupt handlers with the RTOS |
| ScopedLock< Lockable > | RAII-style mechanism for owning a lock of Lockable object for the duration of a scoped block |
| sector_info_t | Sector information structure |
| Serial | A serial port (UART) for communication with other serial devices |
| serial_t | Asynch serial HAL structure |
| SerialBase | A base class for serial port implementations Can't be instantiated directly (use Serial or RawSerial ) |
| SharedPtr< T > | Shared pointer class |
| SingletonPtr< T > | Utility class for creating an using a singleton |
| Span< ElementType, Extent > | Nonowning view to a sequence of contiguous elements |
| Span< ElementType, SPAN_DYNAMIC_EXTENT > | Span specialization that handle dynamic size |
| SPI | A SPI Master, used for communicating with SPI slave devices |
| spi_t | Asynch SPI HAL structure |
| SPISlave | A SPI slave, used for communicating with a SPI master device |
| Stream | File stream |
| Ticker | A Ticker is used to call a function at a recurring interval |
| ticker_data_t | Ticker's data structure |
| ticker_event_queue_t | Ticker's event queue structure |
| ticker_event_s | Ticker's event structure |
| ticker_info_t | Information about the ticker implementation |
| ticker_interface_t | Ticker's interface structure - required API for a ticker |
| Timeout | A Timeout is used to call a function at a point in the future |
| Timer | A general purpose timer |
| TimerEvent | Base abstraction for timer interrupts |
| Transaction< Class > | Transaction class defines a transaction |
| transaction_t | Transaction structure |
| UARTSerial | Class providing buffered UART communication functionality using separate circular buffer for send and receive channels |
| Vector2D | Vector 2D struct |
Code
| AnalogIn.h [code] | |
| analogin_api.h [code] | |
| AnalogOut.h [code] | |
| analogout_api.h [code] | |
| ATCmdParser.h [code] | |
| Bitmap.cpp [code] | |
| Bitmap.h [code] | |
| buffer.h [code] | |
| BusIn.h [code] | |
| BusInOut.h [code] | |
| BusOut.h [code] | |
| Callback.h [code] | |
| CallChain.h [code] | |
| CAN.h [code] | |
| can_api.h [code] | |
| can_helper.h [code] | |
| CircularBuffer.h [code] | |
| crc_api.h [code] | |
| critical.h [code] | |
| critical_section_api.h [code] | |
| CriticalSectionLock.h [code] | |
| CThunk.h [code] | |
| DeepSleepLock.h [code] | |
| DigitalIn.h [code] | |
| DigitalInOut.h [code] | |
| DigitalOut.h [code] | |
| DirHandle.h [code] | |
| dma_api.h [code] | |
| Driver_Common.h [code] | |
| Driver_Storage.h [code] | |
| Ethernet.h [code] | |
| ethernet_api.h [code] | |
| FileBase.h [code] | |
| FileHandle.h [code] | |
| FileLike.h [code] | |
| FilePath.h [code] | |
| FileSystemHandle.h [code] | |
| FileSystemLike.h [code] | |
| flash_api.h [code] | |
| flash_data.h [code] | |
| FlashIAP.h [code] | |
| FunctionPointer.h [code] | |
| FXOS8700Q.cpp [code] | |
| FXOS8700Q.h [code] | |
| Gamepad.cpp [code] | |
| Gamepad.h [code] | |
| gpio_api.h [code] | |
| gpio_irq_api.h [code] | |
| I2C.h [code] | |
| i2c_api.h [code] | |
| I2CSlave.h [code] | |
| InterruptIn.h [code] | |
| InterruptManager.h [code] | |
| itm_api.h [code] | |
| LocalFileSystem.h [code] | |
| LowPowerTicker.h [code] | |
| LowPowerTickerWrapper.h [code] | |
| LowPowerTimeout.h [code] | |
| LowPowerTimer.h [code] | |
| lp_ticker_api.h [code] | |
| MAIN.cpp [code] | |
| mbed.h [code] | |
| mbed_application.h [code] | |
| mbed_assert.h [code] | |
| mbed_config.h [code] | |
| mbed_critical.h [code] | |
| mbed_debug.h [code] | |
| mbed_error.h [code] | |
| mbed_error_hist.h [code] | |
| mbed_interface.h [code] | |
| mbed_lp_ticker_wrapper.h [code] | |
| mbed_mem_trace.h [code] | |
| mbed_mktime.h [code] | |
| mbed_poll.h [code] | |
| mbed_power_mgmt.h [code] | |
| mbed_preprocessor.h [code] | |
| mbed_retarget.h [code] | |
| mbed_rtc_time.h [code] | |
| mbed_semihost_api.h [code] | |
| mbed_sleep.h [code] | |
| mbed_stats.h [code] | |
| mbed_toolchain.h [code] | |
| mbed_version.h [code] | |
| mbed_wait_api.h [code] | |
| MbedCRC.h [code] | |
| MotionSensor.h [code] | |
| N5110.cpp [code] | |
| N5110.h [code] | |
| NonCopyable.h [code] | |
| pinmap.h [code] | |
| platform.h [code] | |
| PlatformMutex.h [code] | |
| port_api.h [code] | |
| PortIn.h [code] | |
| PortInOut.h [code] | |
| PortOut.h [code] | |
| PwmOut.h [code] | |
| pwmout_api.h [code] | |
| QSPI.h [code] | |
| qspi_api.h [code] | |
| RawSerial.h [code] | |
| rtc_api.h [code] | |
| rtc_time.h [code] | |
| ScopedLock.h [code] | |
| semihost_api.h [code] | |
| Serial.h [code] | |
| serial_api.h [code] | |
| SerialBase.h [code] | |
| SerialWireOutput.h [code] | |
| SharedPtr.h [code] | |
| SingletonPtr.h [code] | |
| sleep.h [code] | |
| sleep_api.h [code] | |
| snake_defines.h [code] | |
| SnakeEngine.cpp [code] | |
| SnakeEngine.h [code] | |
| Span.h [code] | |
| SPI.h [code] | |
| spi_api.h [code] | |
| SPISlave.h [code] | |
| Stream.h [code] | |
| TableCRC.h [code] | |
| Ticker.h [code] | |
| ticker_api.h [code] | |
| Timeout.h [code] | |
| Timer.h [code] | |
| TimerEvent.h [code] | |
| toolchain.h [code] | |
| Transaction.h [code] | |
| trng_api.h [code] | |
| UARTSerial.h [code] | |
| us_ticker_api.h [code] | |
| wait_api.h [code] |