![]() |
agileRTOS (zrtos)
Version 0.8.0 (ghostbuster)
|
Go to the source code of this file.
Data Structures | |
struct | zrtos_vfs_module_mcp2515_txbn_regs_t |
struct | zrtos_vfs_module_mcp2515_rxbn_regs_t |
struct | zrtos_vfs_module_mcp2515_id_t |
Macros | |
#define | ZRTOS_VFS_MODULE_MCP2515_BITRATE__COMBINE(cfg1, cfg2, cfg3) ((cfg1) | ((cfg2)<<8) | ((cfg3)<<16)) |
Variables | |
typedef | enum |
static | uint8_t = 0x08 |
#define ZRTOS_VFS_MODULE_MCP2515_BITRATE__COMBINE | ( | cfg1, | |
cfg2, | |||
cfg3 | |||
) | ((cfg1) | ((cfg2)<<8) | ((cfg3)<<16)) |
Definition at line 21 of file mcp2515.h.
Definition at line 187 of file mcp2515.h.
Definition at line 197 of file mcp2515.h.
Definition at line 215 of file mcp2515.h.
Enumerator | |
---|---|
ZRTOS_VFS_MODULE_MCP2515_MASK__MASK0 | |
ZRTOS_VFS_MODULE_MCP2515_MASK__MASK1 |
Definition at line 80 of file mcp2515.h.
Definition at line 169 of file mcp2515.h.
Definition at line 113 of file mcp2515.h.
Definition at line 105 of file mcp2515.h.
Definition at line 94 of file mcp2515.h.
Enumerator | |
---|---|
ZRTOS_VFS_MODULE_MCP2515_REGISTER_CANSTAT__OPMOD | |
ZRTOS_VFS_MODULE_MCP2515_REGISTER_CANSTAT__ICOD |
Definition at line 122 of file mcp2515.h.
Enumerator | |
---|---|
ZRTOS_VFS_MODULE_MCP2515_REGISTER_CNF3__SOF |
Definition at line 155 of file mcp2515.h.
Enumerator | |
---|---|
ZRTOS_VFS_MODULE_MCP2515_REGISTER_RXB0CTRL__BUKT | |
ZRTOS_VFS_MODULE_MCP2515_REGISTER_RXB0CTRL__FILHIT_MASK | |
ZRTOS_VFS_MODULE_MCP2515_REGISTER_RXB0CTRL__FILHIT |
Definition at line 144 of file mcp2515.h.
Enumerator | |
---|---|
ZRTOS_VFS_MODULE_MCP2515_REGISTER_RXB1CTRL__FILHIT_MASK | |
ZRTOS_VFS_MODULE_MCP2515_REGISTER_RXB1CTRL__FILHIT |
Definition at line 150 of file mcp2515.h.
Definition at line 136 of file mcp2515.h.
Definition at line 235 of file mcp2515.h.
Definition at line 127 of file mcp2515.h.
Enumerator | |
---|---|
ZRTOS_VFS_MODULE_MCP2515_RXBN__RXB0 | |
ZRTOS_VFS_MODULE_MCP2515_RXBN__RXB1 | |
ZRTOS_VFS_MODULE_MCP2515_RXBN__LENGTH |
Definition at line 317 of file mcp2515.h.
Enumerator | |
---|---|
ZRTOS_VFS_MODULE_MCP2515_TXBN__TXB0 | |
ZRTOS_VFS_MODULE_MCP2515_TXBN__TXB1 | |
ZRTOS_VFS_MODULE_MCP2515_TXBN__TXB2 | |
ZRTOS_VFS_MODULE_MCP2515_TXBN__LENGTH |
zrtos_error_t zrtos_vfs_module_mcp2515__check_error | ( | zrtos_vfs_fd_t | fd | ) |
Definition at line 1097 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__check_receive | ( | zrtos_vfs_fd_t | fd | ) |
Definition at line 1083 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__clear_errif | ( | zrtos_vfs_fd_t | fd | ) |
Definition at line 1208 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__clear_interrupts | ( | zrtos_vfs_fd_t | fd | ) |
Definition at line 1147 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__clear_merr | ( | zrtos_vfs_fd_t | fd | ) |
Definition at line 1199 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__clear_rx_and_ovr | ( | zrtos_vfs_fd_t | fd | ) |
Definition at line 1179 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__clear_rx_and_ovr_flags | ( | zrtos_vfs_fd_t | fd | ) |
Definition at line 1122 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__clear_tx_interrupts | ( | zrtos_vfs_fd_t | fd | ) |
Definition at line 1166 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__get_available_txb | ( | zrtos_vfs_fd_t | fd, |
zrtos_vfs_module_mcp2515_txbn_regs_t * | txbn_regs | ||
) |
Definition at line 929 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__get_error_count_rx | ( | zrtos_vfs_fd_t | fd, |
uint8_t * | res | ||
) |
Definition at line 1217 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__get_error_count_tx | ( | zrtos_vfs_fd_t | fd, |
uint8_t * | res | ||
) |
Definition at line 1228 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__get_error_flags | ( | zrtos_vfs_fd_t | fd, |
uint8_t * | res | ||
) |
Definition at line 1111 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__get_interrupt_mask | ( | zrtos_vfs_fd_t | fd, |
uint8_t * | res | ||
) |
Definition at line 1155 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__get_interrupts | ( | zrtos_vfs_fd_t | fd, |
uint8_t * | res | ||
) |
Definition at line 1136 of file mcp2515.h.
uint8_t zrtos_vfs_module_mcp2515__get_status | ( | zrtos_vfs_fd_t | fd, |
uint8_t * | res | ||
) |
Definition at line 448 of file mcp2515.h.
zrtos_vfs_module_mcp2515_txbn_regs_t zrtos_vfs_module_mcp2515__get_txb | ( | zrtos_vfs_module_mcp2515__txbn_t | txbn | ) |
zrtos_error_t zrtos_vfs_module_mcp2515__modify_register | ( | zrtos_vfs_fd_t | fd, |
zrtos_vfs_module_mcp2515_register_t | reg, | ||
uint8_t | mask, | ||
uint8_t | data | ||
) |
Definition at line 425 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__read_message | ( | zrtos_vfs_fd_t | fd, |
struct can_frame * | frame | ||
) |
Definition at line 1054 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__read_message_ex | ( | zrtos_vfs_module_mcp2515_rxbn_t | rxbn, |
struct can_frame * | frame | ||
) |
Definition at line 977 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__read_register | ( | zrtos_vfs_fd_t | fd, |
zrtos_vfs_module_mcp2515_register_t | reg, | ||
uint8_t * | value | ||
) |
Definition at line 377 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__read_registers | ( | zrtos_vfs_module_mcp2515_register_t | reg, |
uint8_t * | values, | ||
size_t | values_length | ||
) |
Definition at line 355 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__reset | ( | zrtos_vfs_fd_t | fd | ) |
Definition at line 702 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__send_message | ( | zrtos_vfs_fd_t | fd, |
struct can_frame * | frame | ||
) |
Definition at line 957 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__send_message_ex | ( | zrtos_vfs_fd_t | fd, |
zrtos_vfs_module_mcp2515_txbn_regs_t | txbn_regs, | ||
struct can_frame * | frame | ||
) |
Definition at line 826 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__set_bitrate | ( | zrtos_vfs_fd_t | fd, |
zrtos_vfs_module_mcp2515_bitrate_t | bitrate | ||
) |
Definition at line 541 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__set_clk_out | ( | zrtos_vfs_fd_t | fd, |
zrtos_vfs_module_mcp2515_clkout_t | divisor | ||
) |
Definition at line 569 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__set_config_mode | ( | zrtos_vfs_fd_t | fd | ) |
Definition at line 506 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__set_filter | ( | zrtos_vfs_fd_t | fd, |
zrtos_vfs_module_mcp2515_register_rxf_t | reg, | ||
bool | ext, | ||
uint32_t | ulData | ||
) |
Definition at line 688 of file mcp2515.h.
|
static |
Definition at line 651 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__set_filter_mask | ( | zrtos_vfs_fd_t | fd, |
zrtos_vfs_module_mcp2515_mask_t | reg, | ||
bool | ext, | ||
uint32_t | ulData | ||
) |
Definition at line 674 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__set_listen_only_mode | ( | zrtos_vfs_fd_t | fd | ) |
Definition at line 513 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__set_loopback_mode | ( | zrtos_vfs_fd_t | fd | ) |
Definition at line 527 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__set_mode | ( | zrtos_vfs_fd_t | fd, |
zrtos_vfs_module_mcp2515_register_canctrl_reqop_t | mode | ||
) |
Definition at line 468 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__set_normal_mode | ( | zrtos_vfs_fd_t | fd | ) |
Definition at line 534 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__set_register | ( | zrtos_vfs_fd_t | fd, |
zrtos_vfs_module_mcp2515_register_t | reg, | ||
uint8_t | value | ||
) |
Definition at line 412 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__set_registers | ( | zrtos_vfs_module_mcp2515_register_t | reg, |
uint8_t * | values, | ||
size_t | values_length | ||
) |
Definition at line 390 of file mcp2515.h.
zrtos_error_t zrtos_vfs_module_mcp2515__set_sleep_mode | ( | zrtos_vfs_fd_t | fd | ) |
Definition at line 520 of file mcp2515.h.
uint8_t zrtos_vfs_module_mcp2515_bitrate__get_cfg1 | ( | zrtos_vfs_module_mcp2515_bitrate_t | thiz | ) |
uint8_t zrtos_vfs_module_mcp2515_bitrate__get_cfg2 | ( | zrtos_vfs_module_mcp2515_bitrate_t | thiz | ) |
uint8_t zrtos_vfs_module_mcp2515_bitrate__get_cfg3 | ( | zrtos_vfs_module_mcp2515_bitrate_t | thiz | ) |
void* zrtos_vfs_module_mcp2515_id__get_buffer | ( | zrtos_vfs_module_mcp2515_id_t * | thiz | ) |
size_t zrtos_vfs_module_mcp2515_id__get_length | ( | zrtos_vfs_module_mcp2515_id_t * | thiz | ) |
zrtos_error_t zrtos_vfs_module_mcp2515_id__init | ( | zrtos_vfs_module_mcp2515_id_t * | thiz, |
bool | ext, | ||
uint32_t | id | ||
) |
Definition at line 616 of file mcp2515.h.
typedef enum |