armOS
0.1.0
Minimal ARM Operating System for the Raspberry Pi - Documentation generated for Pi 4.
aux.h
Go to the documentation of this file.
1
8
#ifndef P_AUX_H
9
#define P_AUX_H
10
11
#include <
peripherals/gpio.h
>
12
17
enum
18
{
24
AUX_BASE
= (
GPIO_BASE
+ 0x15000),
25
26
/* The offsets for reach register for the UART */
27
AUX_ENABLES
= (
AUX_BASE
+ 0x04),
28
AUX_MU_IO_REG
= (
AUX_BASE
+ 0x40),
29
AUX_MU_IER_REG
= (
AUX_BASE
+ 0x44),
30
AUX_MU_IIR_REG
= (
AUX_BASE
+ 0x48),
31
AUX_MU_LCR_REG
= (
AUX_BASE
+ 0x4C),
32
AUX_MU_MCR_REG
= (
AUX_BASE
+ 0x50),
33
AUX_MU_LSR_REG
= (
AUX_BASE
+ 0x54),
34
AUX_MU_MSR_REG
= (
AUX_BASE
+ 0x58),
35
AUX_MU_SCRATCH
= (
AUX_BASE
+ 0x5C),
36
AUX_MU_CNTL_REG
= (
AUX_BASE
+ 0x60),
37
AUX_MU_STAT_REG
= (
AUX_BASE
+ 0x64),
38
AUX_MU_BAUD_REG
= (
AUX_BASE
+ 0x68)
40
};
41
42
#endif
GPIO_BASE
@ GPIO_BASE
Definition:
gpio.h:39
AUX_MU_MCR_REG
@ AUX_MU_MCR_REG
Definition:
aux.h:32
AUX_BASE
@ AUX_BASE
Definition:
aux.h:24
gpio.h
Definition of GPIO registers addresses.
AUX_MU_IER_REG
@ AUX_MU_IER_REG
Definition:
aux.h:29
AUX_MU_SCRATCH
@ AUX_MU_SCRATCH
Definition:
aux.h:35
AUX_MU_IO_REG
@ AUX_MU_IO_REG
Definition:
aux.h:28
AUX_MU_STAT_REG
@ AUX_MU_STAT_REG
Definition:
aux.h:37
AUX_MU_IIR_REG
@ AUX_MU_IIR_REG
Definition:
aux.h:30
AUX_MU_CNTL_REG
@ AUX_MU_CNTL_REG
Definition:
aux.h:36
AUX_MU_MSR_REG
@ AUX_MU_MSR_REG
Definition:
aux.h:34
AUX_MU_BAUD_REG
@ AUX_MU_BAUD_REG
Definition:
aux.h:38
AUX_MU_LCR_REG
@ AUX_MU_LCR_REG
Definition:
aux.h:31
AUX_MU_LSR_REG
@ AUX_MU_LSR_REG
Definition:
aux.h:33
AUX_ENABLES
@ AUX_ENABLES
Definition:
aux.h:27
include
peripherals
aux.h
Generated by
1.8.17