-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LEDC clusters instead of arrays (#223)
* LEDC clusters instead of arrays * LEDC INT field arrays
- Loading branch information
Showing
145 changed files
with
7,776 additions
and
9,398 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
_expand_array: | ||
CH%s_CONF0: {} | ||
CH%s_HPOINT: {} | ||
CH%s_DUTY: {} | ||
CH%s_CONF1: {} | ||
CH%s_DUTY_R: {} | ||
|
||
TIMER%s_CONF: {} | ||
TIMER%s_VALUE: {} | ||
|
||
_cluster: | ||
CH%s: | ||
CH?_CONF0: | ||
name: CONF0 | ||
CH?_HPOINT: | ||
name: HPOINT | ||
CH?_DUTY: | ||
name: DUTY | ||
CH?_CONF1: | ||
name: CONF1 | ||
CH?_DUTY_R: | ||
name: DUTY_R | ||
_modify: | ||
"DUTY_R,DUTY_CH_R,DUTY_CH?_R": | ||
name: DUTY_R | ||
|
||
TIMER%s: | ||
TIMER?_CONF: | ||
name: CONF | ||
TIMER?_VALUE: | ||
name: VALUE | ||
_modify: | ||
"CNT,TIMER_CNT": | ||
name: CNT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
INT_RAW: | ||
_strip_end: _INT_RAW | ||
_array: | ||
TIMER?_OVF: | ||
description: Triggered when the timer%s has reached its maximum counter value. | ||
DUTY_CHNG_END_CH?: | ||
description: Interrupt raw bit for channel %s. Triggered when the gradual change of duty has finished. | ||
OVF_CNT_CH?: | ||
description: Interrupt raw bit for channel %s. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM. | ||
INT_ST: | ||
_strip_end: _INT_ST | ||
_array: | ||
TIMER?_OVF: | ||
description: This is the masked interrupt status bit for the TIMER%s_OVF interrupt when LEDC.INT_ENA.TIMERx_OVF is set to 1. | ||
DUTY_CHNG_END_CH?: | ||
description: This is the masked interrupt status bit for the DUTY_CHNG_END_CH%s interrupt when LEDC.INT_ENA.DUTY_CHNG_END_CHx is set to 1. | ||
OVF_CNT_CH?: | ||
description: This is the masked interrupt status bit for the LEDC.INT_RAW.OVF_CNT_CH%s interrupt when LEDC.INT_ENA.OVF_CNT_CHx is set to 1. | ||
INT_ENA: | ||
_strip_end: _INT_ENA | ||
_array: | ||
TIMER?_OVF: | ||
name: TIMER%s_OVF | ||
description: The interrupt enable bit for the TIMER%s_OVF interrupt. | ||
DUTY_CHNG_END_CH?: | ||
name: DUTY_CHNG_END_CH%s | ||
description: The interrupt enable bit for the DUTY_CHNG_END_CH%s interrupt. | ||
OVF_CNT_CH?: | ||
name: OVF_CNT_CH%s | ||
description: The interrupt enable bit for the OVF_CNT_CH%s interrupt. | ||
INT_CLR: | ||
_strip_end: _INT_CLR | ||
_array: | ||
TIMER?_OVF: | ||
name: TIMER%s_OVF | ||
description: Set this bit to clear the TIMER%s_OVF interrupt. | ||
DUTY_CHNG_END_CH?: | ||
name: DUTY_CHNG_END_CH%s | ||
description: Set this bit to clear the DUTY_CHNG_END_CH%s interrupt. | ||
OVF_CNT_CH?: | ||
name: OVF_CNT_CH%s | ||
description: Set this bit to clear the OVF_CNT_CH%s interrupt. | ||
_modify: | ||
"*": | ||
modifiedWriteValues: oneToClear |
Oops, something went wrong.