요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Parallel Port Devices
=====================
.. kernel-doc:: include/linux/parport.h
:internal:
.. kernel-doc:: drivers/parport/ieee1284.c
:export:
.. kernel-doc:: drivers/parport/share.c
:export:
.. kernel-doc:: drivers/parport/daisy.c
:internal:
16x50 UART Driver
=================
.. kernel-doc:: drivers/tty/serial/8250/8250_core.c
:export:
See serial/driver.rst for related APIs.
Pulse-Width Modulation (PWM)
============================
Pulse-width modulation is a modulation technique primarily used to
control power supplied to electrical devices.
The PWM framework provides an abstraction for providers and consumers of
PWM signals. A controller that provides one or more PWM signals is
registered as :c:type:`struct pwm_chip <pwm_chip>`. Providers
are expected to embed this structure in a driver-specific structure.
This structure contains fields that describe a particular chip.
A chip exposes one or more PWM signal sources, each of which exposed as
a :c:type:`struct pwm_device <pwm_device>`. Operations can be
performed on PWM devices to control the period, duty cycle, polarity and
active state of the signal.
Note that PWM devices are exclusive resources: they can always only be
used by one consumer at a time.
.. kernel-doc:: include/linux/pwm.h
:internal:
.. kernel-doc:: drivers/pwm/core.c
:export:
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Parallel port device API
1-15Parallel port 내부 API는 `include/linux/parport.h`에서, IEEE 1284 protocol의 exported API는 `drivers/parport/ieee1284.c`에서 제공합니다.
공유 port 지원의 exported API는 `drivers/parport/share.c`, daisy-chain 내부 API는 `drivers/parport/daisy.c`에서 가져옵니다.
Parallel Port Devices
=====================
.. kernel-doc:: include/linux/parport.h
:internal:
.. kernel-doc:: drivers/parport/ieee1284.c
:export:
.. kernel-doc:: drivers/parport/share.c
:export:
.. kernel-doc:: drivers/parport/daisy.c
:internal:
16x50 UART driver API
16-2316x50 UART의 exported core API는 `drivers/tty/serial/8250/8250_core.c`의 kernel-doc에서 제공합니다.
관련 serial API는 `serial/driver.rst`를 참고합니다.
16x50 UART Driver
=================
.. kernel-doc:: drivers/tty/serial/8250/8250_core.c
:export:
See serial/driver.rst for related APIs.
Pulse-Width Modulation framework
24-48Pulse-width modulation은 주로 electrical device에 공급하는 power를 제어하는 modulation 기술입니다.
PWM framework는 PWM signal provider와 consumer를 추상화합니다. 하나 이상의 PWM signal을 제공하는 controller는 `pwm_chip`으로 등록하며 provider는 이를 driver 전용 구조체 안에 포함해야 합니다.
하나의 chip은 하나 이상의 PWM signal source를 노출하고 각 source는 `pwm_device`로 표현됩니다. Operation으로 signal period, duty cycle, polarity와 active state를 제어할 수 있습니다.
PWM device는 exclusive resource이므로 한 시점에는 consumer 하나만 사용할 수 있습니다.
내부 API는 `include/linux/pwm.h`, exported core API는 `drivers/pwm/core.c`의 kernel-doc에서 제공합니다.
Controller가 chip과 개별 signal device를 제공하고 한 consumer가 배타적으로 제어합니다.
Pulse-Width Modulation (PWM)
============================
Pulse-width modulation is a modulation technique primarily used to
control power supplied to electrical devices.
The PWM framework provides an abstraction for providers and consumers of
PWM signals. A controller that provides one or more PWM signals is
registered as :c:type:`struct pwm_chip <pwm_chip>`. Providers
are expected to embed this structure in a driver-specific structure.
This structure contains fields that describe a particular chip.
A chip exposes one or more PWM signal sources, each of which exposed as
a :c:type:`struct pwm_device <pwm_device>`. Operations can be
performed on PWM devices to control the period, duty cycle, polarity and
active state of the signal.
Note that PWM devices are exclusive resources: they can always only be
used by one consumer at a time.
.. kernel-doc:: include/linux/pwm.h
:internal:
.. kernel-doc:: drivers/pwm/core.c
:export:
요약과 해설
miscellaneous.rst:1-48Parallel port와 UART kernel-doc, PWM provider·consumer의 배타적 signal 제어 model을 한 문서에서 제공합니다.