STM32G0 MCAL 0.0.1
Tiny MCAL for educational purpose.
Loading...
Searching...
No Matches
PORT Base Address

Macros

#define PORTA_BASE   ( IOPORT_BASE + 0x00000000UL )
 
#define PORTB_BASE   ( IOPORT_BASE + 0x00000400UL )
 
#define PORTC_BASE   ( IOPORT_BASE + 0x00000800UL )
 
#define PORTD_BASE   ( IOPORT_BASE + 0x00000C00UL )
 
#define PORTE_BASE   ( IOPORT_BASE + 0x00001000UL )
 
#define PORTF_BASE   ( IOPORT_BASE + 0x00001400UL )
 
#define PORTA   ( (Port_RegisterType *)PORTA_BASE )
 
#define PORTB   ( (Port_RegisterType *)PORTB_BASE )
 
#define PORTC   ( (Port_RegisterType *)PORTC_BASE )
 
#define PORTD   ( (Port_RegisterType *)PORTD_BASE )
 
#define PORTE   ( (Port_RegisterType *)PORTE_BASE )
 
#define PORTF   ( (Port_RegisterType *)PORTF_BASE )
 

Detailed Description

Macro Definition Documentation

◆ PORTA

#define PORTA   ( (Port_RegisterType *)PORTA_BASE )

Access to PORTA registers

◆ PORTA_BASE

#define PORTA_BASE   ( IOPORT_BASE + 0x00000000UL )

PORTA Base Address

◆ PORTB

#define PORTB   ( (Port_RegisterType *)PORTB_BASE )

Access to PORTB registers

◆ PORTB_BASE

#define PORTB_BASE   ( IOPORT_BASE + 0x00000400UL )

PORTB Base Address

◆ PORTC

#define PORTC   ( (Port_RegisterType *)PORTC_BASE )

Access to PORTC registers

◆ PORTC_BASE

#define PORTC_BASE   ( IOPORT_BASE + 0x00000800UL )

PORTC Base Address

◆ PORTD

#define PORTD   ( (Port_RegisterType *)PORTD_BASE )

Access to PORTD registers

◆ PORTD_BASE

#define PORTD_BASE   ( IOPORT_BASE + 0x00000C00UL )

PORTD Base Address

◆ PORTE

#define PORTE   ( (Port_RegisterType *)PORTE_BASE )

Access to PORTE registers

◆ PORTE_BASE

#define PORTE_BASE   ( IOPORT_BASE + 0x00001000UL )

PORTE Base Address

◆ PORTF

#define PORTF   ( (Port_RegisterType *)PORTF_BASE )

Access to PORTF registers

◆ PORTF_BASE

#define PORTF_BASE   ( IOPORT_BASE + 0x00001400UL )

PORTF Base Address