class TimeReg

Defined at line 64 of file ../../src/devices/pwm/drivers/aml-pwm/aml-pwm-regs.h

Public Members

 field_a1_71
 field_a2_72
 field_b1_73
 field_b2_74

Public Methods

template <, >
typename SelfType::ValueType a1 ()

NOTE: TimeReg channel bit allocations are asymmetrical in Amlogic

hardware compared to DeltaSigmaReg.

Channel A timers (a1 / a2) occupy the upper 16 bits [31:16] ([31:24] and [23:16]).

Channel B timers (b1 / b2) occupy the lower 16 bits [15:0] ([15:8] and [7:0]).

Do NOT swap them to match DeltaSigmaReg (where a is [15:0] and b is [31:16]).

Defined at line 71 of file ../../src/devices/pwm/drivers/aml-pwm/aml-pwm-regs.h

template <, >
SelfType & set_a1 (typename SelfType::ValueType val)

NOTE: TimeReg channel bit allocations are asymmetrical in Amlogic

hardware compared to DeltaSigmaReg.

Channel A timers (a1 / a2) occupy the upper 16 bits [31:16] ([31:24] and [23:16]).

Channel B timers (b1 / b2) occupy the lower 16 bits [15:0] ([15:8] and [7:0]).

Do NOT swap them to match DeltaSigmaReg (where a is [15:0] and b is [31:16]).

Defined at line 71 of file ../../src/devices/pwm/drivers/aml-pwm/aml-pwm-regs.h

template <, >
typename SelfType::ValueType a2 ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 72 of file ../../src/devices/pwm/drivers/aml-pwm/aml-pwm-regs.h

template <, >
SelfType & set_a2 (typename SelfType::ValueType val)

Defined at line 72 of file ../../src/devices/pwm/drivers/aml-pwm/aml-pwm-regs.h

template <, >
typename SelfType::ValueType b1 ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 73 of file ../../src/devices/pwm/drivers/aml-pwm/aml-pwm-regs.h

template <, >
SelfType & set_b1 (typename SelfType::ValueType val)

Defined at line 73 of file ../../src/devices/pwm/drivers/aml-pwm/aml-pwm-regs.h

template <, >
typename SelfType::ValueType b2 ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 74 of file ../../src/devices/pwm/drivers/aml-pwm/aml-pwm-regs.h

template <, >
SelfType & set_b2 (typename SelfType::ValueType val)

Defined at line 74 of file ../../src/devices/pwm/drivers/aml-pwm/aml-pwm-regs.h

hwreg::RegisterAddr<TimeReg> Get ()

Defined at line 76 of file ../../src/devices/pwm/drivers/aml-pwm/aml-pwm-regs.h

Records