Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ft8xx_common.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Hubert Miś
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12#ifndef ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_COMMON_H_
13#define ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_COMMON_H_
14
15#include <stdint.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
35
43
51
60
69
78
83#ifdef __cplusplus
84}
85#endif
86
87#endif /* ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_COMMON_H_ */
void ft8xx_wr32(uint32_t address, uint32_t data)
Write 4 bytes (32 bits) to FT8xx memory.
void ft8xx_wr8(uint32_t address, uint8_t data)
Write 1 byte (8 bits) to FT8xx memory.
uint32_t ft8xx_rd32(uint32_t address)
Read 4 bytes (32 bits) from 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.
void ft8xx_wr16(uint32_t address, uint16_t data)
Write 2 bytes (16 bits) to FT8xx memory.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
static fdata_t data[2]
Definition test_fifo_contexts.c:15