RP2040_SVD.PWM

Entities

Simple Types

Array Types

Record Types

Subtypes

Variables

Description

------------- Registers -- -------------

CH0_CC_A_Field

subtype CH0_CC_A_Field is HAL.UInt16;

CH0_CC_B_Field

subtype CH0_CC_B_Field is HAL.UInt16;

CH0_CC_Register

type CH0_CC_Register is record
   A : CH0_CC_A_Field := 16#0#;
   B : CH0_CC_B_Field := 16#0#;
end record;
Record fields
A
B

CH0_CSR_DIVMODE_Field

type CH0_CSR_DIVMODE_Field is
   div,
   level,
   rise,
   fall)
  with Size => 2;
Enumeration Literal
div

Fractional divider operation is gated by the PWM B pin.

level

Counter advances with each rising edge of the PWM B pin.

rise

Counter advances with each falling edge of the PWM B pin.

fall

CH0_CSR_Register

type CH0_CSR_Register is record
   EN            : Boolean := False;
   PH_CORRECT    : Boolean := False;
   A_INV         : Boolean := False;
   B_INV         : Boolean := False;
   DIVMODE       : CH0_CSR_DIVMODE_Field := RP2040_SVD.PWM.div;
   PH_RET        : Boolean := False;
   PH_ADV        : Boolean := False;
   Reserved_8_31 : HAL.UInt24 := 16#0#;
end record;
Record fields
EN

1: Enable phase-correct modulation. 0: Trailing-edge

PH_CORRECT

Invert output A

A_INV

Invert output B

B_INV

After a write operation all bits in the field are cleared (set to zero). Retard the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running.

DIVMODE

After a write operation all bits in the field are cleared (set to zero). Retard the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running.

PH_RET

After a write operation all bits in the field are cleared (set to zero). Advance the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running\n at less than full speed (div_int + div_frac / 16 > 1)

PH_ADV

unspecified

Reserved_8_31

CH0_CTR_CH0_CTR_Field

subtype CH0_CTR_CH0_CTR_Field is HAL.UInt16;

CH0_CTR_Register

type CH0_CTR_Register is record
   CH0_CTR        : CH0_CTR_CH0_CTR_Field := 16#0#;
   Reserved_16_31 : HAL.UInt16 := 16#0#;
end record;
Record fields
CH0_CTR

unspecified

Reserved_16_31

CH0_DIV_FRAC_Field

subtype CH0_DIV_FRAC_Field is HAL.UInt4;

CH0_DIV_INT_Field

subtype CH0_DIV_INT_Field is HAL.UInt8;

CH0_DIV_Register

type CH0_DIV_Register is record
   FRAC           : CH0_DIV_FRAC_Field := 16#0#;
   INT            : CH0_DIV_INT_Field := 16#1#;
   Reserved_12_31 : HAL.UInt20 := 16#0#;
end record;
Record fields
FRAC

unspecified

INT

unspecified

Reserved_12_31

CH0_TOP_CH0_TOP_Field

subtype CH0_TOP_CH0_TOP_Field is HAL.UInt16;

CH0_TOP_Register

type CH0_TOP_Register is record
   CH0_TOP        : CH0_TOP_CH0_TOP_Field := 16#FFFF#;
   Reserved_16_31 : HAL.UInt16 := 16#0#;
end record;
Record fields
CH0_TOP

unspecified

Reserved_16_31

CH1_CC_A_Field

subtype CH1_CC_A_Field is HAL.UInt16;

CH1_CC_B_Field

subtype CH1_CC_B_Field is HAL.UInt16;

CH1_CC_Register

type CH1_CC_Register is record
   A : CH1_CC_A_Field := 16#0#;
   B : CH1_CC_B_Field := 16#0#;
end record;
Record fields
A
B

CH1_CSR_DIVMODE_Field

type CH1_CSR_DIVMODE_Field is
   div,
   level,
   rise,
   fall)
  with Size => 2;
Enumeration Literal
div

Fractional divider operation is gated by the PWM B pin.

level

Counter advances with each rising edge of the PWM B pin.

rise

Counter advances with each falling edge of the PWM B pin.

fall

CH1_CSR_Register

type CH1_CSR_Register is record
   EN            : Boolean := False;
   PH_CORRECT    : Boolean := False;
   A_INV         : Boolean := False;
   B_INV         : Boolean := False;
   DIVMODE       : CH1_CSR_DIVMODE_Field := RP2040_SVD.PWM.div;
   PH_RET        : Boolean := False;
   PH_ADV        : Boolean := False;
   Reserved_8_31 : HAL.UInt24 := 16#0#;
end record;
Record fields
EN

1: Enable phase-correct modulation. 0: Trailing-edge

PH_CORRECT

Invert output A

A_INV

Invert output B

B_INV

After a write operation all bits in the field are cleared (set to zero). Retard the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running.

DIVMODE

After a write operation all bits in the field are cleared (set to zero). Retard the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running.

PH_RET

After a write operation all bits in the field are cleared (set to zero). Advance the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running\n at less than full speed (div_int + div_frac / 16 > 1)

PH_ADV

unspecified

Reserved_8_31

CH1_CTR_CH1_CTR_Field

subtype CH1_CTR_CH1_CTR_Field is HAL.UInt16;

CH1_CTR_Register

type CH1_CTR_Register is record
   CH1_CTR        : CH1_CTR_CH1_CTR_Field := 16#0#;
   Reserved_16_31 : HAL.UInt16 := 16#0#;
end record;
Record fields
CH1_CTR

unspecified

Reserved_16_31

CH1_DIV_FRAC_Field

subtype CH1_DIV_FRAC_Field is HAL.UInt4;

CH1_DIV_INT_Field

subtype CH1_DIV_INT_Field is HAL.UInt8;

CH1_DIV_Register

type CH1_DIV_Register is record
   FRAC           : CH1_DIV_FRAC_Field := 16#0#;
   INT            : CH1_DIV_INT_Field := 16#1#;
   Reserved_12_31 : HAL.UInt20 := 16#0#;
end record;
Record fields
FRAC

unspecified

INT

unspecified

Reserved_12_31

CH1_TOP_CH1_TOP_Field

subtype CH1_TOP_CH1_TOP_Field is HAL.UInt16;

CH1_TOP_Register

type CH1_TOP_Register is record
   CH1_TOP        : CH1_TOP_CH1_TOP_Field := 16#FFFF#;
   Reserved_16_31 : HAL.UInt16 := 16#0#;
end record;
Record fields
CH1_TOP

unspecified

Reserved_16_31

CH2_CC_A_Field

subtype CH2_CC_A_Field is HAL.UInt16;

CH2_CC_B_Field

subtype CH2_CC_B_Field is HAL.UInt16;

CH2_CC_Register

type CH2_CC_Register is record
   A : CH2_CC_A_Field := 16#0#;
   B : CH2_CC_B_Field := 16#0#;
end record;
Record fields
A
B

CH2_CSR_DIVMODE_Field

type CH2_CSR_DIVMODE_Field is
   div,
   level,
   rise,
   fall)
  with Size => 2;
Enumeration Literal
div

Fractional divider operation is gated by the PWM B pin.

level

Counter advances with each rising edge of the PWM B pin.

rise

Counter advances with each falling edge of the PWM B pin.

fall

CH2_CSR_Register

type CH2_CSR_Register is record
   EN            : Boolean := False;
   PH_CORRECT    : Boolean := False;
   A_INV         : Boolean := False;
   B_INV         : Boolean := False;
   DIVMODE       : CH2_CSR_DIVMODE_Field := RP2040_SVD.PWM.div;
   PH_RET        : Boolean := False;
   PH_ADV        : Boolean := False;
   Reserved_8_31 : HAL.UInt24 := 16#0#;
end record;
Record fields
EN

1: Enable phase-correct modulation. 0: Trailing-edge

PH_CORRECT

Invert output A

A_INV

Invert output B

B_INV

After a write operation all bits in the field are cleared (set to zero). Retard the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running.

DIVMODE

After a write operation all bits in the field are cleared (set to zero). Retard the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running.

PH_RET

After a write operation all bits in the field are cleared (set to zero). Advance the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running\n at less than full speed (div_int + div_frac / 16 > 1)

PH_ADV

unspecified

Reserved_8_31

CH2_CTR_CH2_CTR_Field

subtype CH2_CTR_CH2_CTR_Field is HAL.UInt16;

CH2_CTR_Register

type CH2_CTR_Register is record
   CH2_CTR        : CH2_CTR_CH2_CTR_Field := 16#0#;
   Reserved_16_31 : HAL.UInt16 := 16#0#;
end record;
Record fields
CH2_CTR

unspecified

Reserved_16_31

CH2_DIV_FRAC_Field

subtype CH2_DIV_FRAC_Field is HAL.UInt4;

CH2_DIV_INT_Field

subtype CH2_DIV_INT_Field is HAL.UInt8;

CH2_DIV_Register

type CH2_DIV_Register is record
   FRAC           : CH2_DIV_FRAC_Field := 16#0#;
   INT            : CH2_DIV_INT_Field := 16#1#;
   Reserved_12_31 : HAL.UInt20 := 16#0#;
end record;
Record fields
FRAC

unspecified

INT

unspecified

Reserved_12_31

CH2_TOP_CH2_TOP_Field

subtype CH2_TOP_CH2_TOP_Field is HAL.UInt16;

CH2_TOP_Register

type CH2_TOP_Register is record
   CH2_TOP        : CH2_TOP_CH2_TOP_Field := 16#FFFF#;
   Reserved_16_31 : HAL.UInt16 := 16#0#;
end record;
Record fields
CH2_TOP

unspecified

Reserved_16_31

CH3_CC_A_Field

subtype CH3_CC_A_Field is HAL.UInt16;

CH3_CC_B_Field

subtype CH3_CC_B_Field is HAL.UInt16;

CH3_CC_Register

type CH3_CC_Register is record
   A : CH3_CC_A_Field := 16#0#;
   B : CH3_CC_B_Field := 16#0#;
end record;
Record fields
A
B

CH3_CSR_DIVMODE_Field

type CH3_CSR_DIVMODE_Field is
   div,
   level,
   rise,
   fall)
  with Size => 2;
Enumeration Literal
div

Fractional divider operation is gated by the PWM B pin.

level

Counter advances with each rising edge of the PWM B pin.

rise

Counter advances with each falling edge of the PWM B pin.

fall

CH3_CSR_Register

type CH3_CSR_Register is record
   EN            : Boolean := False;
   PH_CORRECT    : Boolean := False;
   A_INV         : Boolean := False;
   B_INV         : Boolean := False;
   DIVMODE       : CH3_CSR_DIVMODE_Field := RP2040_SVD.PWM.div;
   PH_RET        : Boolean := False;
   PH_ADV        : Boolean := False;
   Reserved_8_31 : HAL.UInt24 := 16#0#;
end record;
Record fields
EN

1: Enable phase-correct modulation. 0: Trailing-edge

PH_CORRECT

Invert output A

A_INV

Invert output B

B_INV

After a write operation all bits in the field are cleared (set to zero). Retard the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running.

DIVMODE

After a write operation all bits in the field are cleared (set to zero). Retard the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running.

PH_RET

After a write operation all bits in the field are cleared (set to zero). Advance the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running\n at less than full speed (div_int + div_frac / 16 > 1)

PH_ADV

unspecified

Reserved_8_31

CH3_CTR_CH3_CTR_Field

subtype CH3_CTR_CH3_CTR_Field is HAL.UInt16;

CH3_CTR_Register

type CH3_CTR_Register is record
   CH3_CTR        : CH3_CTR_CH3_CTR_Field := 16#0#;
   Reserved_16_31 : HAL.UInt16 := 16#0#;
end record;
Record fields
CH3_CTR

unspecified

Reserved_16_31

CH3_DIV_FRAC_Field

subtype CH3_DIV_FRAC_Field is HAL.UInt4;

CH3_DIV_INT_Field

subtype CH3_DIV_INT_Field is HAL.UInt8;

CH3_DIV_Register

type CH3_DIV_Register is record
   FRAC           : CH3_DIV_FRAC_Field := 16#0#;
   INT            : CH3_DIV_INT_Field := 16#1#;
   Reserved_12_31 : HAL.UInt20 := 16#0#;
end record;
Record fields
FRAC

unspecified

INT

unspecified

Reserved_12_31

CH3_TOP_CH3_TOP_Field

subtype CH3_TOP_CH3_TOP_Field is HAL.UInt16;

CH3_TOP_Register

type CH3_TOP_Register is record
   CH3_TOP        : CH3_TOP_CH3_TOP_Field := 16#FFFF#;
   Reserved_16_31 : HAL.UInt16 := 16#0#;
end record;
Record fields
CH3_TOP

unspecified

Reserved_16_31

CH4_CC_A_Field

subtype CH4_CC_A_Field is HAL.UInt16;

CH4_CC_B_Field

subtype CH4_CC_B_Field is HAL.UInt16;

CH4_CC_Register

type CH4_CC_Register is record
   A : CH4_CC_A_Field := 16#0#;
   B : CH4_CC_B_Field := 16#0#;
end record;
Record fields
A
B

CH4_CSR_DIVMODE_Field

type CH4_CSR_DIVMODE_Field is
   div,
   level,
   rise,
   fall)
  with Size => 2;
Enumeration Literal
div

Fractional divider operation is gated by the PWM B pin.

level

Counter advances with each rising edge of the PWM B pin.

rise

Counter advances with each falling edge of the PWM B pin.

fall

CH4_CSR_Register

type CH4_CSR_Register is record
   EN            : Boolean := False;
   PH_CORRECT    : Boolean := False;
   A_INV         : Boolean := False;
   B_INV         : Boolean := False;
   DIVMODE       : CH4_CSR_DIVMODE_Field := RP2040_SVD.PWM.div;
   PH_RET        : Boolean := False;
   PH_ADV        : Boolean := False;
   Reserved_8_31 : HAL.UInt24 := 16#0#;
end record;
Record fields
EN

1: Enable phase-correct modulation. 0: Trailing-edge

PH_CORRECT

Invert output A

A_INV

Invert output B

B_INV

After a write operation all bits in the field are cleared (set to zero). Retard the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running.

DIVMODE

After a write operation all bits in the field are cleared (set to zero). Retard the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running.

PH_RET

After a write operation all bits in the field are cleared (set to zero). Advance the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running\n at less than full speed (div_int + div_frac / 16 > 1)

PH_ADV

unspecified

Reserved_8_31

CH4_CTR_CH4_CTR_Field

subtype CH4_CTR_CH4_CTR_Field is HAL.UInt16;

CH4_CTR_Register

type CH4_CTR_Register is record
   CH4_CTR        : CH4_CTR_CH4_CTR_Field := 16#0#;
   Reserved_16_31 : HAL.UInt16 := 16#0#;
end record;
Record fields
CH4_CTR

unspecified

Reserved_16_31

CH4_DIV_FRAC_Field

subtype CH4_DIV_FRAC_Field is HAL.UInt4;

CH4_DIV_INT_Field

subtype CH4_DIV_INT_Field is HAL.UInt8;

CH4_DIV_Register

type CH4_DIV_Register is record
   FRAC           : CH4_DIV_FRAC_Field := 16#0#;
   INT            : CH4_DIV_INT_Field := 16#1#;
   Reserved_12_31 : HAL.UInt20 := 16#0#;
end record;
Record fields
FRAC

unspecified

INT

unspecified

Reserved_12_31

CH4_TOP_CH4_TOP_Field

subtype CH4_TOP_CH4_TOP_Field is HAL.UInt16;

CH4_TOP_Register

type CH4_TOP_Register is record
   CH4_TOP        : CH4_TOP_CH4_TOP_Field := 16#FFFF#;
   Reserved_16_31 : HAL.UInt16 := 16#0#;
end record;
Record fields
CH4_TOP

unspecified

Reserved_16_31

CH5_CC_A_Field

subtype CH5_CC_A_Field is HAL.UInt16;

CH5_CC_B_Field

subtype CH5_CC_B_Field is HAL.UInt16;

CH5_CC_Register

type CH5_CC_Register is record
   A : CH5_CC_A_Field := 16#0#;
   B : CH5_CC_B_Field := 16#0#;
end record;
Record fields
A
B

CH5_CSR_DIVMODE_Field

type CH5_CSR_DIVMODE_Field is
   div,
   level,
   rise,
   fall)
  with Size => 2;
Enumeration Literal
div

Fractional divider operation is gated by the PWM B pin.

level

Counter advances with each rising edge of the PWM B pin.

rise

Counter advances with each falling edge of the PWM B pin.

fall

CH5_CSR_Register

type CH5_CSR_Register is record
   EN            : Boolean := False;
   PH_CORRECT    : Boolean := False;
   A_INV         : Boolean := False;
   B_INV         : Boolean := False;
   DIVMODE       : CH5_CSR_DIVMODE_Field := RP2040_SVD.PWM.div;
   PH_RET        : Boolean := False;
   PH_ADV        : Boolean := False;
   Reserved_8_31 : HAL.UInt24 := 16#0#;
end record;
Record fields
EN

1: Enable phase-correct modulation. 0: Trailing-edge

PH_CORRECT

Invert output A

A_INV

Invert output B

B_INV

After a write operation all bits in the field are cleared (set to zero). Retard the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running.

DIVMODE

After a write operation all bits in the field are cleared (set to zero). Retard the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running.

PH_RET

After a write operation all bits in the field are cleared (set to zero). Advance the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running\n at less than full speed (div_int + div_frac / 16 > 1)

PH_ADV

unspecified

Reserved_8_31

CH5_CTR_CH5_CTR_Field

subtype CH5_CTR_CH5_CTR_Field is HAL.UInt16;

CH5_CTR_Register

type CH5_CTR_Register is record
   CH5_CTR        : CH5_CTR_CH5_CTR_Field := 16#0#;
   Reserved_16_31 : HAL.UInt16 := 16#0#;
end record;
Record fields
CH5_CTR

unspecified

Reserved_16_31

CH5_DIV_FRAC_Field

subtype CH5_DIV_FRAC_Field is HAL.UInt4;

CH5_DIV_INT_Field

subtype CH5_DIV_INT_Field is HAL.UInt8;

CH5_DIV_Register

type CH5_DIV_Register is record
   FRAC           : CH5_DIV_FRAC_Field := 16#0#;
   INT            : CH5_DIV_INT_Field := 16#1#;
   Reserved_12_31 : HAL.UInt20 := 16#0#;
end record;
Record fields
FRAC

unspecified

INT

unspecified

Reserved_12_31

CH5_TOP_CH5_TOP_Field

subtype CH5_TOP_CH5_TOP_Field is HAL.UInt16;

CH5_TOP_Register

type CH5_TOP_Register is record
   CH5_TOP        : CH5_TOP_CH5_TOP_Field := 16#FFFF#;
   Reserved_16_31 : HAL.UInt16 := 16#0#;
end record;
Record fields
CH5_TOP

unspecified

Reserved_16_31

CH6_CC_A_Field

subtype CH6_CC_A_Field is HAL.UInt16;

CH6_CC_B_Field

subtype CH6_CC_B_Field is HAL.UInt16;

CH6_CC_Register

type CH6_CC_Register is record
   A : CH6_CC_A_Field := 16#0#;
   B : CH6_CC_B_Field := 16#0#;
end record;
Record fields
A
B

CH6_CSR_DIVMODE_Field

type CH6_CSR_DIVMODE_Field is
   div,
   level,
   rise,
   fall)
  with Size => 2;
Enumeration Literal
div

Fractional divider operation is gated by the PWM B pin.

level

Counter advances with each rising edge of the PWM B pin.

rise

Counter advances with each falling edge of the PWM B pin.

fall

CH6_CSR_Register

type CH6_CSR_Register is record
   EN            : Boolean := False;
   PH_CORRECT    : Boolean := False;
   A_INV         : Boolean := False;
   B_INV         : Boolean := False;
   DIVMODE       : CH6_CSR_DIVMODE_Field := RP2040_SVD.PWM.div;
   PH_RET        : Boolean := False;
   PH_ADV        : Boolean := False;
   Reserved_8_31 : HAL.UInt24 := 16#0#;
end record;
Record fields
EN

1: Enable phase-correct modulation. 0: Trailing-edge

PH_CORRECT

Invert output A

A_INV

Invert output B

B_INV

After a write operation all bits in the field are cleared (set to zero). Retard the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running.

DIVMODE

After a write operation all bits in the field are cleared (set to zero). Retard the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running.

PH_RET

After a write operation all bits in the field are cleared (set to zero). Advance the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running\n at less than full speed (div_int + div_frac / 16 > 1)

PH_ADV

unspecified

Reserved_8_31

CH6_CTR_CH6_CTR_Field

subtype CH6_CTR_CH6_CTR_Field is HAL.UInt16;

CH6_CTR_Register

type CH6_CTR_Register is record
   CH6_CTR        : CH6_CTR_CH6_CTR_Field := 16#0#;
   Reserved_16_31 : HAL.UInt16 := 16#0#;
end record;
Record fields
CH6_CTR

unspecified

Reserved_16_31

CH6_DIV_FRAC_Field

subtype CH6_DIV_FRAC_Field is HAL.UInt4;

CH6_DIV_INT_Field

subtype CH6_DIV_INT_Field is HAL.UInt8;

CH6_DIV_Register

type CH6_DIV_Register is record
   FRAC           : CH6_DIV_FRAC_Field := 16#0#;
   INT            : CH6_DIV_INT_Field := 16#1#;
   Reserved_12_31 : HAL.UInt20 := 16#0#;
end record;
Record fields
FRAC

unspecified

INT

unspecified

Reserved_12_31

CH6_TOP_CH6_TOP_Field

subtype CH6_TOP_CH6_TOP_Field is HAL.UInt16;

CH6_TOP_Register

type CH6_TOP_Register is record
   CH6_TOP        : CH6_TOP_CH6_TOP_Field := 16#FFFF#;
   Reserved_16_31 : HAL.UInt16 := 16#0#;
end record;
Record fields
CH6_TOP

unspecified

Reserved_16_31

CH7_CC_A_Field

subtype CH7_CC_A_Field is HAL.UInt16;

CH7_CC_B_Field

subtype CH7_CC_B_Field is HAL.UInt16;

CH7_CC_Register

type CH7_CC_Register is record
   A : CH7_CC_A_Field := 16#0#;
   B : CH7_CC_B_Field := 16#0#;
end record;
Record fields
A
B

CH7_CSR_DIVMODE_Field

type CH7_CSR_DIVMODE_Field is
   div,
   level,
   rise,
   fall)
  with Size => 2;
Enumeration Literal
div

Fractional divider operation is gated by the PWM B pin.

level

Counter advances with each rising edge of the PWM B pin.

rise

Counter advances with each falling edge of the PWM B pin.

fall

CH7_CSR_Register

type CH7_CSR_Register is record
   EN            : Boolean := False;
   PH_CORRECT    : Boolean := False;
   A_INV         : Boolean := False;
   B_INV         : Boolean := False;
   DIVMODE       : CH7_CSR_DIVMODE_Field := RP2040_SVD.PWM.div;
   PH_RET        : Boolean := False;
   PH_ADV        : Boolean := False;
   Reserved_8_31 : HAL.UInt24 := 16#0#;
end record;
Record fields
EN

1: Enable phase-correct modulation. 0: Trailing-edge

PH_CORRECT

Invert output A

A_INV

Invert output B

B_INV

After a write operation all bits in the field are cleared (set to zero). Retard the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running.

DIVMODE

After a write operation all bits in the field are cleared (set to zero). Retard the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running.

PH_RET

After a write operation all bits in the field are cleared (set to zero). Advance the phase of the counter by 1 count, while it is running.\n Self-clearing. Write a 1, and poll until low. Counter must be running\n at less than full speed (div_int + div_frac / 16 > 1)

PH_ADV

unspecified

Reserved_8_31

CH7_CTR_CH7_CTR_Field

subtype CH7_CTR_CH7_CTR_Field is HAL.UInt16;

CH7_CTR_Register

type CH7_CTR_Register is record
   CH7_CTR        : CH7_CTR_CH7_CTR_Field := 16#0#;
   Reserved_16_31 : HAL.UInt16 := 16#0#;
end record;
Record fields
CH7_CTR

unspecified

Reserved_16_31

CH7_DIV_FRAC_Field

subtype CH7_DIV_FRAC_Field is HAL.UInt4;

CH7_DIV_INT_Field

subtype CH7_DIV_INT_Field is HAL.UInt8;

CH7_DIV_Register

type CH7_DIV_Register is record
   FRAC           : CH7_DIV_FRAC_Field := 16#0#;
   INT            : CH7_DIV_INT_Field := 16#1#;
   Reserved_12_31 : HAL.UInt20 := 16#0#;
end record;
Record fields
FRAC

unspecified

INT

unspecified

Reserved_12_31

CH7_TOP_CH7_TOP_Field

subtype CH7_TOP_CH7_TOP_Field is HAL.UInt16;

CH7_TOP_Register

type CH7_TOP_Register is record
   CH7_TOP        : CH7_TOP_CH7_TOP_Field := 16#FFFF#;
   Reserved_16_31 : HAL.UInt16 := 16#0#;
end record;
Record fields
CH7_TOP

unspecified

Reserved_16_31

EN_CH_Field

type EN_CH_Field
  (As_Array : Boolean := False)
is record
   case As_Array is
      when False =>
         Val : HAL.UInt8;
      when True =>
         Arr : EN_CH_Field_Array;
   end case;
end record;
Record fields
As_Array
Val
Arr

EN_CH_Field_Array

type EN_CH_Field_Array is array (0 .. 7) of Boolean
  with Component_Size => 1, Size => 8;

EN_Register

type EN_Register is record
   CH            : EN_CH_Field := (As_Array => False, Val => 16#0#);
   Reserved_8_31 : HAL.UInt24 := 16#0#;
end record;
Record fields
CH

unspecified

Reserved_8_31

INTE_CH_Field

type INTE_CH_Field
  (As_Array : Boolean := False)
is record
   case As_Array is
      when False =>
         Val : HAL.UInt8;
      when True =>
         Arr : INTE_CH_Field_Array;
   end case;
end record;
Record fields
As_Array
Val
Arr

INTE_CH_Field_Array

type INTE_CH_Field_Array is array (0 .. 7) of Boolean
  with Component_Size => 1, Size => 8;

INTE_Register

type INTE_Register is record
   CH            : INTE_CH_Field := (As_Array => False, Val => 16#0#);
   Reserved_8_31 : HAL.UInt24 := 16#0#;
end record;
Record fields
CH

unspecified

Reserved_8_31

INTF_CH_Field

type INTF_CH_Field
  (As_Array : Boolean := False)
is record
   case As_Array is
      when False =>
         Val : HAL.UInt8;
      when True =>
         Arr : INTF_CH_Field_Array;
   end case;
end record;
Record fields
As_Array
Val
Arr

INTF_CH_Field_Array

type INTF_CH_Field_Array is array (0 .. 7) of Boolean
  with Component_Size => 1, Size => 8;

INTF_Register

type INTF_Register is record
   CH            : INTF_CH_Field := (As_Array => False, Val => 16#0#);
   Reserved_8_31 : HAL.UInt24 := 16#0#;
end record;
Record fields
CH

unspecified

Reserved_8_31

INTR_CH_Field

type INTR_CH_Field
  (As_Array : Boolean := False)
is record
   case As_Array is
      when False =>
         Val : HAL.UInt8;
      when True =>
         Arr : INTR_CH_Field_Array;
   end case;
end record;
Record fields
As_Array
Val
Arr

INTR_CH_Field_Array

type INTR_CH_Field_Array is array (0 .. 7) of Boolean
  with Component_Size => 1, Size => 8;

INTR_Register

type INTR_Register is record
   CH            : INTR_CH_Field := (As_Array => False, Val => 16#0#);
   Reserved_8_31 : HAL.UInt24 := 16#0#;
end record;
Record fields
CH

unspecified

Reserved_8_31

INTS_CH_Field

type INTS_CH_Field
  (As_Array : Boolean := False)
is record
   case As_Array is
      when False =>
         Val : HAL.UInt8;
      when True =>
         Arr : INTS_CH_Field_Array;
   end case;
end record;
Record fields
As_Array
Val
Arr

INTS_CH_Field_Array

type INTS_CH_Field_Array is array (0 .. 7) of Boolean
  with Component_Size => 1, Size => 8;

INTS_Register

type INTS_Register is record
   CH            : INTS_CH_Field;
   Reserved_8_31 : HAL.UInt24;
end record;
Record fields
CH

unspecified

Reserved_8_31

PWM_Periph

PWM_Periph : aliased PWM_Peripheral
  with Import, Address => PWM_Base;

PWM_Peripheral

type PWM_Peripheral is record
   CH0_CSR : aliased CH0_CSR_Register;
   CH0_DIV : aliased CH0_DIV_Register;
   CH0_CTR : aliased CH0_CTR_Register;
   CH0_CC  : aliased CH0_CC_Register;
   CH0_TOP : aliased CH0_TOP_Register;
   CH1_CSR : aliased CH1_CSR_Register;
   CH1_DIV : aliased CH1_DIV_Register;
   CH1_CTR : aliased CH1_CTR_Register;
   CH1_CC  : aliased CH1_CC_Register;
   CH1_TOP : aliased CH1_TOP_Register;
   CH2_CSR : aliased CH2_CSR_Register;
   CH2_DIV : aliased CH2_DIV_Register;
   CH2_CTR : aliased CH2_CTR_Register;
   CH2_CC  : aliased CH2_CC_Register;
   CH2_TOP : aliased CH2_TOP_Register;
   CH3_CSR : aliased CH3_CSR_Register;
   CH3_DIV : aliased CH3_DIV_Register;
   CH3_CTR : aliased CH3_CTR_Register;
   CH3_CC  : aliased CH3_CC_Register;
   CH3_TOP : aliased CH3_TOP_Register;
   CH4_CSR : aliased CH4_CSR_Register;
   CH4_DIV : aliased CH4_DIV_Register;
   CH4_CTR : aliased CH4_CTR_Register;
   CH4_CC  : aliased CH4_CC_Register;
   CH4_TOP : aliased CH4_TOP_Register;
   CH5_CSR : aliased CH5_CSR_Register;
   CH5_DIV : aliased CH5_DIV_Register;
   CH5_CTR : aliased CH5_CTR_Register;
   CH5_CC  : aliased CH5_CC_Register;
   CH5_TOP : aliased CH5_TOP_Register;
   CH6_CSR : aliased CH6_CSR_Register;
   CH6_DIV : aliased CH6_DIV_Register;
   CH6_CTR : aliased CH6_CTR_Register;
   CH6_CC  : aliased CH6_CC_Register;
   CH6_TOP : aliased CH6_TOP_Register;
   CH7_CSR : aliased CH7_CSR_Register;
   CH7_DIV : aliased CH7_DIV_Register;
   CH7_CTR : aliased CH7_CTR_Register;
   CH7_CC  : aliased CH7_CC_Register;
   CH7_TOP : aliased CH7_TOP_Register;
   EN      : aliased EN_Register;
   INTR    : aliased INTR_Register;
   INTE    : aliased INTE_Register;
   INTF    : aliased INTF_Register;
   INTS    : aliased INTS_Register;
end record;
Record fields
CH0_CSR

INT and FRAC form a fixed-point fractional number.\n Counting rate is system clock frequency divided by this number.\n Fractional division uses simple 1st-order sigma-delta.

CH0_DIV

Direct access to the PWM counter

CH0_CTR

Counter compare values

CH0_CC

Counter wrap value

CH0_TOP

Control and status register

CH1_CSR

INT and FRAC form a fixed-point fractional number.\n Counting rate is system clock frequency divided by this number.\n Fractional division uses simple 1st-order sigma-delta.

CH1_DIV

Direct access to the PWM counter

CH1_CTR

Counter compare values

CH1_CC

Counter wrap value

CH1_TOP

Control and status register

CH2_CSR

INT and FRAC form a fixed-point fractional number.\n Counting rate is system clock frequency divided by this number.\n Fractional division uses simple 1st-order sigma-delta.

CH2_DIV

Direct access to the PWM counter

CH2_CTR

Counter compare values

CH2_CC

Counter wrap value

CH2_TOP

Control and status register

CH3_CSR

INT and FRAC form a fixed-point fractional number.\n Counting rate is system clock frequency divided by this number.\n Fractional division uses simple 1st-order sigma-delta.

CH3_DIV

Direct access to the PWM counter

CH3_CTR

Counter compare values

CH3_CC

Counter wrap value

CH3_TOP

Control and status register

CH4_CSR

INT and FRAC form a fixed-point fractional number.\n Counting rate is system clock frequency divided by this number.\n Fractional division uses simple 1st-order sigma-delta.

CH4_DIV

Direct access to the PWM counter

CH4_CTR

Counter compare values

CH4_CC

Counter wrap value

CH4_TOP

Control and status register

CH5_CSR

INT and FRAC form a fixed-point fractional number.\n Counting rate is system clock frequency divided by this number.\n Fractional division uses simple 1st-order sigma-delta.

CH5_DIV

Direct access to the PWM counter

CH5_CTR

Counter compare values

CH5_CC

Counter wrap value

CH5_TOP

Control and status register

CH6_CSR

INT and FRAC form a fixed-point fractional number.\n Counting rate is system clock frequency divided by this number.\n Fractional division uses simple 1st-order sigma-delta.

CH6_DIV

Direct access to the PWM counter

CH6_CTR

Counter compare values

CH6_CC

Counter wrap value

CH6_TOP

Control and status register

CH7_CSR

INT and FRAC form a fixed-point fractional number.\n Counting rate is system clock frequency divided by this number.\n Fractional division uses simple 1st-order sigma-delta.

CH7_DIV

Direct access to the PWM counter

CH7_CTR

Counter compare values

CH7_CC

Counter wrap value

CH7_TOP

This register aliases the CSR_EN bits for all channels.\n Writing to this register allows multiple channels to be enabled\n or disabled simultaneously, so they can run in perfect sync.\n For each channel, there is only one physical EN register bit,\n which can be accessed through here or CHx_CSR.

EN

Raw Interrupts

INTR

Interrupt Enable

INTE

Interrupt Force

INTF

Interrupt status after masking & forcing

INTS