address_offset : 0x0 Bytes (0x0)
size : 0x110 byte (0x0)
mem_usage : registers
protection :
Control and status register
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EN : Enable the PWM channel.
bits : 0 - 0 (1 bit)
access : read-write
PH_CORRECT : 1: Enable phase-correct modulation. 0: Trailing-edge
bits : 1 - 1 (1 bit)
access : read-write
A_INV : Invert output A
bits : 2 - 2 (1 bit)
access : read-write
B_INV : Invert output B
bits : 3 - 3 (1 bit)
access : read-write
DIVMODE :
bits : 4 - 5 (2 bit)
access : read-write
Enumeration:
0 : div
Free-running counting at rate dictated by fractional divider
1 : level
Fractional divider operation is gated by the PWM B pin.
2 : rise
Counter advances with each rising edge of the PWM B pin.
3 : fall
Counter advances with each falling edge of the PWM B pin.
End of enumeration elements list.
PH_RET : Retard the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running.
bits : 6 - 6 (1 bit)
access : write-only
PH_ADV : Advance the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running
at less than full speed (div_int + div_frac / 16 > 1)
bits : 7 - 7 (1 bit)
access : write-only
Counter wrap value
address_offset : 0x10 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH0_TOP :
bits : 0 - 15 (16 bit)
access : read-write
Interrupt status after masking & forcing for irq0
address_offset : 0x100 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH0 :
bits : 0 - 0 (1 bit)
access : read-only
CH1 :
bits : 1 - 1 (1 bit)
access : read-only
CH2 :
bits : 2 - 2 (1 bit)
access : read-only
CH3 :
bits : 3 - 3 (1 bit)
access : read-only
CH4 :
bits : 4 - 4 (1 bit)
access : read-only
CH5 :
bits : 5 - 5 (1 bit)
access : read-only
CH6 :
bits : 6 - 6 (1 bit)
access : read-only
CH7 :
bits : 7 - 7 (1 bit)
access : read-only
CH8 :
bits : 8 - 8 (1 bit)
access : read-only
CH9 :
bits : 9 - 9 (1 bit)
access : read-only
CH10 :
bits : 10 - 10 (1 bit)
access : read-only
CH11 :
bits : 11 - 11 (1 bit)
access : read-only
Interrupt Enable for irq1
address_offset : 0x104 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH0 :
bits : 0 - 0 (1 bit)
access : read-write
CH1 :
bits : 1 - 1 (1 bit)
access : read-write
CH2 :
bits : 2 - 2 (1 bit)
access : read-write
CH3 :
bits : 3 - 3 (1 bit)
access : read-write
CH4 :
bits : 4 - 4 (1 bit)
access : read-write
CH5 :
bits : 5 - 5 (1 bit)
access : read-write
CH6 :
bits : 6 - 6 (1 bit)
access : read-write
CH7 :
bits : 7 - 7 (1 bit)
access : read-write
CH8 :
bits : 8 - 8 (1 bit)
access : read-write
CH9 :
bits : 9 - 9 (1 bit)
access : read-write
CH10 :
bits : 10 - 10 (1 bit)
access : read-write
CH11 :
bits : 11 - 11 (1 bit)
access : read-write
Interrupt Force for irq1
address_offset : 0x108 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH0 :
bits : 0 - 0 (1 bit)
access : read-write
CH1 :
bits : 1 - 1 (1 bit)
access : read-write
CH2 :
bits : 2 - 2 (1 bit)
access : read-write
CH3 :
bits : 3 - 3 (1 bit)
access : read-write
CH4 :
bits : 4 - 4 (1 bit)
access : read-write
CH5 :
bits : 5 - 5 (1 bit)
access : read-write
CH6 :
bits : 6 - 6 (1 bit)
access : read-write
CH7 :
bits : 7 - 7 (1 bit)
access : read-write
CH8 :
bits : 8 - 8 (1 bit)
access : read-write
CH9 :
bits : 9 - 9 (1 bit)
access : read-write
CH10 :
bits : 10 - 10 (1 bit)
access : read-write
CH11 :
bits : 11 - 11 (1 bit)
access : read-write
Interrupt status after masking & forcing for irq1
address_offset : 0x10C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH0 :
bits : 0 - 0 (1 bit)
access : read-only
CH1 :
bits : 1 - 1 (1 bit)
access : read-only
CH2 :
bits : 2 - 2 (1 bit)
access : read-only
CH3 :
bits : 3 - 3 (1 bit)
access : read-only
CH4 :
bits : 4 - 4 (1 bit)
access : read-only
CH5 :
bits : 5 - 5 (1 bit)
access : read-only
CH6 :
bits : 6 - 6 (1 bit)
access : read-only
CH7 :
bits : 7 - 7 (1 bit)
access : read-only
CH8 :
bits : 8 - 8 (1 bit)
access : read-only
CH9 :
bits : 9 - 9 (1 bit)
access : read-only
CH10 :
bits : 10 - 10 (1 bit)
access : read-only
CH11 :
bits : 11 - 11 (1 bit)
access : read-only
Control and status register
address_offset : 0x14 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EN : Enable the PWM channel.
bits : 0 - 0 (1 bit)
access : read-write
PH_CORRECT : 1: Enable phase-correct modulation. 0: Trailing-edge
bits : 1 - 1 (1 bit)
access : read-write
A_INV : Invert output A
bits : 2 - 2 (1 bit)
access : read-write
B_INV : Invert output B
bits : 3 - 3 (1 bit)
access : read-write
DIVMODE :
bits : 4 - 5 (2 bit)
access : read-write
Enumeration:
0 : div
Free-running counting at rate dictated by fractional divider
1 : level
Fractional divider operation is gated by the PWM B pin.
2 : rise
Counter advances with each rising edge of the PWM B pin.
3 : fall
Counter advances with each falling edge of the PWM B pin.
End of enumeration elements list.
PH_RET : Retard the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running.
bits : 6 - 6 (1 bit)
access : write-only
PH_ADV : Advance the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running
at less than full speed (div_int + div_frac / 16 > 1)
bits : 7 - 7 (1 bit)
access : write-only
INT and FRAC form a fixed-point fractional number.
Counting rate is system clock frequency divided by this number.
Fractional division uses simple 1st-order sigma-delta.
address_offset : 0x18 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
FRAC :
bits : 0 - 3 (4 bit)
access : read-write
INT :
bits : 4 - 11 (8 bit)
access : read-write
Direct access to the PWM counter
address_offset : 0x1C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH1_CTR :
bits : 0 - 15 (16 bit)
access : read-write
Counter compare values
address_offset : 0x20 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
A :
bits : 0 - 15 (16 bit)
access : read-write
B :
bits : 16 - 31 (16 bit)
access : read-write
Counter wrap value
address_offset : 0x24 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH1_TOP :
bits : 0 - 15 (16 bit)
access : read-write
Control and status register
address_offset : 0x28 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EN : Enable the PWM channel.
bits : 0 - 0 (1 bit)
access : read-write
PH_CORRECT : 1: Enable phase-correct modulation. 0: Trailing-edge
bits : 1 - 1 (1 bit)
access : read-write
A_INV : Invert output A
bits : 2 - 2 (1 bit)
access : read-write
B_INV : Invert output B
bits : 3 - 3 (1 bit)
access : read-write
DIVMODE :
bits : 4 - 5 (2 bit)
access : read-write
Enumeration:
0 : div
Free-running counting at rate dictated by fractional divider
1 : level
Fractional divider operation is gated by the PWM B pin.
2 : rise
Counter advances with each rising edge of the PWM B pin.
3 : fall
Counter advances with each falling edge of the PWM B pin.
End of enumeration elements list.
PH_RET : Retard the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running.
bits : 6 - 6 (1 bit)
access : write-only
PH_ADV : Advance the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running
at less than full speed (div_int + div_frac / 16 > 1)
bits : 7 - 7 (1 bit)
access : write-only
INT and FRAC form a fixed-point fractional number.
Counting rate is system clock frequency divided by this number.
Fractional division uses simple 1st-order sigma-delta.
address_offset : 0x2C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
FRAC :
bits : 0 - 3 (4 bit)
access : read-write
INT :
bits : 4 - 11 (8 bit)
access : read-write
Direct access to the PWM counter
address_offset : 0x30 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH2_CTR :
bits : 0 - 15 (16 bit)
access : read-write
Counter compare values
address_offset : 0x34 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
A :
bits : 0 - 15 (16 bit)
access : read-write
B :
bits : 16 - 31 (16 bit)
access : read-write
Counter wrap value
address_offset : 0x38 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH2_TOP :
bits : 0 - 15 (16 bit)
access : read-write
Control and status register
address_offset : 0x3C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EN : Enable the PWM channel.
bits : 0 - 0 (1 bit)
access : read-write
PH_CORRECT : 1: Enable phase-correct modulation. 0: Trailing-edge
bits : 1 - 1 (1 bit)
access : read-write
A_INV : Invert output A
bits : 2 - 2 (1 bit)
access : read-write
B_INV : Invert output B
bits : 3 - 3 (1 bit)
access : read-write
DIVMODE :
bits : 4 - 5 (2 bit)
access : read-write
Enumeration:
0 : div
Free-running counting at rate dictated by fractional divider
1 : level
Fractional divider operation is gated by the PWM B pin.
2 : rise
Counter advances with each rising edge of the PWM B pin.
3 : fall
Counter advances with each falling edge of the PWM B pin.
End of enumeration elements list.
PH_RET : Retard the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running.
bits : 6 - 6 (1 bit)
access : write-only
PH_ADV : Advance the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running
at less than full speed (div_int + div_frac / 16 > 1)
bits : 7 - 7 (1 bit)
access : write-only
INT and FRAC form a fixed-point fractional number.
Counting rate is system clock frequency divided by this number.
Fractional division uses simple 1st-order sigma-delta.
address_offset : 0x4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
FRAC :
bits : 0 - 3 (4 bit)
access : read-write
INT :
bits : 4 - 11 (8 bit)
access : read-write
INT and FRAC form a fixed-point fractional number.
Counting rate is system clock frequency divided by this number.
Fractional division uses simple 1st-order sigma-delta.
address_offset : 0x40 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
FRAC :
bits : 0 - 3 (4 bit)
access : read-write
INT :
bits : 4 - 11 (8 bit)
access : read-write
Direct access to the PWM counter
address_offset : 0x44 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH3_CTR :
bits : 0 - 15 (16 bit)
access : read-write
Counter compare values
address_offset : 0x48 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
A :
bits : 0 - 15 (16 bit)
access : read-write
B :
bits : 16 - 31 (16 bit)
access : read-write
Counter wrap value
address_offset : 0x4C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH3_TOP :
bits : 0 - 15 (16 bit)
access : read-write
Control and status register
address_offset : 0x50 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EN : Enable the PWM channel.
bits : 0 - 0 (1 bit)
access : read-write
PH_CORRECT : 1: Enable phase-correct modulation. 0: Trailing-edge
bits : 1 - 1 (1 bit)
access : read-write
A_INV : Invert output A
bits : 2 - 2 (1 bit)
access : read-write
B_INV : Invert output B
bits : 3 - 3 (1 bit)
access : read-write
DIVMODE :
bits : 4 - 5 (2 bit)
access : read-write
Enumeration:
0 : div
Free-running counting at rate dictated by fractional divider
1 : level
Fractional divider operation is gated by the PWM B pin.
2 : rise
Counter advances with each rising edge of the PWM B pin.
3 : fall
Counter advances with each falling edge of the PWM B pin.
End of enumeration elements list.
PH_RET : Retard the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running.
bits : 6 - 6 (1 bit)
access : write-only
PH_ADV : Advance the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running
at less than full speed (div_int + div_frac / 16 > 1)
bits : 7 - 7 (1 bit)
access : write-only
INT and FRAC form a fixed-point fractional number.
Counting rate is system clock frequency divided by this number.
Fractional division uses simple 1st-order sigma-delta.
address_offset : 0x54 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
FRAC :
bits : 0 - 3 (4 bit)
access : read-write
INT :
bits : 4 - 11 (8 bit)
access : read-write
Direct access to the PWM counter
address_offset : 0x58 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH4_CTR :
bits : 0 - 15 (16 bit)
access : read-write
Counter compare values
address_offset : 0x5C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
A :
bits : 0 - 15 (16 bit)
access : read-write
B :
bits : 16 - 31 (16 bit)
access : read-write
Counter wrap value
address_offset : 0x60 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH4_TOP :
bits : 0 - 15 (16 bit)
access : read-write
Control and status register
address_offset : 0x64 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EN : Enable the PWM channel.
bits : 0 - 0 (1 bit)
access : read-write
PH_CORRECT : 1: Enable phase-correct modulation. 0: Trailing-edge
bits : 1 - 1 (1 bit)
access : read-write
A_INV : Invert output A
bits : 2 - 2 (1 bit)
access : read-write
B_INV : Invert output B
bits : 3 - 3 (1 bit)
access : read-write
DIVMODE :
bits : 4 - 5 (2 bit)
access : read-write
Enumeration:
0 : div
Free-running counting at rate dictated by fractional divider
1 : level
Fractional divider operation is gated by the PWM B pin.
2 : rise
Counter advances with each rising edge of the PWM B pin.
3 : fall
Counter advances with each falling edge of the PWM B pin.
End of enumeration elements list.
PH_RET : Retard the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running.
bits : 6 - 6 (1 bit)
access : write-only
PH_ADV : Advance the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running
at less than full speed (div_int + div_frac / 16 > 1)
bits : 7 - 7 (1 bit)
access : write-only
INT and FRAC form a fixed-point fractional number.
Counting rate is system clock frequency divided by this number.
Fractional division uses simple 1st-order sigma-delta.
address_offset : 0x68 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
FRAC :
bits : 0 - 3 (4 bit)
access : read-write
INT :
bits : 4 - 11 (8 bit)
access : read-write
Direct access to the PWM counter
address_offset : 0x6C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH5_CTR :
bits : 0 - 15 (16 bit)
access : read-write
Counter compare values
address_offset : 0x70 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
A :
bits : 0 - 15 (16 bit)
access : read-write
B :
bits : 16 - 31 (16 bit)
access : read-write
Counter wrap value
address_offset : 0x74 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH5_TOP :
bits : 0 - 15 (16 bit)
access : read-write
Control and status register
address_offset : 0x78 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EN : Enable the PWM channel.
bits : 0 - 0 (1 bit)
access : read-write
PH_CORRECT : 1: Enable phase-correct modulation. 0: Trailing-edge
bits : 1 - 1 (1 bit)
access : read-write
A_INV : Invert output A
bits : 2 - 2 (1 bit)
access : read-write
B_INV : Invert output B
bits : 3 - 3 (1 bit)
access : read-write
DIVMODE :
bits : 4 - 5 (2 bit)
access : read-write
Enumeration:
0 : div
Free-running counting at rate dictated by fractional divider
1 : level
Fractional divider operation is gated by the PWM B pin.
2 : rise
Counter advances with each rising edge of the PWM B pin.
3 : fall
Counter advances with each falling edge of the PWM B pin.
End of enumeration elements list.
PH_RET : Retard the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running.
bits : 6 - 6 (1 bit)
access : write-only
PH_ADV : Advance the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running
at less than full speed (div_int + div_frac / 16 > 1)
bits : 7 - 7 (1 bit)
access : write-only
INT and FRAC form a fixed-point fractional number.
Counting rate is system clock frequency divided by this number.
Fractional division uses simple 1st-order sigma-delta.
address_offset : 0x7C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
FRAC :
bits : 0 - 3 (4 bit)
access : read-write
INT :
bits : 4 - 11 (8 bit)
access : read-write
Direct access to the PWM counter
address_offset : 0x8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH0_CTR :
bits : 0 - 15 (16 bit)
access : read-write
Direct access to the PWM counter
address_offset : 0x80 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH6_CTR :
bits : 0 - 15 (16 bit)
access : read-write
Counter compare values
address_offset : 0x84 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
A :
bits : 0 - 15 (16 bit)
access : read-write
B :
bits : 16 - 31 (16 bit)
access : read-write
Counter wrap value
address_offset : 0x88 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH6_TOP :
bits : 0 - 15 (16 bit)
access : read-write
Control and status register
address_offset : 0x8C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EN : Enable the PWM channel.
bits : 0 - 0 (1 bit)
access : read-write
PH_CORRECT : 1: Enable phase-correct modulation. 0: Trailing-edge
bits : 1 - 1 (1 bit)
access : read-write
A_INV : Invert output A
bits : 2 - 2 (1 bit)
access : read-write
B_INV : Invert output B
bits : 3 - 3 (1 bit)
access : read-write
DIVMODE :
bits : 4 - 5 (2 bit)
access : read-write
Enumeration:
0 : div
Free-running counting at rate dictated by fractional divider
1 : level
Fractional divider operation is gated by the PWM B pin.
2 : rise
Counter advances with each rising edge of the PWM B pin.
3 : fall
Counter advances with each falling edge of the PWM B pin.
End of enumeration elements list.
PH_RET : Retard the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running.
bits : 6 - 6 (1 bit)
access : write-only
PH_ADV : Advance the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running
at less than full speed (div_int + div_frac / 16 > 1)
bits : 7 - 7 (1 bit)
access : write-only
INT and FRAC form a fixed-point fractional number.
Counting rate is system clock frequency divided by this number.
Fractional division uses simple 1st-order sigma-delta.
address_offset : 0x90 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
FRAC :
bits : 0 - 3 (4 bit)
access : read-write
INT :
bits : 4 - 11 (8 bit)
access : read-write
Direct access to the PWM counter
address_offset : 0x94 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH7_CTR :
bits : 0 - 15 (16 bit)
access : read-write
Counter compare values
address_offset : 0x98 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
A :
bits : 0 - 15 (16 bit)
access : read-write
B :
bits : 16 - 31 (16 bit)
access : read-write
Counter wrap value
address_offset : 0x9C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH7_TOP :
bits : 0 - 15 (16 bit)
access : read-write
Control and status register
address_offset : 0xA0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EN : Enable the PWM channel.
bits : 0 - 0 (1 bit)
access : read-write
PH_CORRECT : 1: Enable phase-correct modulation. 0: Trailing-edge
bits : 1 - 1 (1 bit)
access : read-write
A_INV : Invert output A
bits : 2 - 2 (1 bit)
access : read-write
B_INV : Invert output B
bits : 3 - 3 (1 bit)
access : read-write
DIVMODE :
bits : 4 - 5 (2 bit)
access : read-write
Enumeration:
0 : div
Free-running counting at rate dictated by fractional divider
1 : level
Fractional divider operation is gated by the PWM B pin.
2 : rise
Counter advances with each rising edge of the PWM B pin.
3 : fall
Counter advances with each falling edge of the PWM B pin.
End of enumeration elements list.
PH_RET : Retard the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running.
bits : 6 - 6 (1 bit)
access : write-only
PH_ADV : Advance the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running
at less than full speed (div_int + div_frac / 16 > 1)
bits : 7 - 7 (1 bit)
access : write-only
INT and FRAC form a fixed-point fractional number.
Counting rate is system clock frequency divided by this number.
Fractional division uses simple 1st-order sigma-delta.
address_offset : 0xA4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
FRAC :
bits : 0 - 3 (4 bit)
access : read-write
INT :
bits : 4 - 11 (8 bit)
access : read-write
Direct access to the PWM counter
address_offset : 0xA8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH8_CTR :
bits : 0 - 15 (16 bit)
access : read-write
Counter compare values
address_offset : 0xAC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
A :
bits : 0 - 15 (16 bit)
access : read-write
B :
bits : 16 - 31 (16 bit)
access : read-write
Counter wrap value
address_offset : 0xB0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH8_TOP :
bits : 0 - 15 (16 bit)
access : read-write
Control and status register
address_offset : 0xB4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EN : Enable the PWM channel.
bits : 0 - 0 (1 bit)
access : read-write
PH_CORRECT : 1: Enable phase-correct modulation. 0: Trailing-edge
bits : 1 - 1 (1 bit)
access : read-write
A_INV : Invert output A
bits : 2 - 2 (1 bit)
access : read-write
B_INV : Invert output B
bits : 3 - 3 (1 bit)
access : read-write
DIVMODE :
bits : 4 - 5 (2 bit)
access : read-write
Enumeration:
0 : div
Free-running counting at rate dictated by fractional divider
1 : level
Fractional divider operation is gated by the PWM B pin.
2 : rise
Counter advances with each rising edge of the PWM B pin.
3 : fall
Counter advances with each falling edge of the PWM B pin.
End of enumeration elements list.
PH_RET : Retard the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running.
bits : 6 - 6 (1 bit)
access : write-only
PH_ADV : Advance the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running
at less than full speed (div_int + div_frac / 16 > 1)
bits : 7 - 7 (1 bit)
access : write-only
INT and FRAC form a fixed-point fractional number.
Counting rate is system clock frequency divided by this number.
Fractional division uses simple 1st-order sigma-delta.
address_offset : 0xB8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
FRAC :
bits : 0 - 3 (4 bit)
access : read-write
INT :
bits : 4 - 11 (8 bit)
access : read-write
Direct access to the PWM counter
address_offset : 0xBC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH9_CTR :
bits : 0 - 15 (16 bit)
access : read-write
Counter compare values
address_offset : 0xC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
A :
bits : 0 - 15 (16 bit)
access : read-write
B :
bits : 16 - 31 (16 bit)
access : read-write
Counter compare values
address_offset : 0xC0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
A :
bits : 0 - 15 (16 bit)
access : read-write
B :
bits : 16 - 31 (16 bit)
access : read-write
Counter wrap value
address_offset : 0xC4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH9_TOP :
bits : 0 - 15 (16 bit)
access : read-write
Control and status register
address_offset : 0xC8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EN : Enable the PWM channel.
bits : 0 - 0 (1 bit)
access : read-write
PH_CORRECT : 1: Enable phase-correct modulation. 0: Trailing-edge
bits : 1 - 1 (1 bit)
access : read-write
A_INV : Invert output A
bits : 2 - 2 (1 bit)
access : read-write
B_INV : Invert output B
bits : 3 - 3 (1 bit)
access : read-write
DIVMODE :
bits : 4 - 5 (2 bit)
access : read-write
Enumeration:
0 : div
Free-running counting at rate dictated by fractional divider
1 : level
Fractional divider operation is gated by the PWM B pin.
2 : rise
Counter advances with each rising edge of the PWM B pin.
3 : fall
Counter advances with each falling edge of the PWM B pin.
End of enumeration elements list.
PH_RET : Retard the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running.
bits : 6 - 6 (1 bit)
access : write-only
PH_ADV : Advance the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running
at less than full speed (div_int + div_frac / 16 > 1)
bits : 7 - 7 (1 bit)
access : write-only
INT and FRAC form a fixed-point fractional number.
Counting rate is system clock frequency divided by this number.
Fractional division uses simple 1st-order sigma-delta.
address_offset : 0xCC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
FRAC :
bits : 0 - 3 (4 bit)
access : read-write
INT :
bits : 4 - 11 (8 bit)
access : read-write
Direct access to the PWM counter
address_offset : 0xD0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH10_CTR :
bits : 0 - 15 (16 bit)
access : read-write
Counter compare values
address_offset : 0xD4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
A :
bits : 0 - 15 (16 bit)
access : read-write
B :
bits : 16 - 31 (16 bit)
access : read-write
Counter wrap value
address_offset : 0xD8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH10_TOP :
bits : 0 - 15 (16 bit)
access : read-write
Control and status register
address_offset : 0xDC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EN : Enable the PWM channel.
bits : 0 - 0 (1 bit)
access : read-write
PH_CORRECT : 1: Enable phase-correct modulation. 0: Trailing-edge
bits : 1 - 1 (1 bit)
access : read-write
A_INV : Invert output A
bits : 2 - 2 (1 bit)
access : read-write
B_INV : Invert output B
bits : 3 - 3 (1 bit)
access : read-write
DIVMODE :
bits : 4 - 5 (2 bit)
access : read-write
Enumeration:
0 : div
Free-running counting at rate dictated by fractional divider
1 : level
Fractional divider operation is gated by the PWM B pin.
2 : rise
Counter advances with each rising edge of the PWM B pin.
3 : fall
Counter advances with each falling edge of the PWM B pin.
End of enumeration elements list.
PH_RET : Retard the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running.
bits : 6 - 6 (1 bit)
access : write-only
PH_ADV : Advance the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running
at less than full speed (div_int + div_frac / 16 > 1)
bits : 7 - 7 (1 bit)
access : write-only
INT and FRAC form a fixed-point fractional number.
Counting rate is system clock frequency divided by this number.
Fractional division uses simple 1st-order sigma-delta.
address_offset : 0xE0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
FRAC :
bits : 0 - 3 (4 bit)
access : read-write
INT :
bits : 4 - 11 (8 bit)
access : read-write
Direct access to the PWM counter
address_offset : 0xE4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH11_CTR :
bits : 0 - 15 (16 bit)
access : read-write
Counter compare values
address_offset : 0xE8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
A :
bits : 0 - 15 (16 bit)
access : read-write
B :
bits : 16 - 31 (16 bit)
access : read-write
Counter wrap value
address_offset : 0xEC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH11_TOP :
bits : 0 - 15 (16 bit)
access : read-write
This register aliases the CSR_EN bits for all channels.
Writing to this register allows multiple channels to be enabled
or disabled simultaneously, so they can run in perfect sync.
For each channel, there is only one physical EN register bit,
which can be accessed through here or CHx_CSR.
address_offset : 0xF0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH0 :
bits : 0 - 0 (1 bit)
access : read-write
CH1 :
bits : 1 - 1 (1 bit)
access : read-write
CH2 :
bits : 2 - 2 (1 bit)
access : read-write
CH3 :
bits : 3 - 3 (1 bit)
access : read-write
CH4 :
bits : 4 - 4 (1 bit)
access : read-write
CH5 :
bits : 5 - 5 (1 bit)
access : read-write
CH6 :
bits : 6 - 6 (1 bit)
access : read-write
CH7 :
bits : 7 - 7 (1 bit)
access : read-write
CH8 :
bits : 8 - 8 (1 bit)
access : read-write
CH9 :
bits : 9 - 9 (1 bit)
access : read-write
CH10 :
bits : 10 - 10 (1 bit)
access : read-write
CH11 :
bits : 11 - 11 (1 bit)
access : read-write
Raw Interrupts
address_offset : 0xF4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH0 :
bits : 0 - 0 (1 bit)
access : read-write
CH1 :
bits : 1 - 1 (1 bit)
access : read-write
CH2 :
bits : 2 - 2 (1 bit)
access : read-write
CH3 :
bits : 3 - 3 (1 bit)
access : read-write
CH4 :
bits : 4 - 4 (1 bit)
access : read-write
CH5 :
bits : 5 - 5 (1 bit)
access : read-write
CH6 :
bits : 6 - 6 (1 bit)
access : read-write
CH7 :
bits : 7 - 7 (1 bit)
access : read-write
CH8 :
bits : 8 - 8 (1 bit)
access : read-write
CH9 :
bits : 9 - 9 (1 bit)
access : read-write
CH10 :
bits : 10 - 10 (1 bit)
access : read-write
CH11 :
bits : 11 - 11 (1 bit)
access : read-write
Interrupt Enable for irq0
address_offset : 0xF8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH0 :
bits : 0 - 0 (1 bit)
access : read-write
CH1 :
bits : 1 - 1 (1 bit)
access : read-write
CH2 :
bits : 2 - 2 (1 bit)
access : read-write
CH3 :
bits : 3 - 3 (1 bit)
access : read-write
CH4 :
bits : 4 - 4 (1 bit)
access : read-write
CH5 :
bits : 5 - 5 (1 bit)
access : read-write
CH6 :
bits : 6 - 6 (1 bit)
access : read-write
CH7 :
bits : 7 - 7 (1 bit)
access : read-write
CH8 :
bits : 8 - 8 (1 bit)
access : read-write
CH9 :
bits : 9 - 9 (1 bit)
access : read-write
CH10 :
bits : 10 - 10 (1 bit)
access : read-write
CH11 :
bits : 11 - 11 (1 bit)
access : read-write
Interrupt Force for irq0
address_offset : 0xFC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH0 :
bits : 0 - 0 (1 bit)
access : read-write
CH1 :
bits : 1 - 1 (1 bit)
access : read-write
CH2 :
bits : 2 - 2 (1 bit)
access : read-write
CH3 :
bits : 3 - 3 (1 bit)
access : read-write
CH4 :
bits : 4 - 4 (1 bit)
access : read-write
CH5 :
bits : 5 - 5 (1 bit)
access : read-write
CH6 :
bits : 6 - 6 (1 bit)
access : read-write
CH7 :
bits : 7 - 7 (1 bit)
access : read-write
CH8 :
bits : 8 - 8 (1 bit)
access : read-write
CH9 :
bits : 9 - 9 (1 bit)
access : read-write
CH10 :
bits : 10 - 10 (1 bit)
access : read-write
CH11 :
bits : 11 - 11 (1 bit)
access : read-write
Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !
This website is sponsored by
Embeetle, an IDE designed from scratch for embedded software developers.