\n

BPWM

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x24 byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x50 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x40 Bytes (0x0)
size : 0x8 byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x58 Bytes (0x0)
size : 0x10 byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x78 Bytes (0x0)
size : 0x8 byte (0x0)
mem_usage : registers
protection : not protected

Registers

BPWM_CLKPSC (CLKPSC)

BPWM_CMPDAT0 (CMPDAT0)

BPWM_DAT0 (DAT0)

BPWM_PERIOD1 (PERIOD1)

BPWM_CMPDAT1 (CMPDAT1)

BPWM_DAT1 (DAT1)

BPWM_CLKDIV (CLKDIV)

BPWM_INTEN (INTEN)

BPWM_INTSTS (INTSTS)

BPWM_CAPCTL (CAPCTL)

BPWM_CAPDRL0 (CAPDRL0)

BPWM_CAPDFL0 (CAPDFL0)

BPWM_CAPDRL1 (CAPDRL1)

BPWM_CAPDFL1 (CAPDFL1)

BPWM_CAPEN (CAPEN)

BPWM_POEN (POEN)

BPWM_CTL (CTL)

BPWM_PERIOD0 (PERIOD0)


BPWM_CLKPSC (CLKPSC)

Basic PWM Pre-scalar Register
address_offset : 0x0 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

BPWM_CLKPSC BPWM_CLKPSC read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CP01 DZI01

CP01 : Clock Prescaler\nClock input is divided by (CP01 + 1) before it is fed to the corresponding PWM-timer\n
bits : 0 - 7 (8 bit)
access : read-write

DZI01 : Dead-zone Interval for Pair of Channel 0 and Channel 1\nThese 8-bit determine the Dead-zone length.\n
bits : 16 - 23 (8 bit)
access : read-write


BPWM_CMPDAT0 (CMPDAT0)

Basic PWM Comparator Register 0
address_offset : 0x10 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

BPWM_CMPDAT0 BPWM_CMPDAT0 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CMP

CMP : PWM Comparator Register\nCMP determines the PWM duty.\nNote: Any write to PERIOD will take effect in next PWM cycle.
bits : 0 - 15 (16 bit)
access : read-write


BPWM_DAT0 (DAT0)

Basic PWM Data Register 0
address_offset : 0x14 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

BPWM_DAT0 BPWM_DAT0 read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PDR

PDR : PWM Data Register\nUser can monitor PDR to know the current value in 16-bit counter.
bits : 0 - 15 (16 bit)
access : read-only


BPWM_PERIOD1 (PERIOD1)


address_offset : 0x18 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

BPWM_PERIOD1 BPWM_PERIOD1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

BPWM_CMPDAT1 (CMPDAT1)


address_offset : 0x1C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

BPWM_CMPDAT1 BPWM_CMPDAT1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

BPWM_DAT1 (DAT1)


address_offset : 0x20 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

BPWM_DAT1 BPWM_DAT1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

BPWM_CLKDIV (CLKDIV)

Basic PWM Clock Source Divider Select Register
address_offset : 0x4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

BPWM_CLKDIV BPWM_CLKDIV read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CLKDIV0 CLKDIV1

CLKDIV0 : PWM Timer 0 Clock Source Divider Selection\nSelect clock source divider for PWM timer 0.\n(Table is the same as CLKDIV1)
bits : 0 - 2 (3 bit)
access : read-write

CLKDIV1 : PWM Timer 1 Clock Source Divider Selection\nSelect clock source divider for PWM timer 1.\n
bits : 4 - 6 (3 bit)
access : read-write

Enumeration:

#000 : 0

1/2

#001 : 1

1/4

#010 : 2

1/8

#011 : 3

1/16

#100 : 4

1

End of enumeration elements list.


BPWM_INTEN (INTEN)

Basic PWM Interrupt Enable Register
address_offset : 0x40 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

BPWM_INTEN BPWM_INTEN read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BPWMPIE0 BPWMPIE1 BPWMDIE0 BPWMDIE1 INTTYPE

BPWMPIE0 : BPWM Channel 0 Period Interrupt Enable Bit \n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

BPWM Channel 0 Period Interrupt Disabled

#1 : 1

BPWM Channel 0 Period Interrupt Enabled

End of enumeration elements list.

BPWMPIE1 : BPWM Channel 1 Period Interrupt Enable Bit\n
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

BPWM Channel 1 Period Interrupt Disabled

#1 : 1

BPWM Channel 1 Period Interrupt Enabled

End of enumeration elements list.

BPWMDIE0 : BPWM Channel 0 Duty Interrupt Enable Bit\n
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

BPWM Channel 0 Duty Interrupt Disabled

#1 : 1

BPWM Channel 0 Duty Interrupt Enabled

End of enumeration elements list.

BPWMDIE1 : BPWM Channel 1 Duty Interrupt Enable Bit\n
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

#0 : 0

BPWM Channel 1 Duty Interrupt Disabled

#1 : 1

BPWM Channel 1 Duty Interrupt Enabled

End of enumeration elements list.

INTTYPE : BPWM Interrupt Period Type Selection Bit\nNote: This bit is effective when BPWM in Center-aligned type only.
bits : 16 - 16 (1 bit)
access : read-write

Enumeration:

#0 : 0

BPWMIFn will be set if BPWM counter underflow

#1 : 1

BPWMIFn will be set if BPWM counter matches PERIODn register

End of enumeration elements list.


BPWM_INTSTS (INTSTS)

Basic PWM Interrupt Indication Register
address_offset : 0x44 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

BPWM_INTSTS BPWM_INTSTS read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BPWMPIF0 BPWMPIF1 BPWMDIF0 BPWMDIF1

BPWMPIF0 : BPWM Channel 0 Period Interrupt Status\nThis bit is set by hardware when BPWM0 counter reaches the requirement of interrupt (depend on INTTYPE bit of PWM_INTEN register), software can write 1 to clear this bit to 0.
bits : 0 - 0 (1 bit)
access : read-write

BPWMPIF1 : BPWM Channel 1 Period Interrupt Status\nThis bit is set by hardware when BPWM1 counter reaches the requirement of interrupt (depend on INTTYPE bit of PWM_INTEN register), software can write 1 to clear this bit to 0.
bits : 1 - 1 (1 bit)
access : read-write

BPWMDIF0 : BPWM Channel 0 Duty Interrupt Flag\nFlag is set by hardware when channel 0 BPWM counter down count and reaches CMP0, software can clear this bit by writing a one to it.\nNote: If CMP equal to PERIOD, this flag is not working in Edge-aligned type selection
bits : 8 - 8 (1 bit)
access : read-write

BPWMDIF1 : BPWM Channel 1 Duty Interrupt Flag\nFlag is set by hardware when channel 1 BPWM counter down count and reaches CMP1, software can clear this bit by writing a one to it.\nNote: If CMP equal to PERIOD, this flag is not working in Edge-aligned type selection
bits : 9 - 9 (1 bit)
access : read-write


BPWM_CAPCTL (CAPCTL)

Basic PWM Capture Control Register
address_offset : 0x50 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

BPWM_CAPCTL BPWM_CAPCTL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 INV0 CRL_IE0 CFL_IE0 CAPCH0EN CAPIF0 CRLRI0 CFLRI0 INV1 CRL_IE1 CFL_IE1 CAPCH1EN CAPIF1 CRLRI1 CFLRI1

INV0 : Channel 0 Inverter Enable Bit\n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Inverter Disabled

#1 : 1

Inverter Enabled. Reverse the input signal from GPIO before fed to Capture timer

End of enumeration elements list.

CRL_IE0 : Channel 0 Rising Latch Interrupt Enable Bit\nWhen Enabled, if Capture detects BPWM channel 0 has rising transition, Capture will issue an Interrupt.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Rising latch interrupt Disabled

#1 : 1

Rising latch interrupt Enabled

End of enumeration elements list.

CFL_IE0 : Channel 0 Falling Latch Interrupt Enable BIt\nWhen Enabled, if Capture detects BPWM channel 0 has falling transition, Capture will issue an Interrupt.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Falling latch interrupt Disabled

#1 : 1

Falling latch interrupt Enabled

End of enumeration elements list.

CAPCH0EN : Channel 0 Capture Function Enable Bit\nWhen Enabled, Capture latched the BPWM-counter value and saved to CRLR (Rising latch) and CFLR (Falling latch).\nWhen Disabled, Capture does not update CRLR and CFLR, and disable BPWM channel 0 Interrupt.
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

Capture function on BPWM channel 0 Disabled

#1 : 1

Capture function on BPWM channel 0 Enabled

End of enumeration elements list.

CAPIF0 : Channel 0 Capture Interrupt Indication Flag\nWrite 1 to clear this bit to 0.
bits : 4 - 4 (1 bit)
access : read-write

CRLRI0 : BPWM_CAPDRL0Latched Indicator Bit\nWhen BPWM input channel 0 has a rising transition, BPWM_CAPDRL0 was latched with the value of BPWM down-counter and this bit is set by hardware.\nSoftware can write 1 to clear this bit to 0.
bits : 6 - 6 (1 bit)
access : read-write

CFLRI0 : BPWM_CAPDRL0 Latched Indicator Bit\nWhen BPWM input channel 0 has a falling transition, BPWM_CAPDRL0 was latched with the value of BPWM down-counter and this bit is set by hardware.\nSoftware can write 1 to clear this bit to0.
bits : 7 - 7 (1 bit)
access : read-write

INV1 : Channel 1 Inverter Enable Bit\n
bits : 16 - 16 (1 bit)
access : read-write

Enumeration:

#0 : 0

Inverter Disabled

#1 : 1

Inverter Enabled. Reverse the input signal from GPIO before fed to Capture timer

End of enumeration elements list.

CRL_IE1 : Channel 1 Rising Latch Interrupt Enable Bit\nWhen Enabled, if Capture detects BPWM channel 1 has rising transition, Capture will issue an Interrupt.
bits : 17 - 17 (1 bit)
access : read-write

Enumeration:

#0 : 0

Rising latch interrupt Disabled

#1 : 1

Rising latch interrupt Enabled

End of enumeration elements list.

CFL_IE1 : Channel 1 Falling Latch Interrupt Enable\nWhen Enabled, if Capture detects BPWM channel 1 has falling transition, Capture will issue an Interrupt.
bits : 18 - 18 (1 bit)
access : read-write

Enumeration:

#0 : 0

Falling latch interrupt Disabled

#1 : 1

Falling latch interrupt Enabled

End of enumeration elements list.

CAPCH1EN : Channel 1 Capture Function Enable Bit\nWhen Enabled, Capture latched the BPWM-counter and saved to CRLR (Rising latch) and CFLR (Falling latch).\nWhen Disabled, Capture does not update CRLR and CFLR, and disable PWM channel 1 Interrupt.
bits : 19 - 19 (1 bit)
access : read-write

Enumeration:

#0 : 0

Capture function on BPWM channel 1 Disabled

#1 : 1

Capture function on BPWM channel 1 Enabled

End of enumeration elements list.

CAPIF1 : Channel 1 Capture Interrupt Indication Flag\nWrite 1 to clear this bit to 0.
bits : 20 - 20 (1 bit)
access : read-write

CRLRI1 : CRLR1 Latched Indicator Bit\nWhen BPWM input channel 1 has a rising transition, CRLR1 was latched with the value of BPWM down-counter and this bit is set by hardware.\nSoftware can write 1 to clear this bit to0.
bits : 22 - 22 (1 bit)
access : read-write

CFLRI1 : CFLR1 Latched Indicator Bit\nWhen BPWM input channel 1 has a falling transition, CFLR1 was latched with the value of BPWM down-counter and this bit is set by hardware.\nSoftware can write 1 to clear this bit to 0
bits : 23 - 23 (1 bit)
access : read-write


BPWM_CAPDRL0 (CAPDRL0)

Basic PWM Capture Rising Latch Register (Channel 0)
address_offset : 0x58 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

BPWM_CAPDRL0 BPWM_CAPDRL0 read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CRLR

CRLR : Capture Rising Latch Register\nLatch the BPWM counter when Channel 0/1 has rising transition.
bits : 0 - 15 (16 bit)
access : read-only


BPWM_CAPDFL0 (CAPDFL0)

Basic PWM Capture Falling Latch Register (Channel 0)
address_offset : 0x5C Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

BPWM_CAPDFL0 BPWM_CAPDFL0 read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CFLR

CFLR : Capture Falling Latch Register\nLatch the BPWM counter when Channel 0/1 has Falling transition.
bits : 0 - 15 (16 bit)
access : read-only


BPWM_CAPDRL1 (CAPDRL1)


address_offset : 0x60 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

BPWM_CAPDRL1 BPWM_CAPDRL1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

BPWM_CAPDFL1 (CAPDFL1)


address_offset : 0x64 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

BPWM_CAPDFL1 BPWM_CAPDFL1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

BPWM_CAPEN (CAPEN)

Basic PWM Capture Input Enable Register
address_offset : 0x78 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

BPWM_CAPEN BPWM_CAPEN read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CINEN0 CINEN1

CINEN0 : Channel 0 Capture Input Enable Bit\n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

BPWM Channel 0 capture input path Disabled. The input of BPWM channel 0 capture function is always regarded as 0

#1 : 1

BPWM Channel 0 capture input path Enabled. The input of BPWM channel 0 capture function comes from correlative multifunction pin if GPIO multi-function is set as PWM20

End of enumeration elements list.

CINEN1 : Channel 1 Capture Input Enable Bit\n
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

BPWM Channel 1 capture input path Disabled. The input of BPWM channel 1 capture function is always regarded as 0

#1 : 1

BPWM Channel 1 capture input path Enabled. The input of BPWM channel 1 capture function comes from correlative multifunction pin if GPIO multi-function is set as PWM21

End of enumeration elements list.


BPWM_POEN (POEN)

Basic PWM Output Enable
address_offset : 0x7C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

BPWM_POEN BPWM_POEN read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 POE0 POE1

POE0 : Channel 0 Output Enable Register\nNote: The corresponding GPIO pin must also be switched to BPWM function
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

BPWM channel 0 output to pin Disabled

#1 : 1

BPWM channel 0 output to pin Enabled

End of enumeration elements list.

POE1 : Channel 1 Output Enable Register\nNote: The corresponding GPIO pin must also be switched to BPWM function
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

BPWM channel 1 output to pin Disabled

#1 : 1

BPWM channel 1 output to pin Enabled

End of enumeration elements list.


BPWM_CTL (CTL)

Basic PWM Control Register
address_offset : 0x8 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

BPWM_CTL BPWM_CTL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CH0EN CH0PINV CH0INV CH0MOD DZEN01 CH1EN CH1PINV CH1INV CH1MOD PWM01TYPE

CH0EN : PWM-timer 0 Enable Bit\n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

The corresponding PWM-Timer stops running

#1 : 1

The corresponding PWM-Timer starts running

End of enumeration elements list.

CH0PINV : PWM-timer 0 Output Polar Inverse Enable Bit\n
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

PWM0 output polar inverse Disabled

#1 : 1

PWM0 output polar inverse Enabled

End of enumeration elements list.

CH0INV : PWM-timer 0 Output Inverter Enable Bit\n
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Inverter Disabled

#1 : 1

Inverter Enabled

End of enumeration elements list.

CH0MOD : PWM-timer 0 Auto-reload/One-shot Mode\nNote: If there is a transition at this bit, it will cause PWM_PERIOD0 and CMP0 be cleared.
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

One-shot mode

#1 : 1

Auto-reload mode

End of enumeration elements list.

DZEN01 : Dead-zone 0 Generator Enable Bit\nNote: When Dead-zone generator is enabled, the pair of PWM0 and PWM1 becomes a complementary pair.
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

Dead-zone 0 Generato Disabled

#1 : 1

Dead-zone 0 Generato Enabled

End of enumeration elements list.

CH1EN : PWM-timer 1 Enable Bit\n
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

Corresponding PWM-Timer Stopped

#1 : 1

Corresponding PWM-Timer Start Running

End of enumeration elements list.

CH1PINV : PWM-timer 1 Output Polar Inverse Enable Bit\n
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

#0 : 0

PWM1 output polar inverse Disabled

#1 : 1

PWM1 output polar inverse Enabled

End of enumeration elements list.

CH1INV : PWM-timer 1 Output Inverter Enable\n
bits : 10 - 10 (1 bit)
access : read-write

Enumeration:

#0 : 0

Inverter Disabled

#1 : 1

Inverter Enabled

End of enumeration elements list.

CH1MOD : PWM-timer 1 Auto-reload/One-shot Mode\nNote: If there is a transition at this bit, it will cause PERIOD1 and CMP1 be cleared.
bits : 11 - 11 (1 bit)
access : read-write

Enumeration:

#0 : 0

One-shot mode

#1 : 1

Auto-reload mode

End of enumeration elements list.

PWM01TYPE : PWM01 Aligned Type Selection Bit \n
bits : 30 - 30 (1 bit)
access : read-write

Enumeration:

#0 : 0

Edge-aligned type

#1 : 1

Center-aligned type

End of enumeration elements list.


BPWM_PERIOD0 (PERIOD0)

Basic PWM Period Counter Register 0
address_offset : 0xC Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

BPWM_PERIOD0 BPWM_PERIOD0 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PERIOD

PERIOD : Basic PWM Period Counter Register\nPERIOD data determines the PWM period.\nNote: Any write to PERIOD will take effect in next PWM cycle.\nNote: When PWM operating at Center-aligned type, PERIOD value should be set between 0x0000 to 0xFFFE. If PERIOD equal to 0xFFFF, the PWM will work unpredictable.\nNote: When PERIOD value is set to 0, PWM output is always high.
bits : 0 - 15 (16 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 EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.