canfd6 2.0.0.0
|
This file contains API for CAN FD 6 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | canfd6_t |
CAN FD 6 Click context object. More... | |
struct | canfd6_cfg_t |
CAN FD 6 Click configuration object. More... | |
struct | canfd6_mcan_data_timing_simple_t |
CAN FD 6 Click data timing simple structure. More... | |
struct | canfd6_mcan_data_timing_raw_t |
CAN FD 6 Click data timing raw structure. More... | |
struct | canfd6_mcan_nominal_timing_simple_t |
CAN FD 6 Click nominal timing simple structure. More... | |
struct | canfd6_mcan_nominal_timing_raw_t |
CAN FD 6 Click nominal timing raw structure. More... | |
struct | canfd6_mram_config_t |
CAN FD 6 Click MRAM config. More... | |
struct | canfd6_mcan_cccr_config_t |
CAN FD 6 Click CCCR config. More... | |
struct | canfd6_mcan_interrupts_t |
CAN FD 6 Click MCAN interrupts. More... | |
struct | canfd6_mcan_interrupt_enable_t |
CAN FD 6 Click MCAN interrupt enable. More... | |
struct | canfd6_mcan_rx_header_t |
CAN FD 6 Click CAN message header. More... | |
struct | canfd6_mcan_tx_header_t |
CAN FD 6 Click CAN message header for transmitted messages. More... | |
struct | canfd6_mcan_sid_filter_t |
CAN FD 6 Click standard ID filter struct. More... | |
struct | canfd6_mcan_xid_filter_t |
CAN FD 6 Click extended ID filter struct. More... | |
struct | canfd6_mcan_global_filter_configuration_t |
CAN FD 6 Click Global Filter Configuration Register struct. More... | |
struct | canfd6_device_interrupts_t |
CAN FD 6 Click device interrupt bit field struct. More... | |
struct | canfd6_device_interrupt_enable_t |
CAN FD 6 Click device interrupt enable bit field struct. More... | |
struct | canfd6_dev_config_t |
CAN FD 6 Click device config struct. More... | |
Functions | |
void | canfd6_cfg_setup (canfd6_cfg_t *cfg) |
CAN FD 6 configuration object setup function. | |
err_t | canfd6_init (canfd6_t *ctx, canfd6_cfg_t *cfg) |
CAN FD 6 initialization function. | |
void | canfd6_default_cfg (canfd6_t *ctx) |
CAN FD 6 default configuration function. | |
void | canfd6_wkr_pin_state (canfd6_t *ctx, canfd6_pin_state_t state) |
CAN FD 6 wkr pin state function. | |
void | canfd6_rst_pin_state (canfd6_t *ctx, canfd6_pin_state_t state) |
CAN FD 6 rst pin state function. | |
void | canfd6_wkp_pin_state (canfd6_t *ctx, canfd6_pin_state_t state) |
CAN FD 6 wkp pin state function. | |
uint8_t | canfd6_get_int_pin (canfd6_t *ctx) |
CAN FD 6 get int pin function. | |
err_t | canfd6_enable_protected_registers (canfd6_t *ctx) |
CAN FD 6 enable protected registers function. | |
err_t | canfd6_disable_protected_registers (canfd6_t *ctx) |
CAN FD 6 disable protected registers function. | |
void | canfd6_configure_cccr_register (canfd6_t *ctx, canfd6_mcan_cccr_config_t *cccr_config) |
CAN FD 6 configure cccr register function. | |
void | canfd6_read_cccr_register (canfd6_t *ctx, canfd6_mcan_cccr_config_t *cccr_config) |
CAN FD 6 read cccr register function. | |
void | canfd6_mcan_read_datatimingfd_simple (canfd6_t *ctx, canfd6_mcan_data_timing_simple_t *data_timing) |
CAN FD 6 read data timing fd simple function. | |
void | canfd6_mcan_read_datatimingfd_raw (canfd6_t *ctx, canfd6_mcan_data_timing_raw_t *data_timing) |
CAN FD 6 read data timing fd raw function. | |
void | canfd6_mcan_configure_datatiming_simple (canfd6_t *ctx, canfd6_mcan_data_timing_simple_t *data_timing) |
CAN FD 6 configure data timing simple function. | |
void | canfd6_mcan_configure_datatiming_raw (canfd6_t *ctx, canfd6_mcan_data_timing_raw_t *data_timing) |
CAN FD 6 configure data timing raw function. | |
void | canfd6_mcan_read_nominaltiming_simple (canfd6_t *ctx, canfd6_mcan_nominal_timing_simple_t *nom_timing) |
CAN FD 6 read nominal timing simple function. | |
void | canfd6_mcan_read_nominaltiming_raw (canfd6_t *ctx, canfd6_mcan_nominal_timing_raw_t *nom_timing) |
CAN FD 6 read nominal timing raw function. | |
void | canfd6_mcan_configure_nominaltiming_simple (canfd6_t *ctx, canfd6_mcan_nominal_timing_simple_t *nom_timing) |
CAN FD 6 configure nominal timing simple function. | |
void | canfd6_mcan_configure_nominaltiming_raw (canfd6_t *ctx, canfd6_mcan_nominal_timing_raw_t *nom_timing) |
CAN FD 6 configure nominal timing raw function. | |
void | canfd6_mcan_configure_globalfilter (canfd6_t *ctx, canfd6_mcan_global_filter_configuration_t *gfc) |
CAN FD 6 configure global filter function. | |
err_t | canfd6_mram_configure (canfd6_t *ctx, canfd6_mram_config_t *mram_config) |
CAN FD 6 mram configure function. | |
void | canfd6_mram_clear (canfd6_t *ctx) |
CAN FD 6 mram clear function. | |
uint8_t | canfd6_mcan_read_nextfifo (canfd6_t *ctx, canfd6_mcan_fifo_enum_t fifo_def, canfd6_mcan_rx_header_t *header, uint8_t data_payload[]) |
CAN FD 6 read next fifo function. | |
uint8_t | canfd6_mcan_read_rxbuffer (canfd6_t *ctx, uint8_t buf_index, canfd6_mcan_rx_header_t *header, uint8_t data_payload[]) |
CAN FD 6 read rx buffer function. | |
uint32_t | canfd6_mcan_write_txbuffer (canfd6_t *ctx, uint8_t buf_index, canfd6_mcan_tx_header_t *header, uint8_t data_payload[]) |
CAN FD 6 write tx buffer function. | |
err_t | canfd6_mcan_transmit_buffer_contents (canfd6_t *ctx, uint8_t buf_index) |
CAN FD 6 transmit buffer contents function. | |
err_t | canfd6_mcan_write_sid_filter (canfd6_t *ctx, uint8_t filter_index, canfd6_mcan_sid_filter_t *filter) |
CAN FD 6 write sid filter function. | |
err_t | canfd6_mcan_read_sid_filter (canfd6_t *ctx, uint8_t filter_index, canfd6_mcan_sid_filter_t *filter) |
CAN FD 6 read sid filter function. | |
err_t | canfd6_mcan_write_xid_filter (canfd6_t *ctx, uint8_t filter_index, canfd6_mcan_xid_filter_t *filter) |
CAN FD 6 write xid filter function. | |
err_t | canfd6_mcan_read_xid_filter (canfd6_t *ctx, uint8_t filter_index, canfd6_mcan_xid_filter_t *filter) |
CAN FD 6 read xid filter function. | |
void | canfd6_mcan_read_interrupts (canfd6_t *ctx, canfd6_mcan_interrupts_t *ir) |
CAN FD 6 read interrupts function. | |
void | canfd6_mcan_clear_interrupts (canfd6_t *ctx, canfd6_mcan_interrupts_t *ir) |
CAN FD 6 clear interrupts function. | |
void | canfd6_mcan_clear_interrupts_all (canfd6_t *ctx) |
CAN FD 6 clear interrupts all function. | |
void | canfd6_mcan_read_interrupt_enable (canfd6_t *ctx, canfd6_mcan_interrupt_enable_t *ie) |
CAN FD 6 read interrupt enable function. | |
void | canfd6_mcan_configure_interrupt_enable (canfd6_t *ctx, canfd6_mcan_interrupt_enable_t *ie) |
CAN FD 6 configure interrupt enable function. | |
uint8_t | canfd6_mcan_dlc_to_bytes (uint8_t input_dlc) |
CAN FD 6 dlc to bytes function. | |
uint8_t | canfd6_mcan_txrxesc_data_byte_value (uint8_t input_esc_value) |
CAN FD 6 txrxesc data byte value function. | |
uint16_t | canfd6_device_read_version (canfd6_t *ctx) |
CAN FD 6 device read version function. | |
void | canfd6_device_configure (canfd6_t *ctx, canfd6_dev_config_t *dev_cfg) |
CAN FD 6 device configure function. | |
void | canfd6_device_read_config (canfd6_t *ctx, canfd6_dev_config_t *dev_cfg) |
CAN FD 6 device read config function. | |
void | canfd6_device_read_interrupts (canfd6_t *ctx, canfd6_device_interrupts_t *ir) |
CAN FD 6 device read interrupts function. | |
void | canfd6_device_clear_interrupts (canfd6_t *ctx, canfd6_device_interrupts_t *ir) |
CAN FD 6 device clear interrupts function. | |
void | canfd6_device_clear_interrupts_all (canfd6_t *ctx) |
CAN FD 6 device clear interrupts all function. | |
void | canfd6_device_clear_spierr (canfd6_t *ctx) |
CAN FD 6 device clear spierr function. | |
void | canfd6_device_read_interrupt_enable (canfd6_t *ctx, canfd6_device_interrupt_enable_t *ie) |
CAN FD 6 device read interrupt enable function. | |
void | canfd6_device_configure_ie (canfd6_t *ctx, canfd6_device_interrupt_enable_t *ie) |
CAN FD 6 device configure ie function. | |
err_t | canfd6_device_set_mode (canfd6_t *ctx, canfd6_device_mode_enum_t mode_define) |
CAN FD 6 device set mode function. | |
canfd6_device_mode_enum_t | canfd6_device_read_mode (canfd6_t *ctx) |
CAN FD 6 device read mode function. | |
err_t | canfd6_device_enable_testmode (canfd6_t *ctx, canfd6_device_test_mode_enum_t mode_define) |
CAN FD 6 device enable testmode function. | |
void | canfd6_device_disable_testmode (canfd6_t *ctx) |
CAN FD 6 device disable testmode function. | |
canfd6_device_test_mode_enum_t | canfd6_device_read_testmode (canfd6_t *ctx) |
CAN FD 6 device read testmode function. | |
err_t | canfd6_wdt_configure (canfd6_t *ctx, canfd6_wdt_timer_enum_t wdt_timeout) |
CAN FD 6 wdt configure function. | |
canfd6_wdt_timer_enum_t | canfd6_wdt_read (canfd6_t *ctx) |
CAN FD 6 wdt read function. | |
void | canfd6_wdt_enable (canfd6_t *ctx) |
CAN FD 6 wdt enable function. | |
void | canfd6_wdt_disable (canfd6_t *ctx) |
CAN FD 6 wdt disable function. | |
void | canfd6_wdt_reset (canfd6_t *ctx) |
CAN FD 6 wdt reset function. | |
This file contains API for CAN FD 6 Click Driver.
CAN FD 6 GPIO1 config enum.
Predefined GPIO1 config enum values.
CAN FD 6 GPO1 config enum.
Predefined GPO1 config enum values.
CAN FD 6 GPO2 config enum.
Predefined GPO2 config enum values.
CAN FD 6 wake config enum.
Predefined wake config enum values.
CAN FD 6 WDT action enum.
Predefined watchdog action enum values.
enum canfd6_pin_state_t |
CAN FD 6 SID SFEC enum.
Predefined SID SFEC enum values.
CAN FD 6 SID SFT enum.
Predefined SID SFT enum values.
CAN FD 6 XID EFEC enum.
Predefined XID EFEC enum values.
CAN FD 6 XID EFT enum.
Predefined XID EFT enum values.