Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

FT8xx functions to write and read memory. More...

Functions

void ft8xx_wr8 (uint32_t address, uint8_t data)
 Write 1 byte (8 bits) to FT8xx memory.
 
void ft8xx_wr16 (uint32_t address, uint16_t data)
 Write 2 bytes (16 bits) to FT8xx memory.
 
void ft8xx_wr32 (uint32_t address, uint32_t data)
 Write 4 bytes (32 bits) to FT8xx memory.
 
uint8_t ft8xx_rd8 (uint32_t address)
 Read 1 byte (8 bits) from FT8xx memory.
 
uint16_t ft8xx_rd16 (uint32_t address)
 Read 2 bytes (16 bits) from FT8xx memory.
 
uint32_t ft8xx_rd32 (uint32_t address)
 Read 4 bytes (32 bits) from FT8xx memory.
 

Detailed Description

FT8xx functions to write and read memory.

Function Documentation

◆ ft8xx_rd16()

uint16_t ft8xx_rd16 ( uint32_t  address)

#include <include/zephyr/drivers/misc/ft8xx/ft8xx_common.h>

Read 2 bytes (16 bits) from FT8xx memory.

Parameters
addressMemory address to read from
Returns
Value read from memory

◆ ft8xx_rd32()

uint32_t ft8xx_rd32 ( uint32_t  address)

#include <include/zephyr/drivers/misc/ft8xx/ft8xx_common.h>

Read 4 bytes (32 bits) from FT8xx memory.

Parameters
addressMemory address to read from
Returns
Value read from memory

◆ ft8xx_rd8()

uint8_t ft8xx_rd8 ( uint32_t  address)

#include <include/zephyr/drivers/misc/ft8xx/ft8xx_common.h>

Read 1 byte (8 bits) from FT8xx memory.

Parameters
addressMemory address to read from
Returns
Value read from memory

◆ ft8xx_wr16()

void ft8xx_wr16 ( uint32_t  address,
uint16_t  data 
)

#include <include/zephyr/drivers/misc/ft8xx/ft8xx_common.h>

Write 2 bytes (16 bits) to FT8xx memory.

Parameters
addressMemory address to write to
dataValue to write

◆ ft8xx_wr32()

void ft8xx_wr32 ( uint32_t  address,
uint32_t  data 
)

#include <include/zephyr/drivers/misc/ft8xx/ft8xx_common.h>

Write 4 bytes (32 bits) to FT8xx memory.

Parameters
addressMemory address to write to
dataValue to write

◆ ft8xx_wr8()

void ft8xx_wr8 ( uint32_t  address,
uint8_t  data 
)

#include <include/zephyr/drivers/misc/ft8xx/ft8xx_common.h>

Write 1 byte (8 bits) to FT8xx memory.

Parameters
addressMemory address to write to
dataByte to write