Chip Support Functions

Table of Contents
sja1000p_enable_configuration — enable chip configuration mode
sja1000p_disable_configuration — disable chip configuration mode
sja1000p_chip_config — can chip configuration
sja1000p_extended_mask — setup of extended mask for message filtering
sja1000p_baud_rate — set communication parameters.
sja1000p_read — reads and distributes one or more received messages
sja1000p_pre_read_config — prepares message object for message reception
sja1000p_pre_write_config — prepares message object for message transmission
sja1000p_send_msg — initiate message transmission
sja1000p_check_tx_stat — checks state of transmission engine
sja1000p_set_btregs — configures bitrate registers
sja1000p_start_chip — starts chip message processing
sja1000p_stop_chip — stops chip message processing
sja1000p_remote_request — configures message object and asks for RTR message
sja1000p_standard_mask — setup of mask for message filtering
sja1000p_clear_objects — clears state of all message object residing in chip
sja1000p_config_irqs — tunes chip hardware interrupt delivery
sja1000p_irq_write_handler — part of ISR code responsible for transmit events
sja1000p_irq_handler — interrupt service routine
sja1000p_wakeup_tx — wakeups TX processing

The controller chip specific functions are described in the next section. The functions should be prefixed by chip type. Because documentation of chip functions has been retrieved from the actual SJA1000 PeliCAN support, the function prefix is sja1000p.