VSF Documented
|
#include "./vsf_input_cfg.h"
#include "./vsf_input.h"
#include "kernel/vsf_kernel.h"
#include "utilities/vsf_utilities.h"
Data Structures | |
struct | vsf_input_t |
Macros | |
#define | __VSF_INPUT_CLASS_IMPLEMENT |
#define | VSF_INPUT_CFG_PROTECT_LEVEL interrupt |
#define | vsf_input_protect vsf_protect(VSF_INPUT_CFG_PROTECT_LEVEL) |
#define | vsf_input_unprotect vsf_unprotect(VSF_INPUT_CFG_PROTECT_LEVEL) |
Typedefs | |
typedef struct vsf_input_t | vsf_input_t |
Functions | |
void | vk_input_buf_set (uint8_t *buf, uint_fast8_t offset, uint_fast8_t len) |
void | vk_input_buf_clear (uint8_t *buf, uint_fast8_t offset, uint_fast8_t len) |
uint_fast32_t | vk_input_buf_get_value (uint8_t *buf, uint_fast8_t offset, uint_fast8_t len) |
void | vk_input_buf_set_value (uint8_t *buf, uint_fast8_t offset, uint_fast8_t len, uint_fast32_t value) |
vk_input_item_info_t * | vk_input_parse (vk_input_parser_t *parser, uint8_t *pre, uint8_t *cur) |
void | vsf_input_on_new_dev (vk_input_type_t type, void *dev) |
void | vsf_input_on_free_dev (vk_input_type_t type, void *dev) |
void | vsf_input_on_evt (vk_input_type_t type, vk_input_evt_t *evt) |
uint_fast32_t | vk_input_update_timestamp (vk_input_timestamp_t *timestamp) |
void | vk_input_notifier_register (vk_input_notifier_t *notifier) |
void | vk_input_notifier_unregister (vk_input_notifier_t *notifier) |
#define __VSF_INPUT_CLASS_IMPLEMENT |
#define VSF_INPUT_CFG_PROTECT_LEVEL interrupt |
#define vsf_input_protect vsf_protect(VSF_INPUT_CFG_PROTECT_LEVEL) |
#define vsf_input_unprotect vsf_unprotect(VSF_INPUT_CFG_PROTECT_LEVEL) |
typedef struct vsf_input_t vsf_input_t |
void vk_input_buf_set | ( | uint8_t * | buf, |
uint_fast8_t | offset, | ||
uint_fast8_t | len | ||
) |
void vk_input_buf_clear | ( | uint8_t * | buf, |
uint_fast8_t | offset, | ||
uint_fast8_t | len | ||
) |
uint_fast32_t vk_input_buf_get_value | ( | uint8_t * | buf, |
uint_fast8_t | offset, | ||
uint_fast8_t | len | ||
) |
void vk_input_buf_set_value | ( | uint8_t * | buf, |
uint_fast8_t | offset, | ||
uint_fast8_t | len, | ||
uint_fast32_t | value | ||
) |
vk_input_item_info_t * vk_input_parse | ( | vk_input_parser_t * | parser, |
uint8_t * | pre, | ||
uint8_t * | cur | ||
) |
void vsf_input_on_new_dev | ( | vk_input_type_t | type, |
void * | dev | ||
) |
void vsf_input_on_free_dev | ( | vk_input_type_t | type, |
void * | dev | ||
) |
void vsf_input_on_evt | ( | vk_input_type_t | type, |
vk_input_evt_t * | evt | ||
) |
uint_fast32_t vk_input_update_timestamp | ( | vk_input_timestamp_t * | timestamp | ) |
void vk_input_notifier_register | ( | vk_input_notifier_t * | notifier | ) |
void vk_input_notifier_unregister | ( | vk_input_notifier_t * | notifier | ) |