|
SAM4SD32 (SAM4S-EK2)
|
Copyright (c) 2012-2018 Microchip Technology Inc. More...
#include <stdint.h>#include <core_cm4.h>#include "system_sam4s.h"#include "component/component_acc.h"#include "component/component_adc.h"#include "component/component_chipid.h"#include "component/component_cmcc.h"#include "component/component_crccu.h"#include "component/component_dacc.h"#include "component/component_efc.h"#include "component/component_gpbr.h"#include "component/component_hsmci.h"#include "component/component_matrix.h"#include "component/component_pdc.h"#include "component/component_pio.h"#include "component/component_pmc.h"#include "component/component_pwm.h"#include "component/component_rstc.h"#include "component/component_rtc.h"#include "component/component_rtt.h"#include "component/component_smc.h"#include "component/component_spi.h"#include "component/component_ssc.h"#include "component/component_supc.h"#include "component/component_tc.h"#include "component/component_twi.h"#include "component/component_uart.h"#include "component/component_udp.h"#include "component/component_usart.h"#include "component/component_wdt.h"#include "instance/instance_hsmci.h"#include "instance/instance_ssc.h"#include "instance/instance_spi.h"#include "instance/instance_tc0.h"#include "instance/instance_tc1.h"#include "instance/instance_twi0.h"#include "instance/instance_twi1.h"#include "instance/instance_pwm.h"#include "instance/instance_usart0.h"#include "instance/instance_usart1.h"#include "instance/instance_udp.h"#include "instance/instance_adc.h"#include "instance/instance_dacc.h"#include "instance/instance_acc.h"#include "instance/instance_crccu.h"#include "instance/instance_cmcc.h"#include "instance/instance_smc.h"#include "instance/instance_matrix.h"#include "instance/instance_pmc.h"#include "instance/instance_uart0.h"#include "instance/instance_chipid.h"#include "instance/instance_uart1.h"#include "instance/instance_efc0.h"#include "instance/instance_efc1.h"#include "instance/instance_pioa.h"#include "instance/instance_piob.h"#include "instance/instance_pioc.h"#include "instance/instance_rstc.h"#include "instance/instance_supc.h"#include "instance/instance_rtt.h"#include "instance/instance_wdt.h"#include "instance/instance_rtc.h"#include "instance/instance_gpbr.h"#include "pio/pio_sam4sd32c.h"Go to the source code of this file.
Data Structures | |
| struct | _DeviceVectors |
Macros | |
| #define | __CM4_REV 0x0001 |
| Configuration of the Cortex-M4 Processor and Core Peripherals. | |
| #define | __FPU_PRESENT 0 |
| SAM4SD32C does not provide a FPU. | |
| #define | __MPU_PRESENT 1 |
| SAM4SD32C does provide a MPU. | |
| #define | __NVIC_PRIO_BITS 4 |
| SAM4SD32C uses 4 Bits for the Priority Levels. | |
| #define | __Vendor_SysTickConfig 0 |
| Set to 1 if different SysTick Config is used. | |
| #define | ACC ((Acc *)0x40040000U) |
| (ACC ) Base Address | |
| #define | ACC_ACR_HYST_50MV_MAX (0x01UL) |
| #define | ACC_ACR_HYST_90MV_MAX (0x11UL) |
| #define | ADC ((Adc *)0x40038000U) |
| (ADC ) Base Address | |
| #define | CHIP_CIDR (0x29A70EE0UL) |
| #define | CHIP_FLASH_WRITE_WAIT_STATE (6U) |
| #define | CHIP_FREQ_CPU_MAX (120000000UL) |
| #define | CHIP_FREQ_FWS_0 (20000000UL) |
| Maximum operating frequency when FWS is 0. | |
| #define | CHIP_FREQ_FWS_1 (40000000UL) |
| Maximum operating frequency when FWS is 1. | |
| #define | CHIP_FREQ_FWS_2 (60000000UL) |
| Maximum operating frequency when FWS is 2. | |
| #define | CHIP_FREQ_FWS_3 (80000000UL) |
| Maximum operating frequency when FWS is 3. | |
| #define | CHIP_FREQ_FWS_4 (100000000UL) |
| Maximum operating frequency when FWS is 4. | |
| #define | CHIP_FREQ_FWS_5 (123000000UL) |
| Maximum operating frequency when FWS is 5. | |
| #define | CHIP_FREQ_MAINCK_RC_12MHZ (12000000UL) |
| #define | CHIP_FREQ_MAINCK_RC_4MHZ (4000000UL) |
| #define | CHIP_FREQ_MAINCK_RC_8MHZ (8000000UL) |
| #define | CHIP_FREQ_SLCK_RC (32000UL) |
| #define | CHIP_FREQ_SLCK_RC_MAX (44000UL) |
| #define | CHIP_FREQ_SLCK_RC_MIN (20000UL) |
| #define | CHIP_FREQ_XTAL_32K (32768UL) |
| #define | CHIP_JTAGID (0x05B3203FUL) |
| #define | CHIPID ((Chipid *)0x400E0740U) |
| (CHIPID ) Base Address | |
| #define | CMCC ((Cmcc *)0x4007C000U) |
| (CMCC ) Base Address | |
| #define | CRCCU ((Crccu *)0x40044000U) |
| (CRCCU ) Base Address | |
| #define | DACC ((Dacc *)0x4003C000U) |
| (DACC ) Base Address | |
| #define | EBI_CS0_ADDR (0x60000000u) |
| EBI Chip Select 0 base address. | |
| #define | EBI_CS1_ADDR (0x61000000u) |
| EBI Chip Select 1 base address. | |
| #define | EBI_CS2_ADDR (0x62000000u) |
| EBI Chip Select 2 base address. | |
| #define | EBI_CS3_ADDR (0x63000000u) |
| EBI Chip Select 3 base address. | |
| #define | EFC0 ((Efc *)0x400E0A00U) |
| (EFC0 ) Base Address | |
| #define | EFC1 ((Efc *)0x400E0C00U) |
| (EFC1 ) Base Address | |
| #define | GPBR ((Gpbr *)0x400E1490U) |
| (GPBR ) Base Address | |
| #define | HSMCI ((Hsmci *)0x40000000U) |
| (HSMCI ) Base Address | |
| #define | ID_ACC (33) |
| Analog Comparator (ACC). | |
| #define | ID_ADC (29) |
| Analog To Digital Converter (ADC). | |
| #define | ID_CRCCU (32) |
| CRC Calculation Unit (CRCCU). | |
| #define | ID_DACC (30) |
| Digital To Analog Converter (DACC). | |
| #define | ID_EFC0 ( 6) |
| Enhanced Embedded Flash Controller 0 (EFC0). | |
| #define | ID_EFC1 ( 7) |
| Enhanced Embedded Flash Controller 1 (EFC1). | |
| #define | ID_HSMCI (18) |
| Multimedia Card Interface (HSMCI). | |
| #define | ID_PERIPH_COUNT (35) |
| Number of peripheral IDs. | |
| #define | ID_PIOA (11) |
| Parallel I/O Controller A (PIOA). | |
| #define | ID_PIOB (12) |
| Parallel I/O Controller B (PIOB). | |
| #define | ID_PIOC (13) |
| Parallel I/O Controller C (PIOC). | |
| #define | ID_PMC ( 5) |
| Power Management Controller (PMC). | |
| #define | ID_PWM (31) |
| Pulse Width Modulation (PWM). | |
| #define | ID_RSTC ( 1) |
| Reset Controller (RSTC). | |
| #define | ID_RTC ( 2) |
| Real Time Clock (RTC). | |
| #define | ID_RTT ( 3) |
| Real Time Timer (RTT). | |
| #define | ID_SMC (10) |
| Static Memory Controller (SMC). | |
| #define | ID_SPI (21) |
| Serial Peripheral Interface (SPI). | |
| #define | ID_SSC (22) |
| Synchronous Serial Controller (SSC). | |
| #define | ID_SUPC ( 0) |
| Supply Controller (SUPC). | |
| #define | ID_TC0 (23) |
| Timer/Counter 0 (TC0). | |
| #define | ID_TC1 (24) |
| Timer/Counter 1 (TC1). | |
| #define | ID_TC2 (25) |
| Timer/Counter 2 (TC2). | |
| #define | ID_TC3 (26) |
| Timer/Counter 3 (TC3). | |
| #define | ID_TC4 (27) |
| Timer/Counter 4 (TC4). | |
| #define | ID_TC5 (28) |
| Timer/Counter 5 (TC5). | |
| #define | ID_TWI0 (19) |
| Two Wire Interface 0 (TWI0). | |
| #define | ID_TWI1 (20) |
| Two Wire Interface 1 (TWI1). | |
| #define | ID_UART0 ( 8) |
| UART 0 (UART0). | |
| #define | ID_UART1 ( 9) |
| UART 1 (UART1). | |
| #define | ID_UDP (34) |
| USB Device Port (UDP). | |
| #define | ID_USART0 (14) |
| USART 0 (USART0). | |
| #define | ID_USART1 (15) |
| USART 1 (USART1). | |
| #define | ID_WDT ( 4) |
| Watchdog Timer (WDT). | |
| #define | IFLASH0_ADDR (0x00400000u) |
| Internal Flash 0 base address. | |
| #define | IFLASH0_LOCK_REGION_SIZE (8192u) |
| #define | IFLASH0_NB_OF_LOCK_BITS (128u) |
| #define | IFLASH0_NB_OF_PAGES (2048u) |
| #define | IFLASH0_PAGE_SIZE (512u) |
| #define | IFLASH0_SIZE (0x100000u) |
| #define | IFLASH1_ADDR (IFLASH0_ADDR+IFLASH0_SIZE) |
| Internal Flash 1 base address. | |
| #define | IFLASH1_LOCK_REGION_SIZE (8192u) |
| #define | IFLASH1_NB_OF_LOCK_BITS (128u) |
| #define | IFLASH1_NB_OF_PAGES (2048u) |
| #define | IFLASH1_PAGE_SIZE (512u) |
| #define | IFLASH1_SIZE (0x100000u) |
| #define | IFLASH_SIZE (IFLASH0_SIZE+IFLASH1_SIZE) |
| #define | IRAM_ADDR (0x20000000u) |
| Internal RAM base address. | |
| #define | IRAM_SIZE (0x28000u) |
| #define | IROM_ADDR (0x00800000u) |
| Internal ROM base address. | |
| #define | MATRIX ((Matrix *)0x400E0200U) |
| (MATRIX ) Base Address | |
| #define | NB_CH_ADC (15UL) |
| #define | NB_CH_DAC (2UL) |
| #define | PDC_ADC ((Pdc *)0x40038100U) |
| (PDC_ADC ) Base Address | |
| #define | PDC_DACC ((Pdc *)0x4003C100U) |
| (PDC_DACC ) Base Address | |
| #define | PDC_HSMCI ((Pdc *)0x40000100U) |
| (PDC_HSMCI ) Base Address | |
| #define | PDC_PIOA ((Pdc *)0x400E0F68U) |
| (PDC_PIOA ) Base Address | |
| #define | PDC_PWM ((Pdc *)0x40020100U) |
| (PDC_PWM ) Base Address | |
| #define | PDC_SPI ((Pdc *)0x40008100U) |
| (PDC_SPI ) Base Address | |
| #define | PDC_SSC ((Pdc *)0x40004100U) |
| (PDC_SSC ) Base Address | |
| #define | PDC_TWI0 ((Pdc *)0x40018100U) |
| (PDC_TWI0 ) Base Address | |
| #define | PDC_TWI1 ((Pdc *)0x4001C100U) |
| (PDC_TWI1 ) Base Address | |
| #define | PDC_UART0 ((Pdc *)0x400E0700U) |
| (PDC_UART0 ) Base Address | |
| #define | PDC_UART1 ((Pdc *)0x400E0900U) |
| (PDC_UART1 ) Base Address | |
| #define | PDC_USART0 ((Pdc *)0x40024100U) |
| (PDC_USART0) Base Address | |
| #define | PDC_USART1 ((Pdc *)0x40028100U) |
| (PDC_USART1) Base Address | |
| #define | PIOA ((Pio *)0x400E0E00U) |
| (PIOA ) Base Address | |
| #define | PIOB ((Pio *)0x400E1000U) |
| (PIOB ) Base Address | |
| #define | PIOC ((Pio *)0x400E1200U) |
| (PIOC ) Base Address | |
| #define | PMC ((Pmc *)0x400E0400U) |
| (PMC ) Base Address | |
| #define | PWM ((Pwm *)0x40020000U) |
| (PWM ) Base Address | |
| #define | RSTC ((Rstc *)0x400E1400U) |
| (RSTC ) Base Address | |
| #define | RTC ((Rtc *)0x400E1460U) |
| (RTC ) Base Address | |
| #define | RTT ((Rtt *)0x400E1430U) |
| (RTT ) Base Address | |
| #define | SMC ((Smc *)0x400E0000U) |
| (SMC ) Base Address | |
| #define | SPI ((Spi *)0x40008000U) |
| (SPI ) Base Address | |
| #define | SSC ((Ssc *)0x40004000U) |
| (SSC ) Base Address | |
| #define | SUPC ((Supc *)0x400E1410U) |
| (SUPC ) Base Address | |
| #define | TC0 ((Tc *)0x40010000U) |
| (TC0 ) Base Address | |
| #define | TC1 ((Tc *)0x40014000U) |
| (TC1 ) Base Address | |
| #define | TWI0 ((Twi *)0x40018000U) |
| (TWI0 ) Base Address | |
| #define | TWI1 ((Twi *)0x4001C000U) |
| (TWI1 ) Base Address | |
| #define | UART0 ((Uart *)0x400E0600U) |
| (UART0 ) Base Address | |
| #define | UART1 ((Uart *)0x400E0800U) |
| (UART1 ) Base Address | |
| #define | UDP ((Udp *)0x40034000U) |
| (UDP ) Base Address | |
| #define | USART0 ((Usart *)0x40024000U) |
| (USART0 ) Base Address | |
| #define | USART1 ((Usart *)0x40028000U) |
| (USART1 ) Base Address | |
| #define | USB_DEVICE_MAX_EP (8UL) |
| #define | WDT ((Wdt *)0x400E1450U) |
| (WDT ) Base Address | |
Typedefs | |
| typedef struct _DeviceVectors | DeviceVectors |
| typedef enum IRQn | IRQn_Type |
| < Interrupt Number Definition | |
Enumerations | |
| enum | IRQn { NonMaskableInt_IRQn = -14 , MemoryManagement_IRQn = -12 , BusFault_IRQn = -11 , UsageFault_IRQn = -10 , SVCall_IRQn = -5 , DebugMonitor_IRQn = -4 , PendSV_IRQn = -2 , SysTick_IRQn = -1 , SUPC_IRQn = 0 , RSTC_IRQn = 1 , RTC_IRQn = 2 , RTT_IRQn = 3 , WDT_IRQn = 4 , PMC_IRQn = 5 , EFC0_IRQn = 6 , EFC1_IRQn = 7 , UART0_IRQn = 8 , UART1_IRQn = 9 , PIOA_IRQn = 11 , PIOB_IRQn = 12 , PIOC_IRQn = 13 , USART0_IRQn = 14 , USART1_IRQn = 15 , HSMCI_IRQn = 18 , TWI0_IRQn = 19 , TWI1_IRQn = 20 , SPI_IRQn = 21 , SSC_IRQn = 22 , TC0_IRQn = 23 , TC1_IRQn = 24 , TC2_IRQn = 25 , TC3_IRQn = 26 , TC4_IRQn = 27 , TC5_IRQn = 28 , ADC_IRQn = 29 , DACC_IRQn = 30 , PWM_IRQn = 31 , CRCCU_IRQn = 32 , ACC_IRQn = 33 , UDP_IRQn = 34 , PERIPH_COUNT_IRQn = 35 } |
| < Interrupt Number Definition More... | |
Functions | |
| void | ACC_Handler (void) |
| void | ADC_Handler (void) |
| void | BusFault_Handler (void) |
| void | CRCCU_Handler (void) |
| void | DACC_Handler (void) |
| void | DebugMon_Handler (void) |
| void | EFC0_Handler (void) |
| void | EFC1_Handler (void) |
| void | HardFault_Handler (void) |
| void | HSMCI_Handler (void) |
| void | MemManage_Handler (void) |
| void | NMI_Handler (void) |
| void | PendSV_Handler (void) |
| void | PIOA_Handler (void) |
| void | PIOB_Handler (void) |
| void | PIOC_Handler (void) |
| void | PMC_Handler (void) |
| void | PWM_Handler (void) |
| void | Reset_Handler (void) |
| void | RSTC_Handler (void) |
| void | RTC_Handler (void) |
| void | RTT_Handler (void) |
| void | SPI_Handler (void) |
| void | SSC_Handler (void) |
| void | SUPC_Handler (void) |
| void | SVC_Handler (void) |
| void | SysTick_Handler (void) |
| void | TC0_Handler (void) |
| void | TC1_Handler (void) |
| void | TC2_Handler (void) |
| void | TC3_Handler (void) |
| void | TC4_Handler (void) |
| void | TC5_Handler (void) |
| void | TWI0_Handler (void) |
| void | TWI1_Handler (void) |
| void | UART0_Handler (void) |
| void | UART1_Handler (void) |
| void | UDP_Handler (void) |
| void | UsageFault_Handler (void) |
| void | USART0_Handler (void) |
| void | USART1_Handler (void) |
| void | WDT_Handler (void) |
Copyright (c) 2012-2018 Microchip Technology Inc.
and its subsidiaries.
\cond ASF_LICENSE
Definition in file sam4sd32c.h.
| #define __CM4_REV 0x0001 |
Configuration of the Cortex-M4 Processor and Core Peripherals.
SAM4SD32C core revision number ([15:8] revision number, [7:0] patch number)
Definition at line 221 of file sam4sd32c.h.
| #define __FPU_PRESENT 0 |
SAM4SD32C does not provide a FPU.
Definition at line 223 of file sam4sd32c.h.
| #define __MPU_PRESENT 1 |
SAM4SD32C does provide a MPU.
Definition at line 222 of file sam4sd32c.h.
| #define __NVIC_PRIO_BITS 4 |
SAM4SD32C uses 4 Bits for the Priority Levels.
Definition at line 224 of file sam4sd32c.h.
| #define __Vendor_SysTickConfig 0 |
Set to 1 if different SysTick Config is used.
Definition at line 225 of file sam4sd32c.h.
| #define ACC ((Acc *)0x40040000U) |
(ACC ) Base Address
Definition at line 434 of file sam4sd32c.h.
| #define ACC_ACR_HYST_50MV_MAX (0x01UL) |
Definition at line 533 of file sam4sd32c.h.
| #define ACC_ACR_HYST_90MV_MAX (0x11UL) |
Definition at line 534 of file sam4sd32c.h.
| #define ADC ((Adc *)0x40038000U) |
(ADC ) Base Address
Definition at line 430 of file sam4sd32c.h.
| #define CHIP_CIDR (0x29A70EE0UL) |
Definition at line 502 of file sam4sd32c.h.
| #define CHIP_FLASH_WRITE_WAIT_STATE (6U) |
Definition at line 522 of file sam4sd32c.h.
| #define CHIP_FREQ_CPU_MAX (120000000UL) |
Definition at line 518 of file sam4sd32c.h.
| #define CHIP_FREQ_FWS_0 (20000000UL) |
Maximum operating frequency when FWS is 0.
Definition at line 525 of file sam4sd32c.h.
| #define CHIP_FREQ_FWS_1 (40000000UL) |
Maximum operating frequency when FWS is 1.
Definition at line 526 of file sam4sd32c.h.
| #define CHIP_FREQ_FWS_2 (60000000UL) |
Maximum operating frequency when FWS is 2.
Definition at line 527 of file sam4sd32c.h.
| #define CHIP_FREQ_FWS_3 (80000000UL) |
Maximum operating frequency when FWS is 3.
Definition at line 528 of file sam4sd32c.h.
| #define CHIP_FREQ_FWS_4 (100000000UL) |
Maximum operating frequency when FWS is 4.
Definition at line 529 of file sam4sd32c.h.
| #define CHIP_FREQ_FWS_5 (123000000UL) |
Maximum operating frequency when FWS is 5.
Definition at line 530 of file sam4sd32c.h.
| #define CHIP_FREQ_MAINCK_RC_12MHZ (12000000UL) |
Definition at line 517 of file sam4sd32c.h.
| #define CHIP_FREQ_MAINCK_RC_4MHZ (4000000UL) |
Definition at line 515 of file sam4sd32c.h.
| #define CHIP_FREQ_MAINCK_RC_8MHZ (8000000UL) |
Definition at line 516 of file sam4sd32c.h.
| #define CHIP_FREQ_SLCK_RC (32000UL) |
Definition at line 513 of file sam4sd32c.h.
| #define CHIP_FREQ_SLCK_RC_MAX (44000UL) |
Definition at line 514 of file sam4sd32c.h.
| #define CHIP_FREQ_SLCK_RC_MIN (20000UL) |
Definition at line 512 of file sam4sd32c.h.
| #define CHIP_FREQ_XTAL_32K (32768UL) |
Definition at line 519 of file sam4sd32c.h.
| #define CHIP_JTAGID (0x05B3203FUL) |
Definition at line 501 of file sam4sd32c.h.
| #define CHIPID ((Chipid *)0x400E0740U) |
(CHIPID ) Base Address
Definition at line 442 of file sam4sd32c.h.
| #define CMCC ((Cmcc *)0x4007C000U) |
(CMCC ) Base Address
Definition at line 436 of file sam4sd32c.h.
| #define CRCCU ((Crccu *)0x40044000U) |
(CRCCU ) Base Address
Definition at line 435 of file sam4sd32c.h.
| #define DACC ((Dacc *)0x4003C000U) |
(DACC ) Base Address
Definition at line 432 of file sam4sd32c.h.
| #define EBI_CS0_ADDR (0x60000000u) |
EBI Chip Select 0 base address.
Definition at line 492 of file sam4sd32c.h.
| #define EBI_CS1_ADDR (0x61000000u) |
EBI Chip Select 1 base address.
Definition at line 493 of file sam4sd32c.h.
| #define EBI_CS2_ADDR (0x62000000u) |
EBI Chip Select 2 base address.
Definition at line 494 of file sam4sd32c.h.
| #define EBI_CS3_ADDR (0x63000000u) |
EBI Chip Select 3 base address.
Definition at line 495 of file sam4sd32c.h.
| #define EFC0 ((Efc *)0x400E0A00U) |
(EFC0 ) Base Address
Definition at line 445 of file sam4sd32c.h.
| #define EFC1 ((Efc *)0x400E0C00U) |
(EFC1 ) Base Address
Definition at line 446 of file sam4sd32c.h.
| #define GPBR ((Gpbr *)0x400E1490U) |
(GPBR ) Base Address
Definition at line 456 of file sam4sd32c.h.
| #define HSMCI ((Hsmci *)0x40000000U) |
(HSMCI ) Base Address
Definition at line 411 of file sam4sd32c.h.
| #define ID_ACC (33) |
Analog Comparator (ACC).
Definition at line 351 of file sam4sd32c.h.
| #define ID_ADC (29) |
Analog To Digital Converter (ADC).
Definition at line 347 of file sam4sd32c.h.
| #define ID_CRCCU (32) |
CRC Calculation Unit (CRCCU).
Definition at line 350 of file sam4sd32c.h.
| #define ID_DACC (30) |
Digital To Analog Converter (DACC).
Definition at line 348 of file sam4sd32c.h.
| #define ID_EFC0 ( 6) |
Enhanced Embedded Flash Controller 0 (EFC0).
Definition at line 326 of file sam4sd32c.h.
| #define ID_EFC1 ( 7) |
Enhanced Embedded Flash Controller 1 (EFC1).
Definition at line 327 of file sam4sd32c.h.
| #define ID_HSMCI (18) |
Multimedia Card Interface (HSMCI).
Definition at line 336 of file sam4sd32c.h.
| #define ID_PERIPH_COUNT (35) |
Number of peripheral IDs.
Definition at line 354 of file sam4sd32c.h.
| #define ID_PIOA (11) |
Parallel I/O Controller A (PIOA).
Definition at line 331 of file sam4sd32c.h.
Referenced by arch_ioport_init(), and pio_get_pin_group_id().
| #define ID_PIOB (12) |
Parallel I/O Controller B (PIOB).
Definition at line 332 of file sam4sd32c.h.
Referenced by arch_ioport_init().
| #define ID_PIOC (13) |
Parallel I/O Controller C (PIOC).
Definition at line 333 of file sam4sd32c.h.
Referenced by arch_ioport_init(), and pio_get_pin_group_id().
| #define ID_PMC ( 5) |
Power Management Controller (PMC).
Definition at line 325 of file sam4sd32c.h.
| #define ID_PWM (31) |
Pulse Width Modulation (PWM).
Definition at line 349 of file sam4sd32c.h.
| #define ID_RSTC ( 1) |
Reset Controller (RSTC).
Definition at line 321 of file sam4sd32c.h.
| #define ID_RTC ( 2) |
Real Time Clock (RTC).
Definition at line 322 of file sam4sd32c.h.
| #define ID_RTT ( 3) |
Real Time Timer (RTT).
Definition at line 323 of file sam4sd32c.h.
| #define ID_SMC (10) |
Static Memory Controller (SMC).
Definition at line 330 of file sam4sd32c.h.
| #define ID_SPI (21) |
Serial Peripheral Interface (SPI).
Definition at line 339 of file sam4sd32c.h.
Referenced by spi_disable_clock(), and spi_enable_clock().
| #define ID_SSC (22) |
Synchronous Serial Controller (SSC).
Definition at line 340 of file sam4sd32c.h.
| #define ID_SUPC ( 0) |
Supply Controller (SUPC).
Definition at line 320 of file sam4sd32c.h.
| #define ID_TC0 (23) |
Timer/Counter 0 (TC0).
Definition at line 341 of file sam4sd32c.h.
| #define ID_TC1 (24) |
Timer/Counter 1 (TC1).
Definition at line 342 of file sam4sd32c.h.
| #define ID_TC2 (25) |
Timer/Counter 2 (TC2).
Definition at line 343 of file sam4sd32c.h.
| #define ID_TC3 (26) |
Timer/Counter 3 (TC3).
Definition at line 344 of file sam4sd32c.h.
| #define ID_TC4 (27) |
Timer/Counter 4 (TC4).
Definition at line 345 of file sam4sd32c.h.
| #define ID_TC5 (28) |
Timer/Counter 5 (TC5).
Definition at line 346 of file sam4sd32c.h.
| #define ID_TWI0 (19) |
Two Wire Interface 0 (TWI0).
Definition at line 337 of file sam4sd32c.h.
Referenced by twi_master_setup(), and twi_slave_setup().
| #define ID_TWI1 (20) |
Two Wire Interface 1 (TWI1).
Definition at line 338 of file sam4sd32c.h.
Referenced by twi_master_setup(), and twi_slave_setup().
| #define ID_UART0 ( 8) |
| #define ID_UART1 ( 9) |
| #define ID_UDP (34) |
USB Device Port (UDP).
Definition at line 352 of file sam4sd32c.h.
| #define ID_USART0 (14) |
| #define ID_USART1 (15) |
| #define ID_WDT ( 4) |
Watchdog Timer (WDT).
Definition at line 324 of file sam4sd32c.h.
| #define IFLASH0_ADDR (0x00400000u) |
Internal Flash 0 base address.
Definition at line 486 of file sam4sd32c.h.
| #define IFLASH0_LOCK_REGION_SIZE (8192u) |
Definition at line 475 of file sam4sd32c.h.
| #define IFLASH0_NB_OF_LOCK_BITS (128u) |
Definition at line 477 of file sam4sd32c.h.
| #define IFLASH0_NB_OF_PAGES (2048u) |
Definition at line 476 of file sam4sd32c.h.
| #define IFLASH0_PAGE_SIZE (512u) |
Definition at line 474 of file sam4sd32c.h.
| #define IFLASH0_SIZE (0x100000u) |
Definition at line 473 of file sam4sd32c.h.
| #define IFLASH1_ADDR (IFLASH0_ADDR+IFLASH0_SIZE) |
Internal Flash 1 base address.
Definition at line 488 of file sam4sd32c.h.
| #define IFLASH1_LOCK_REGION_SIZE (8192u) |
Definition at line 480 of file sam4sd32c.h.
| #define IFLASH1_NB_OF_LOCK_BITS (128u) |
Definition at line 482 of file sam4sd32c.h.
| #define IFLASH1_NB_OF_PAGES (2048u) |
Definition at line 481 of file sam4sd32c.h.
| #define IFLASH1_PAGE_SIZE (512u) |
Definition at line 479 of file sam4sd32c.h.
| #define IFLASH1_SIZE (0x100000u) |
Definition at line 478 of file sam4sd32c.h.
| #define IFLASH_SIZE (IFLASH0_SIZE+IFLASH1_SIZE) |
Definition at line 484 of file sam4sd32c.h.
| #define IRAM_ADDR (0x20000000u) |
Internal RAM base address.
Definition at line 491 of file sam4sd32c.h.
| #define IRAM_SIZE (0x28000u) |
Definition at line 483 of file sam4sd32c.h.
| #define IROM_ADDR (0x00800000u) |
Internal ROM base address.
Definition at line 490 of file sam4sd32c.h.
| #define MATRIX ((Matrix *)0x400E0200U) |
(MATRIX ) Base Address
Definition at line 438 of file sam4sd32c.h.
| #define NB_CH_ADC (15UL) |
Definition at line 503 of file sam4sd32c.h.
| #define NB_CH_DAC (2UL) |
Definition at line 504 of file sam4sd32c.h.
| #define PDC_ADC ((Pdc *)0x40038100U) |
(PDC_ADC ) Base Address
Definition at line 431 of file sam4sd32c.h.
Referenced by adc_get_pdc_base().
| #define PDC_DACC ((Pdc *)0x4003C100U) |
(PDC_DACC ) Base Address
Definition at line 433 of file sam4sd32c.h.
| #define PDC_HSMCI ((Pdc *)0x40000100U) |
(PDC_HSMCI ) Base Address
Definition at line 412 of file sam4sd32c.h.
| #define PDC_PIOA ((Pdc *)0x400E0F68U) |
(PDC_PIOA ) Base Address
Definition at line 448 of file sam4sd32c.h.
Referenced by pio_capture_get_pdc_base().
| #define PDC_PWM ((Pdc *)0x40020100U) |
(PDC_PWM ) Base Address
Definition at line 424 of file sam4sd32c.h.
| #define PDC_SPI ((Pdc *)0x40008100U) |
(PDC_SPI ) Base Address
Definition at line 416 of file sam4sd32c.h.
| #define PDC_SSC ((Pdc *)0x40004100U) |
(PDC_SSC ) Base Address
Definition at line 414 of file sam4sd32c.h.
| #define PDC_TWI0 ((Pdc *)0x40018100U) |
(PDC_TWI0 ) Base Address
Definition at line 420 of file sam4sd32c.h.
Referenced by twi_get_pdc_base().
| #define PDC_TWI1 ((Pdc *)0x4001C100U) |
(PDC_TWI1 ) Base Address
Definition at line 422 of file sam4sd32c.h.
Referenced by twi_get_pdc_base().
| #define PDC_UART0 ((Pdc *)0x400E0700U) |
(PDC_UART0 ) Base Address
Definition at line 441 of file sam4sd32c.h.
| #define PDC_UART1 ((Pdc *)0x400E0900U) |
(PDC_UART1 ) Base Address
Definition at line 444 of file sam4sd32c.h.
| #define PDC_USART0 ((Pdc *)0x40024100U) |
(PDC_USART0) Base Address
Definition at line 426 of file sam4sd32c.h.
Referenced by usart_get_pdc_base().
| #define PDC_USART1 ((Pdc *)0x40028100U) |
(PDC_USART1) Base Address
Definition at line 428 of file sam4sd32c.h.
Referenced by usart_get_pdc_base().
| #define PIOA ((Pio *)0x400E0E00U) |
| #define PIOB ((Pio *)0x400E1000U) |
(PIOB ) Base Address
Definition at line 449 of file sam4sd32c.h.
| #define PIOC ((Pio *)0x400E1200U) |
(PIOC ) Base Address
Definition at line 450 of file sam4sd32c.h.
Referenced by arch_ioport_port_to_base(), and pio_get_pin_group().
| #define PMC ((Pmc *)0x400E0400U) |
(PMC ) Base Address
Definition at line 439 of file sam4sd32c.h.
| #define PWM ((Pwm *)0x40020000U) |
(PWM ) Base Address
Definition at line 423 of file sam4sd32c.h.
| #define RSTC ((Rstc *)0x400E1400U) |
(RSTC ) Base Address
Definition at line 451 of file sam4sd32c.h.
| #define RTC ((Rtc *)0x400E1460U) |
(RTC ) Base Address
Definition at line 455 of file sam4sd32c.h.
| #define RTT ((Rtt *)0x400E1430U) |
(RTT ) Base Address
Definition at line 453 of file sam4sd32c.h.
| #define SMC ((Smc *)0x400E0000U) |
(SMC ) Base Address
Definition at line 437 of file sam4sd32c.h.
| #define SPI ((Spi *)0x40008000U) |
(SPI ) Base Address
Definition at line 415 of file sam4sd32c.h.
| #define SSC ((Ssc *)0x40004000U) |
(SSC ) Base Address
Definition at line 413 of file sam4sd32c.h.
| #define SUPC ((Supc *)0x400E1410U) |
(SUPC ) Base Address
Definition at line 452 of file sam4sd32c.h.
| #define TC0 ((Tc *)0x40010000U) |
(TC0 ) Base Address
Definition at line 417 of file sam4sd32c.h.
| #define TC1 ((Tc *)0x40014000U) |
(TC1 ) Base Address
Definition at line 418 of file sam4sd32c.h.
| #define TWI0 ((Twi *)0x40018000U) |
(TWI0 ) Base Address
Definition at line 419 of file sam4sd32c.h.
Referenced by twi_get_pdc_base(), twi_master_setup(), and twi_slave_setup().
| #define TWI1 ((Twi *)0x4001C000U) |
(TWI1 ) Base Address
Definition at line 421 of file sam4sd32c.h.
Referenced by twi_get_pdc_base(), twi_master_setup(), and twi_slave_setup().
| #define UART0 ((Uart *)0x400E0600U) |
(UART0 ) Base Address
Definition at line 440 of file sam4sd32c.h.
Referenced by usart_serial_getchar(), usart_serial_init(), usart_serial_is_rx_ready(), and usart_serial_putchar().
| #define UART1 ((Uart *)0x400E0800U) |
(UART1 ) Base Address
Definition at line 443 of file sam4sd32c.h.
Referenced by usart_serial_getchar(), usart_serial_init(), usart_serial_is_rx_ready(), and usart_serial_putchar().
| #define UDP ((Udp *)0x40034000U) |
(UDP ) Base Address
Definition at line 429 of file sam4sd32c.h.
| #define USART0 ((Usart *)0x40024000U) |
(USART0 ) Base Address
Definition at line 425 of file sam4sd32c.h.
Referenced by usart_get_pdc_base(), usart_init_modem(), usart_serial_getchar(), usart_serial_init(), usart_serial_is_rx_ready(), and usart_serial_putchar().
| #define USART1 ((Usart *)0x40028000U) |
(USART1 ) Base Address
Definition at line 427 of file sam4sd32c.h.
Referenced by usart_get_pdc_base(), usart_init_modem(), usart_serial_getchar(), usart_serial_init(), usart_serial_is_rx_ready(), and usart_serial_putchar().
| #define USB_DEVICE_MAX_EP (8UL) |
Definition at line 505 of file sam4sd32c.h.
| #define WDT ((Wdt *)0x400E1450U) |
(WDT ) Base Address
Definition at line 454 of file sam4sd32c.h.
| typedef struct _DeviceVectors DeviceVectors |
| enum IRQn |
< Interrupt Number Definition
Definition at line 62 of file sam4sd32c.h.
| void ACC_Handler | ( | void | ) |
| void ADC_Handler | ( | void | ) |
| void BusFault_Handler | ( | void | ) |
| void CRCCU_Handler | ( | void | ) |
| void DACC_Handler | ( | void | ) |
| void DebugMon_Handler | ( | void | ) |
| void EFC0_Handler | ( | void | ) |
| void EFC1_Handler | ( | void | ) |
| void HardFault_Handler | ( | void | ) |
| void HSMCI_Handler | ( | void | ) |
| void MemManage_Handler | ( | void | ) |
| void NMI_Handler | ( | void | ) |
| void PendSV_Handler | ( | void | ) |
| void PIOA_Handler | ( | void | ) |
| void PIOB_Handler | ( | void | ) |
| void PIOC_Handler | ( | void | ) |
| void PMC_Handler | ( | void | ) |
| void PWM_Handler | ( | void | ) |
| void Reset_Handler | ( | void | ) |
| void RSTC_Handler | ( | void | ) |
| void RTC_Handler | ( | void | ) |
| void RTT_Handler | ( | void | ) |
| void SPI_Handler | ( | void | ) |
| void SSC_Handler | ( | void | ) |
| void SUPC_Handler | ( | void | ) |
| void SVC_Handler | ( | void | ) |
| void SysTick_Handler | ( | void | ) |
| void TC0_Handler | ( | void | ) |
| void TC1_Handler | ( | void | ) |
| void TC2_Handler | ( | void | ) |
| void TC3_Handler | ( | void | ) |
| void TC4_Handler | ( | void | ) |
| void TC5_Handler | ( | void | ) |
| void TWI0_Handler | ( | void | ) |
| void TWI1_Handler | ( | void | ) |
| void UART0_Handler | ( | void | ) |
| void UART1_Handler | ( | void | ) |
| void UDP_Handler | ( | void | ) |
| void UsageFault_Handler | ( | void | ) |
| void USART0_Handler | ( | void | ) |
| void USART1_Handler | ( | void | ) |
| void WDT_Handler | ( | void | ) |