libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
PUEN PDEN register mapping.

Port Pull-Up/Down Enable Registers. More...

Collaboration diagram for PUEN PDEN register mapping.:

Macros

#define CCS_PUENR(base)   MMIO32(base + 0x1C)
 
#define CCS_PAPUENR   CCS_PUENR(CCS_PORTA)
 
#define CCS_PBPUENR   CCS_PUENR(CCS_PORTB)
 
#define CCS_PCPUENR   CCS_PUENR(CCS_PORTC)
 
#define CCS_PDPUENR   CCS_PUENR(CCS_PORTD)
 
#define CCS_PEPUENR   CCS_PUENR(CCS_PORTE)
 
#define CCS_PFPUENR   CCS_PUENR(CCS_PORTF)
 
#define CCS_PGPUENR   CCS_PUENR(CCS_PORTG)
 
#define CCS_PDENR(base)   MMIO32(base + 0x38)
 
#define CCS_PAPDENR   CCS_PDENR(CCS_PORTA)
 
#define CCS_PBPDENR   CCS_PDENR(CCS_PORTB)
 
#define CCS_PCPDENR   CCS_PDENR(CCS_PORTC)
 
#define CCS_PDPDENR   CCS_PDENR(CCS_PORTD)
 
#define CCS_PEPDENR   CCS_PDENR(CCS_PORTE)
 
#define CCS_PFPDENR   CCS_PDENR(CCS_PORTF)
 
#define CCS_PGPDENR   CCS_PDENR(CCS_PORTG)
 

Enumerations

enum  ccs_pull_updown_t { CCS_IO_PULL_NONE = 0 , CCS_IO_PULL_UP = 1 , CCS_IO_PULL_DOWN = 2 }
 Pull Up/Down enum for type specificity. More...
 

Detailed Description

Port Pull-Up/Down Enable Registers.

Macro Definition Documentation

◆ CCS_PAPDENR

#define CCS_PAPDENR   CCS_PDENR(CCS_PORTA)

Definition at line 174 of file ccs.h.

◆ CCS_PAPUENR

#define CCS_PAPUENR   CCS_PUENR(CCS_PORTA)

Definition at line 166 of file ccs.h.

◆ CCS_PBPDENR

#define CCS_PBPDENR   CCS_PDENR(CCS_PORTB)

Definition at line 175 of file ccs.h.

◆ CCS_PBPUENR

#define CCS_PBPUENR   CCS_PUENR(CCS_PORTB)

Definition at line 167 of file ccs.h.

◆ CCS_PCPDENR

#define CCS_PCPDENR   CCS_PDENR(CCS_PORTC)

Definition at line 176 of file ccs.h.

◆ CCS_PCPUENR

#define CCS_PCPUENR   CCS_PUENR(CCS_PORTC)

Definition at line 168 of file ccs.h.

◆ CCS_PDENR

#define CCS_PDENR (   base)    MMIO32(base + 0x38)

Definition at line 173 of file ccs.h.

◆ CCS_PDPDENR

#define CCS_PDPDENR   CCS_PDENR(CCS_PORTD)

Definition at line 177 of file ccs.h.

◆ CCS_PDPUENR

#define CCS_PDPUENR   CCS_PUENR(CCS_PORTD)

Definition at line 169 of file ccs.h.

◆ CCS_PEPDENR

#define CCS_PEPDENR   CCS_PDENR(CCS_PORTE)

Definition at line 178 of file ccs.h.

◆ CCS_PEPUENR

#define CCS_PEPUENR   CCS_PUENR(CCS_PORTE)

Definition at line 170 of file ccs.h.

◆ CCS_PFPDENR

#define CCS_PFPDENR   CCS_PDENR(CCS_PORTF)

Definition at line 179 of file ccs.h.

◆ CCS_PFPUENR

#define CCS_PFPUENR   CCS_PUENR(CCS_PORTF)

Definition at line 171 of file ccs.h.

◆ CCS_PGPDENR

#define CCS_PGPDENR   CCS_PDENR(CCS_PORTG)

Definition at line 180 of file ccs.h.

◆ CCS_PGPUENR

#define CCS_PGPUENR   CCS_PUENR(CCS_PORTG)

Definition at line 172 of file ccs.h.

◆ CCS_PUENR

#define CCS_PUENR (   base)    MMIO32(base + 0x1C)

Definition at line 165 of file ccs.h.

Enumeration Type Documentation

◆ ccs_pull_updown_t

Pull Up/Down enum for type specificity.

Enumerator
CCS_IO_PULL_NONE 
CCS_IO_PULL_UP 
CCS_IO_PULL_DOWN 

Definition at line 182 of file ccs.h.