image/svg+xml
Brteve's API for EveApps
Version 0.0.1
The reference document for common folder of EveApps project.
 
Loading...
Searching...
No Matches
EVE_HalImpl.h
Go to the documentation of this file.
1
36#ifndef EVE_HAL_IMPL__H
37#define EVE_HAL_IMPL__H
38#include "EVE_HalDefs.h"
39
41
42/*********
43** INIT **
44*********/
45
48
51
54
57bool EVE_HalImpl_defaults(EVE_HalParameters *parameters, size_t deviceIdx);
58
60bool EVE_HalImpl_open(EVE_HalContext *phost, const EVE_HalParameters *parameters);
61
64
68
69/*************
70** TRANSFER **
71*************/
72
75
78
82
85
86/*********
87** MISC **
88*********/
89
92
94void EVE_Mcu_release();
95
100
103
104#endif /* #ifndef EVE_HAL_IMPL__H */
105
106/* end of file */
#define EVE_HAL_EXPORT
Eve_Hal framework APIs.
EVE_TRANSFER_T
Definition EVE_HalDefs.h:65
EVE_HalPlatform g_HalPlatform
Definition EVE_Hal.c:43
EVE_HAL_EXPORT uint64_t EVE_millis64()
Get clock in miliseond.
EVE_HAL_EXPORT uint8_t EVE_Hal_transfer8(EVE_HalContext *phost, uint8_t value)
Write 8 bits to Coprocessor.
EVE_HAL_EXPORT uint16_t EVE_Hal_transfer16(EVE_HalContext *phost, uint16_t value)
Write 2 bytes to Coprocessor.
bool EVE_HalImpl_open(EVE_HalContext *phost, const EVE_HalParameters *parameters)
Opens a new HAL context using the specified parameters.
void EVE_Mcu_initialize()
Init FT9x host MCU.
EVE_HAL_EXPORT uint32_t EVE_millis()
Get clock in miliseond.
EVE_HAL_EXPORT void EVE_Hal_startTransfer(EVE_HalContext *phost, EVE_TRANSFER_T rw, uint32_t addr)
Start data transfer to Coprocessor.
bool EVE_HalImpl_defaults(EVE_HalParameters *parameters, size_t deviceIdx)
Get the default configuration parameters.
void EVE_Millis_release()
Release FT9x timer.
void EVE_HalImpl_close(EVE_HalContext *phost)
Close a HAL context.
void EVE_Mcu_release()
Release FT9x host MCU.
void EVE_HalImpl_initialize()
Initialize HAL platform.
void EVE_Millis_initialize()
Init FT9x timer.
bool EVE_UtilImpl_bootupDisplayGpio(EVE_HalContext *phost)
Display GPIO pins.
void EVE_HalImpl_idle(EVE_HalContext *phost)
Idle. Call regularly to update frequently changing internal state.
EVE_HAL_EXPORT void EVE_Hal_endTransfer(EVE_HalContext *phost)
End data transfer.
void EVE_HalImpl_release()
Release HAL platform.
EVE_HAL_EXPORT void EVE_Hal_flush(EVE_HalContext *phost)
Flush data to Coprocessor.
EVE_HAL_EXPORT uint32_t EVE_Hal_transfer32(EVE_HalContext *phost, uint32_t value)
Write 4 bytes to Coprocessor.
unsigned short uint16_t
unsigned int uint32_t
unsigned long long uint64_t
unsigned char uint8_t
static ft_uint32_t addr
Definition FT_Gpu_Hal.h:139