Files
tamagotchi-paradise-ko/flash/src/io.h
T
syskiller 2d48091205 줄바꿈을 LF로 통일
서버에서 바로 빌드하고 고칠 수 있게 저장소 줄바꿈을 LF로 맞췄습니다.
CRLF로 들어가 있던 sh 빌드 스크립트도 이제 리눅스에서 그대로 돌아갑니다.
내용은 바뀌지 않았습니다.
2026-11-24 07:13:54 +09:00

10 lines
296 B
C

#ifndef IO_H
#define IO_H
typedef unsigned int u32; typedef unsigned short u16; typedef unsigned char u8;
#define REG(a) (*(volatile u32*)(a))
#define UART 0x4000B000u
#define FCTL 0x40022000u
#define CLK 0x45000000u
static inline void dsb(void){ __asm__ volatile("dsb":::"memory"); }
#endif