#include <AP_RAMTRON.h>
|
bool | init (void) |
|
uint32_t | get_size (void) const |
|
bool | read (uint32_t offset, uint8_t *buf, uint32_t size) |
|
bool | write (uint32_t offset, const uint8_t *buf, uint32_t size) |
|
Definition at line 9 of file AP_RAMTRON.h.
◆ get_size()
uint32_t AP_RAMTRON::get_size |
( |
void |
| ) |
const |
|
inline |
◆ init()
bool AP_RAMTRON::init |
( |
void |
| ) |
|
◆ read()
bool AP_RAMTRON::read |
( |
uint32_t |
offset, |
|
|
uint8_t * |
buf, |
|
|
uint32_t |
size |
|
) |
| |
◆ send_offset()
void AP_RAMTRON::send_offset |
( |
uint8_t |
cmd, |
|
|
uint32_t |
offset |
|
) |
| |
|
private |
◆ write()
bool AP_RAMTRON::write |
( |
uint32_t |
offset, |
|
|
const uint8_t * |
buf, |
|
|
uint32_t |
size |
|
) |
| |
◆ dev
◆ id
◆ ramtron_ids
Initial value:= {
{ 0x21, 0x00, 16, 2},
{ 0x21, 0x08, 16, 2},
{ 0x22, 0x00, 32, 2},
{ 0x22, 0x08, 32, 2},
{ 0x22, 0x01, 32, 2},
{ 0x23, 0x00, 64, 2},
{ 0x23, 0x01, 64, 2},
{ 0x24, 0x00, 128, 3},
{ 0x24, 0x01, 128, 3},
{ 0x25, 0x08, 256, 3},
{ 0x26, 0x08, 512, 3},
{ 0x27, 0x03, 128, 3},
{ 0x05, 0x09, 32, 3},
}
Definition at line 31 of file AP_RAMTRON.h.
Referenced by get_size(), init(), and send_offset().
The documentation for this class was generated from the following files: