|
PebbleOS v4.47.0-160-g9e782207f
|
RAM driver for HyperRAM, PSRAM with a HyperBus interface. More...
Data Structures | |
| struct | pbl_ram_hyperram |
| HyperRAM. More... | |
Macros | |
| #define | PBL_RAM_HYPERRAM_DEFINE(sym, _name, _bus, _vcc) |
| Define a HyperRAM. | |
RAM driver for HyperRAM, PSRAM with a HyperBus interface.
It knows the memory, not the controller it is on: its identification and configuration registers, the latency its clock needs, and how it sleeps. It reaches it through its HyperBus controller, and takes its size from its identification register.
Off, the memory is in deep power-down and its controller is gated; powering it on wakes it up and sets it up again. In deep sleep it is in hybrid sleep, which keeps its contents.
| struct pbl_ram_hyperram |
HyperRAM.
| Data Fields | ||
|---|---|---|
| const struct pbl_hyperbus * | bus | Controller the memory is on. |
| struct pbl_ram | ram | RAM device. |
| const struct pbl_regulator * | vcc | Supply, or NULL. |
| #define PBL_RAM_HYPERRAM_DEFINE | ( | sym, | |
| _name, | |||
| _bus, | |||
| _vcc | |||
| ) |
Define a HyperRAM.
| sym | Symbol of the device. |
| _name | Name. |
| _bus | Controller, a HyperBus device. |
| _vcc | Supply, or NULL. |