Altera SoCAL  16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
 All Data Structures Variables Typedefs Groups
Register Group : Protocol Group - ALT_CAN_PROTO

Description

Protocol Group

These registers are related to the CAN protocol controller in the CAN Core. They control the operating modes and the configuration of the CAN bit timing and provide status information.

Members

 Register : Control Register - CCTRL
 
 Register : Status Register - CSTS
 
 Register : Error Counter Register - CERC
 
 Register : Bit Timing / BRP Extension Register - CBT
 
 Register : Interrupt Register - CIR
 
 Register : Test Register - CTR
 
 Register : Function Register - CFR
 
 Register : Core Release Register - CRR
 
 Register : Hardware Configuration Status Register - HWS
 

Data Structures

struct  ALT_CAN_PROTO_s
 
struct  ALT_CAN_PROTO_raw_s
 

Typedefs

typedef struct ALT_CAN_PROTO_s ALT_CAN_PROTO_t
 
typedef struct ALT_CAN_PROTO_raw_s ALT_CAN_PROTO_raw_t
 

Data Structure Documentation

struct ALT_CAN_PROTO_s

WARNING: The C register and register group struct declarations are provided for convenience and illustrative purposes. They should, however, be used with caution as the C language standard provides no guarantees about the alignment or atomicity of device memory accesses. The recommended practice for writing hardware drivers is to use the SoCAL access macros and alt_read_word() and alt_write_word() functions.

The struct declaration for register group ALT_CAN_PROTO.

Data Fields
volatile ALT_CAN_PROTO_CCTL_t CCTRL ALT_CAN_PROTO_CCTL
volatile ALT_CAN_PROTO_CSTS_t CSTS ALT_CAN_PROTO_CSTS
volatile ALT_CAN_PROTO_CERC_t CERC ALT_CAN_PROTO_CERC
volatile ALT_CAN_PROTO_CBT_t CBT ALT_CAN_PROTO_CBT
volatile ALT_CAN_PROTO_CIR_t CIR ALT_CAN_PROTO_CIR
volatile ALT_CAN_PROTO_CTR_t CTR ALT_CAN_PROTO_CTR
volatile ALT_CAN_PROTO_CFR_t CFR ALT_CAN_PROTO_CFR
volatile uint32_t _pad_0x1c_0x1f UNDEFINED
volatile ALT_CAN_PROTO_CRR_t CRR ALT_CAN_PROTO_CRR
volatile ALT_CAN_PROTO_HWS_t HWS ALT_CAN_PROTO_HWS
struct ALT_CAN_PROTO_raw_s

The struct declaration for the raw register contents of register group ALT_CAN_PROTO.

Data Fields
volatile uint32_t CCTRL ALT_CAN_PROTO_CCTL
volatile uint32_t CSTS ALT_CAN_PROTO_CSTS
volatile uint32_t CERC ALT_CAN_PROTO_CERC
volatile uint32_t CBT ALT_CAN_PROTO_CBT
volatile uint32_t CIR ALT_CAN_PROTO_CIR
volatile uint32_t CTR ALT_CAN_PROTO_CTR
volatile uint32_t CFR ALT_CAN_PROTO_CFR
volatile uint32_t _pad_0x1c_0x1f UNDEFINED
volatile uint32_t CRR ALT_CAN_PROTO_CRR
volatile uint32_t HWS ALT_CAN_PROTO_HWS

Typedef Documentation

The typedef declaration for register group ALT_CAN_PROTO.

The typedef declaration for the raw register contents of register group ALT_CAN_PROTO.