RTDM API와의 인터페이스
RTDM 개요
RTDM 드라이버 구조
rtdm_device 구조체
struct rtdm_device {
struct list_head device_list; // 드라이버 리스트
const char *device_name; // 디바이스 이름
int device_id; // 디바이스 ID
int device_flags; // 디바이스 플래그
struct module *owner; // 모듈 소유자
struct rtdm_driver *driver; // 드라이버 메타 데이터
struct rtdm_operations ops; // 디바이스 연산
};rtdm_operations 구조체
디바이스 등록
RTDM 디바이스 제거
예제: 간단한 RTDM 드라이버 작성
모듈 메타 정보
Last updated