|
mikroSDK Reference Manual
|
Go to the documentation of this file.
275 uint16_t can_filter_id_low;
276 uint16_t can_filter_id_high;
278 uint32_t can_filter_id;
282 uint16_t can_filter_mask_id_low;
283 uint16_t can_filter_mask_id_high;
285 uint32_t can_filter_mask_id;
287 uint8_t can_filter_bank;
368 uint8_t message_data[8];
401 uint8_t rx_fifo_number;
843 #endif // _DRV_CAN_H_
Definition: drv_can.h:147
err_t can_get_frequency(can_t *obj)
Get CAN module frequency.
Definition: drv_can.h:159
Definition: drv_can.h:144
Definition: drv_can.h:110
err_t can_set_mode(can_t *obj, can_mode_t mode)
Set CAN module mode.
Pin and port name type definitions.
Definition: drv_can.h:163
Definition: drv_can.h:162
Definition: drv_can.h:119
Definition: drv_can.h:167
CAN driver context structure.
Definition: drv_can.h:337
can_mode_t
Definition: drv_can.h:65
Definition: drv_can.h:141
can_frame_format_t
Definition: drv_can.h:99
Definition: drv_can.h:176
void can_filter_configure_default(can_filter_config_t *filter_config)
Configure CAN Driver filter configuration structure.
Definition: drv_can.h:158
void can_configure_default(can_config_t *config)
Configure CAN Driver configuration structure.
Definition: drv_can.h:161
Definition: drv_can.h:146
err_t can_set_frequency(can_t *obj, uint32_t frequency)
Set CAN module frequency.
Definition: drv_can.h:157
Definition: drv_can.h:155
CAN driver message structure.
Definition: drv_can.h:355
can_filter_mode_t
Definition: drv_can.h:117
Definition: drv_can.h:140
Definition: drv_can.h:102
Definition: drv_can.h:168
Definition: drv_can.h:128
err_t can_open(can_t *obj, can_config_t *config)
Open the CAN driver object.
Definition: drv_can.h:120
can_filter_activation_t
Definition: drv_can.h:174
CAN init configuration structure.
Definition: drv_can.h:319
can_state_t
Definition: drv_can.h:88
Definition: drv_can.h:139
Definition: drv_can.h:148
can_frame_type_t
Definition: drv_can.h:108
err_t can_get_mode(can_t *obj)
Get CAN module mode.
err_t can_set_filter(can_t *obj, can_filter_config_t *filter_config)
Initialize CAN module filter.
Definition: drv_can.h:164
Definition: drv_can.h:160
Definition: drv_can.h:177
can_filter_scale_t
Definition: drv_can.h:126
CAN driver transmit message structure.
Definition: drv_can.h:381
Definition: drv_can.h:153
Definition: drv_can.h:154
Definition: drv_can.h:152
Definition: drv_can.h:156
Definition: drv_can.h:143
CAN driver receive message structure.
Definition: drv_can.h:397
Definition: drv_can.h:165
Definition: drv_can.h:142
Definition: drv_can.h:149
void can_transmission_stop(can_t *obj)
Stop transmit operation.
Definition: drv_can.h:151
can_err_t
Definition: drv_can.h:56
err_t can_receive(can_t *obj, can_receive_message_struct *receive_message)
Get data from the RX FIFO.
Definition: drv_can.h:138
Definition: drv_can.h:101
hal_pin_name_t pin_name_t
Definition: drv_name.h:73
Definition: drv_can.h:166
Definition: drv_can.h:129
int32_t err_t
Definition: hal_target.h:63
CAN filter init configuration structure.
Definition: drv_can.h:270
err_t can_init(can_t *obj)
Initialize CAN module.
can_filter_fifo_t
Definition: drv_can.h:135
Definition: drv_can.h:111
err_t can_transmit(can_t *obj, can_transmit_message_struct *transmit_message)
Transmit data to the first free TX mailbox.
err_t can_close(can_t *obj)
Close CAN driver object.
Definition: drv_can.h:137
Definition: drv_can.h:145
Definition: drv_can.h:150