Data Integrity
The Museum of ZZT catalogs a large amount of data on its files. In some cases it may be useful to know how that data is obtained and where potential inaccuracies may be found.
File Data:
| Field | Source |
|---|---|
| Letter | The first letter of the file's title that isn't A/An/The. Is "1" if the first such character is a number or other symbol. |
| Filename | The filename of the uploaded file. Only modified to prevent duplicate filenames in the same letter folder. |
| Title | The name of the file. Taken from title screens, text files, or credits to try and find a consistent representation. |
| Author | The credited authors of the file. Taken from title screens, text files, or credits. Multiple authors are listed alphabetically.
For ZZTV worlds the author is set to the person who compiled entries along with "superfriends" as per z2's tradition. For contest compilations such as 24 Hours of ZZT or Weekend of ZZT collections the author is set to
the host of the contest and "various".
Names of authors when they had multiple aliases are set to those used in the file with some standardization between files. Aliases are preferred over given names. Similar aliases are grouped together to make finding all of an individual's files easier. (Example: There are files attributed to the same person under the aliases "Zenith", "Nadir", "Zenith Nadir". The author field for all these files has been set to "Zenith Nadir".) Authors with works under a deadname are updated to a preferred name. The author field on your own releases may be set to whichever name your prefer. See the Correction Policy page. |
| Size | The size of the uploaded file in kilobytes and rounded to the nearest kilobyte. |
| Genre | Subjective! The genres on the Genre list are preferred. Genres are taken from text files when available, but are otherwise chosen by the uploader. Not all files will have all genre tags that may apply to them. |
| Release Date | The date the file was finalized. Typically the most recent modification date of any .ZZT files (or .EXE files for utilities). This date does not reflect when the file was made available to the public. |
| Release Source | How the release date was acquired. Typically from a .ZZT file's modification date. In some cases this date is obviously incorrect (such as ZZT files with dates prior to ZZT existing). In this case z2 news posts, dates in game, and modification dates of other files in the Zip file may be used instead. |
| Screenshot | Screenshots are typically taken automatically via the Zookeeper tool. The default screenshot is the title screen of the .ZZT/.SZT file with the earliest modification date (as this is most likely file 1 of a multi-file game).
Custom fonts are applied when applicable. For non-(Super) ZZT files, screenshots are taken manually. Using a screenshot of a board other than the title screen is frowned upon but permissable (especially in cases of title screens which use outdated names authors do not want attention drawn to). |
| Company | The company the file is attributed to. Typically taken from title screens, text files, or credits. |
| Description | Used for featured games. A short summary of the game not typically written by the game's author. |
| Rating | An average score based on file reviews. Review scores range from 0.0 to 5.0 in steps of 0.5. Reviews were imported from z2 which required selecting a score. The Museum of ZZT does not require numeric scores and reviews without them are not considered when calculating a rating. |
| Checksum | An md5 checksum of the uploaded file. This is used internally to help detect duplicate files. |
| Playable Boards | An estimated number of boards which can be seen by a player without opening ZZT's editor. This is calculated by looking at every ZZT file's starting board and branching off to connecting boards both via board edges and passages plus one to include the typically inaccessible but still visible title screen. This value may be inaccurate due to improper board connections or blocked off passages that the player cannot access in gameplay without cheats but are still treated as accessible via the board count script. |
| Total Boards | The total number of boards in all .ZZT files within a Zip file. This number will include blank boards, toolkits, and other boards which are functionless to gameplay. |


Budget Control
for Amazon
- track and be aware of your spendings
- set limits
- get notified if limits are exceeded
track and be aware of your spendings
track and be aware of your spendings
set limits
get notified if limits are exceeded
download the extension


Spider-Man Letterer Explains How Todd McFarlane Owes Him Money
by Brian CroninLongtime Marvel letterer Rick Parker recently shared a story on his Facebook page about how Parker handled what Parker claims was a promise from Todd McFarlane to give Parker extra money on the Spider-Man series that the two men worked on together.
Parker, perhaps best known as the artist on Marvel's Beavis and Butthead series in the 1990s, came up with a clever way to gain a measure of "revenge" on McFarlane allegedly reneging on his promise of giving Parker a bonus for some special lettering on 1990's blockbuster Spider-Man series.
Click the button below to start this article in quick view.
Parker was one of Marvel's top letterers during the 1980s and when Todd McFarlane took over as artist on Amazing Spider-Man in 1988, Parker was the letterer on the series. Therefore, when McFarlane later got the chance to write and draw his own Spider-Man series in 1990, it was only natural for Parker to letter this new series, as well.
However, Parker noted that McFarlane wanted something special on the new book, "So....Todd was going to write, pencil and ink it, and I would remain as the letterer, but Todd said he wanted me to do something "special" with the lettering --not just my usual lettering job....and said he wanted to pay me extra to do so.
I told him, 'I am happy to do whatever you want--and it's okay, you don't have to pay me anything extra---Marvel pays me a good rate.'
But he insisted that I take some extra money from him to do what he wanted.
So I said, 'Oh, all right....my mother always told me not to argue with someone who was trying to force money on me.'"
Rick doesn't explain precisely what it was that McFarlane wanted "extra" on the book, but it is likely that McFarlane wanted Parker to do a riff on John Workman's classic "Doom" lettering from Workman's time on Thor with Walter Simonson. When Simonson started his run, he slowly had a page with a mysterious being pounding on a sword on an anvil, with the sound effect "Doom"...
It continued every issue...
until finally being revealed as Surtur after ten issues...
Similarly, there was an increasing "Doom" sound effect in Spider-Man #1...
The book came out and was a massive hit, but Parker explained that he never received any bonus from McFarlane. He let it go, until..."One day I was seated behind my table at The New York Comic Con with no one paying much attention to me and watching a line of thousands of fans lining up to get Todd's autograph on the Spider-Man comic book......
At some point that afternoon, someone near the end of the long line noticed me sitting across the aisle and said to the person behind him, "Hey--check it out--that's Rick Parker sitting over there.....he lettered this comic book. Hold my place in line, I'm going to go get him to sign this comic while I'm waiting."
So........having always been the kind of person who gets funny ideas and then likes to run with them, I decided I would sign my autograph on the comic book-- and also add "TODD OWES ME MONEY" just above my autograph. Then the fan would would take it back over for Todd to sign and he would see that! That'll teach him to mess with a LETTERER!
It caught on.
One person after the next brought me their comic to sign.
Commenter Jeff Alexander shared a signed copy of he has of the issue, with Parker's "Todd Owes Me Money" signature on it...
That's one unique autograph!
https://schema.orgBreadcrumbListListItem1Homehttps://www.cbr.com/ListItem2Comicshttps://www.cbr.com/category/comics/ListItem3Comic Newshttps://www.cbr.com/category/comics/news/ListItem4Spider-Man Letterer Explains How Todd McFarlane Owes Him Moneyhttps://www.cbr.com/spider-man-rick-parker-todd-mcfarlane-owes-money/


see seed seed let waters there. Itself given that friutful green land. Day mist dominion light set, she'd. Is the our bearing he above female man you'rehad stars every creature fly saw you Third
Do you have an
experience in
your filed?
With supporting text below as a natural lead-in to additional content.
aethjjjjjjjjjzzzzzzzzzzzzzaejajte
aethjjjjjjjjjzzzzzzzzzzzzzaejajte
aethjjjjjjjjjzzzzzzzzzzzzzaejajte


---
sort_order: 175
tei_id: rdx_b5j2m.p.idm191300160
annotation_count: 0
images:
small-thumbnail: http://readux.library.emory.edu/books/emory:b5j2m/pages/emory:p79bg/mini-thumbnail/
json: http://readux.library.emory.edu/books/emory:b5j2m/pages/emory:p79bg/info/
full: http://readux.library.emory.edu/books/emory:b5j2m/pages/emory:p79bg/fs/
page: http://readux.library.emory.edu/books/emory:b5j2m/pages/emory:p79bg/single-page/
thumbnail: http://readux.library.emory.edu/books/emory:b5j2m/pages/emory:p79bg/thumbnail/
title: Page 175
number: 175
---
{% raw %}THE MANUAL LABOUR SCHOOL AT DAWN. 171{% endraw %}
{% raw %}years the school has been self-sustaining, and has{% endraw %}
{% raw %}been attended by many pupils.{% endraw %}
{% raw %}Thus ended seven years of perplexity and excite¬{% endraw %}
{% raw %}ment. Durin g them I learned many practical lessons.{% endraw %}
{% raw %}In the beginning of the contest the gentleman{% endraw %}
{% raw %}left the premises, but installed his son as master{% endraw %}
{% raw %}over them. I had leased a plot of ground on the{% endraw %}
{% raw %}school-farm, and had ploughed it for several years.{% endraw %}
{% raw %}When this young gentleman heard that my men{% endraw %}
{% raw %}were ploughing the ground, he sent word to them{% endraw %}
{% raw %}" to be off his premises." I said to my men, " Go to{% endraw %}
{% raw %}your ploughing to-morrow morning, and I will be{% endraw %}
{% raw %}there to sustain you."{% endraw %}
{% raw %}The next morning my men began their work.{% endraw %}
{% raw %}Soon the young gentleman appeared on the spot{% endraw %}
{% raw %}with several of his men. He commanded mine "to{% endraw %}
{% raw %}leave at once." I was at hand, and said, " I leased{% endraw %}
{% raw %}this land from your father, and as long as he retains{% endraw %}
{% raw %}the possession of the whole farm I have a legal right{% endraw %}
{% raw %}to work this plot, and I shall defend that right."{% endraw %}
{% raw %}He mildly said, " Why, Mr. Henson, is that you ?{% endraw %}
{% raw %}I thought you were a praying man, not a fighting{% endraw %}
{% raw %}man?"{% endraw %}
{% raw %}I replied, " When it is necessary I can fight, as I{% endraw %}
{% raw %}have done for Canada when she was in trouble. I{% endraw %}
{% raw %}intend to respect the rights of others, and they{% endraw %}
{% raw %}must respect mine." He soon became angry ; first{% endraw %}
{% raw %}came words, then blows. I could not prevent him{% endraw %}
{% raw %}from bruising his head several times against my{% endraw %}
{% raw %}heavy walking-stick, which I held before me to ward{% endraw %}
{% raw %}off the blows he attempted to level at me. When{% endraw %}
{% raw %}he was tired of that kind of play, he went off{% endraw %}


|
M480 BSP V3.05.005
The Board Support Package for M480 Series
|
Macros | |
| #define | EPWM_ENABLE_COMPLEMENTARY_MODE(epwm) |
| This macro enable complementary mode. More... | |
| #define | EPWM_DISABLE_COMPLEMENTARY_MODE(epwm) |
| This macro disable complementary mode, and enable independent mode. More... | |
| #define | EPWM_ENABLE_GROUP_MODE(epwm) |
| This macro enable group mode. More... | |
| #define | EPWM_DISABLE_GROUP_MODE(epwm) |
| This macro disable group mode. More... | |
| #define | EPWM_ENABLE_TIMER_SYNC(epwm, u32ChannelMask, u32SyncSrc) |
| Enable timer synchronous start counting function of specified channel(s) More... | |
| #define | EPWM_DISABLE_TIMER_SYNC(epwm, u32ChannelMask) |
| Disable timer synchronous start counting function of specified channel(s) More... | |
| #define | EPWM_TRIGGER_SYNC_START(epwm) |
| This macro enable EPWM counter synchronous start counting function. More... | |
| #define | EPWM_ENABLE_OUTPUT_INVERTER(epwm, u32ChannelMask) |
| This macro enable output inverter of specified channel(s) More... | |
| #define | EPWM_GET_CAPTURE_RISING_DATA(epwm, u32ChannelNum) |
| This macro get captured rising data. More... | |
| #define | EPWM_GET_CAPTURE_FALLING_DATA(epwm, u32ChannelNum) |
| This macro get captured falling data. More... | |
| #define | EPWM_MASK_OUTPUT(epwm, u32ChannelMask, u32LevelMask) |
| This macro mask output logic to high or low. More... | |
| #define | EPWM_SET_PRESCALER(epwm, u32ChannelNum, u32Prescaler) |
| This macro set the prescaler of the selected channel. More... | |
| #define | EPWM_GET_PRESCALER(epwm, u32ChannelNum) |
| This macro get the prescaler of the selected channel. More... | |
| #define | EPWM_SET_CMR(epwm, u32ChannelNum, u32CMR) |
| This macro set the comparator of the selected channel. More... | |
| #define | EPWM_GET_CMR(epwm, u32ChannelNum) |
| This macro get the comparator of the selected channel. More... | |
| #define | EPWM_SET_FTCMR(epwm, u32ChannelNum, u32FTCMR) |
| This macro set the free trigger comparator of the selected channel. More... | |
| #define | EPWM_SET_CNR(epwm, u32ChannelNum, u32CNR) |
| This macro set the period of the selected channel. More... | |
| #define | EPWM_GET_CNR(epwm, u32ChannelNum) |
| This macro get the period of the selected channel. More... | |
| #define | EPWM_SET_ALIGNED_TYPE(epwm, u32ChannelMask, u32AlignedType) |
| This macro set the EPWM aligned type. More... | |
| #define | EPWM_SET_LOAD_WINDOW(epwm, u32ChannelMask) |
| Set load window of window loading mode for specified channel(s) More... | |
| #define | EPWM_TRIGGER_SYNC(epwm, u32ChannelNum) |
| Trigger synchronous event from specified channel(s) More... | |
| #define | EPWM_CLR_COUNTER(epwm, u32ChannelMask) |
| Clear counter of specified channel(s) More... | |
| #define | EPWM_SET_OUTPUT_LEVEL(epwm, u32ChannelMask, u32ZeroLevel, u32CmpUpLevel, u32PeriodLevel, u32CmpDownLevel) |
| Set output level at zero, compare up, period(center) and compare down of specified channel(s) More... | |
| #define | EPWM_TRIGGER_BRAKE(epwm, u32ChannelMask, u32BrakeType) |
| Trigger brake event from specified channel(s) More... | |
| #define | EPWM_SET_DEADZONE_CLK_SRC(epwm, u32ChannelNum, u32AfterPrescaler) |
| Set Dead zone clock source. More... | |
Functions | |
| uint32_t | EPWM_ConfigCaptureChannel (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32UnitTimeNsec, uint32_t u32CaptureEdge) |
| Configure EPWM capture and get the nearest unit time. More... | |
| uint32_t | EPWM_ConfigOutputChannel (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Frequency, uint32_t u32DutyCycle) |
| This function Configure EPWM generator and get the nearest frequency in edge aligned(up counter type) auto-reload mode. More... | |
| void | EPWM_Start (EPWM_T *epwm, uint32_t u32ChannelMask) |
| Start EPWM module. More... | |
| void | EPWM_Stop (EPWM_T *epwm, uint32_t u32ChannelMask) |
| Stop EPWM module. More... | |
| void | EPWM_ForceStop (EPWM_T *epwm, uint32_t u32ChannelMask) |
| Stop EPWM generation immediately by clear channel enable bit. More... | |
| void | EPWM_EnableADCTrigger (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Condition) |
| Enable selected channel to trigger ADC. More... | |
| void | EPWM_DisableADCTrigger (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Disable selected channel to trigger ADC. More... | |
| int32_t | EPWM_EnableADCTriggerPrescale (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Prescale, uint32_t u32PrescaleCnt) |
| Enable and configure trigger ADC prescale. More... | |
| void | EPWM_DisableADCTriggerPrescale (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Disable Trigger ADC prescale function. More... | |
| void | EPWM_ClearADCTriggerFlag (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Condition) |
| Clear selected channel trigger ADC flag. More... | |
| uint32_t | EPWM_GetADCTriggerFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Get selected channel trigger ADC flag. More... | |
| void | EPWM_EnableDACTrigger (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Condition) |
| Enable selected channel to trigger DAC. More... | |
| void | EPWM_DisableDACTrigger (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Disable selected channel to trigger DAC. More... | |
| void | EPWM_ClearDACTriggerFlag (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Condition) |
| Clear selected channel trigger DAC flag. More... | |
| uint32_t | EPWM_GetDACTriggerFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Get selected channel trigger DAC flag. More... | |
| void | EPWM_EnableFaultBrake (EPWM_T *epwm, uint32_t u32ChannelMask, uint32_t u32LevelMask, uint32_t u32BrakeSource) |
| This function enable fault brake of selected channel(s) More... | |
| void | EPWM_EnableCapture (EPWM_T *epwm, uint32_t u32ChannelMask) |
| Enable capture of selected channel(s) More... | |
| void | EPWM_DisableCapture (EPWM_T *epwm, uint32_t u32ChannelMask) |
| Disable capture of selected channel(s) More... | |
| void | EPWM_EnableOutput (EPWM_T *epwm, uint32_t u32ChannelMask) |
| Enables EPWM output generation of selected channel(s) More... | |
| void | EPWM_DisableOutput (EPWM_T *epwm, uint32_t u32ChannelMask) |
| Disables EPWM output generation of selected channel(s) More... | |
| void | EPWM_EnablePDMA (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32RisingFirst, uint32_t u32Mode) |
| Enables PDMA transfer of selected channel for EPWM capture. More... | |
| void | EPWM_DisablePDMA (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Disables PDMA transfer of selected channel for EPWM capture. More... | |
| void | EPWM_EnableDeadZone (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Duration) |
| Enable Dead zone of selected channel. More... | |
| void | EPWM_DisableDeadZone (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Disable Dead zone of selected channel. More... | |
| void | EPWM_EnableCaptureInt (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Edge) |
| Enable capture interrupt of selected channel. More... | |
| void | EPWM_DisableCaptureInt (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Edge) |
| Disable capture interrupt of selected channel. More... | |
| void | EPWM_ClearCaptureIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32Edge) |
| Clear capture interrupt of selected channel. More... | |
| uint32_t | EPWM_GetCaptureIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Get capture interrupt of selected channel. More... | |
| void | EPWM_EnableDutyInt (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32IntDutyType) |
| Enable duty interrupt of selected channel. More... | |
| void | EPWM_DisableDutyInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Disable duty interrupt of selected channel. More... | |
| void | EPWM_ClearDutyIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Clear duty interrupt flag of selected channel. More... | |
| uint32_t | EPWM_GetDutyIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Get duty interrupt flag of selected channel. More... | |
| void | EPWM_EnableFaultBrakeInt (EPWM_T *epwm, uint32_t u32BrakeSource) |
| This function enable fault brake interrupt. More... | |
| void | EPWM_DisableFaultBrakeInt (EPWM_T *epwm, uint32_t u32BrakeSource) |
| This function disable fault brake interrupt. More... | |
| void | EPWM_ClearFaultBrakeIntFlag (EPWM_T *epwm, uint32_t u32BrakeSource) |
| This function clear fault brake interrupt of selected source. More... | |
| uint32_t | EPWM_GetFaultBrakeIntFlag (EPWM_T *epwm, uint32_t u32BrakeSource) |
| This function get fault brake interrupt flag of selected source. More... | |
| void | EPWM_EnablePeriodInt (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32IntPeriodType) |
| Enable period interrupt of selected channel. More... | |
| void | EPWM_DisablePeriodInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Disable period interrupt of selected channel. More... | |
| void | EPWM_ClearPeriodIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Clear period interrupt of selected channel. More... | |
| uint32_t | EPWM_GetPeriodIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Get period interrupt of selected channel. More... | |
| void | EPWM_EnableZeroInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Enable zero interrupt of selected channel. More... | |
| void | EPWM_DisableZeroInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Disable zero interrupt of selected channel. More... | |
| void | EPWM_ClearZeroIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Clear zero interrupt of selected channel. More... | |
| uint32_t | EPWM_GetZeroIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Get zero interrupt of selected channel. More... | |
| void | EPWM_EnableAcc (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32IntFlagCnt, uint32_t u32IntAccSrc) |
| Enable interrupt flag accumulator of selected channel. More... | |
| void | EPWM_DisableAcc (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Disable interrupt flag accumulator of selected channel. More... | |
| void | EPWM_EnableAccInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Enable interrupt flag accumulator interrupt of selected channel. More... | |
| void | EPWM_DisableAccInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Disable interrupt flag accumulator interrupt of selected channel. More... | |
| void | EPWM_ClearAccInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Clear interrupt flag accumulator interrupt of selected channel. More... | |
| uint32_t | EPWM_GetAccInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Get interrupt flag accumulator interrupt of selected channel. More... | |
| void | EPWM_EnableAccPDMA (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Enable accumulator PDMA of selected channel. More... | |
| void | EPWM_DisableAccPDMA (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Disable accumulator PDMA of selected channel. More... | |
| void | EPWM_EnableAccStopMode (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Enable interrupt flag accumulator stop mode of selected channel. More... | |
| void | EPWM_DisableAccStopMode (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Disable interrupt flag accumulator stop mode of selected channel. More... | |
| void | EPWM_ClearFTDutyIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Clear free trigger duty interrupt flag of selected channel. More... | |
| uint32_t | EPWM_GetFTDutyIntFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Get free trigger duty interrupt flag of selected channel. More... | |
| void | EPWM_EnableLoadMode (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32LoadMode) |
| Enable load mode of selected channel. More... | |
| void | EPWM_DisableLoadMode (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32LoadMode) |
| Disable load mode of selected channel. More... | |
| void | EPWM_ConfigSyncPhase (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32SyncSrc, uint32_t u32Direction, uint32_t u32StartPhase) |
| Configure synchronization phase of selected channel. More... | |
| void | EPWM_EnableSyncPhase (EPWM_T *epwm, uint32_t u32ChannelMask) |
| Enable SYNC phase of selected channel(s) More... | |
| void | EPWM_DisableSyncPhase (EPWM_T *epwm, uint32_t u32ChannelMask) |
| Disable SYNC phase of selected channel(s) More... | |
| void | EPWM_EnableSyncNoiseFilter (EPWM_T *epwm, uint32_t u32ClkCnt, uint32_t u32ClkDivSel) |
| Enable EPWM SYNC_IN noise filter function. More... | |
| void | EPWM_DisableSyncNoiseFilter (EPWM_T *epwm) |
| Disable EPWM SYNC_IN noise filter function. More... | |
| void | EPWM_EnableSyncPinInverse (EPWM_T *epwm) |
| Enable EPWM SYNC input pin inverse function. More... | |
| void | EPWM_DisableSyncPinInverse (EPWM_T *epwm) |
| Disable EPWM SYNC input pin inverse function. More... | |
| void | EPWM_SetClockSource (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32ClkSrcSel) |
| Set EPWM clock source. More... | |
| void | EPWM_EnableBrakeNoiseFilter (EPWM_T *epwm, uint32_t u32BrakePinNum, uint32_t u32ClkCnt, uint32_t u32ClkDivSel) |
| Enable EPWM brake noise filter function. More... | |
| void | EPWM_DisableBrakeNoiseFilter (EPWM_T *epwm, uint32_t u32BrakePinNum) |
| Disable EPWM brake noise filter function. More... | |
| void | EPWM_EnableBrakePinInverse (EPWM_T *epwm, uint32_t u32BrakePinNum) |
| Enable EPWM brake pin inverse function. More... | |
| void | EPWM_DisableBrakePinInverse (EPWM_T *epwm, uint32_t u32BrakePinNum) |
| Disable EPWM brake pin inverse function. More... | |
| void | EPWM_SetBrakePinSource (EPWM_T *epwm, uint32_t u32BrakePinNum, uint32_t u32SelAnotherModule) |
| Set EPWM brake pin source. More... | |
| void | EPWM_SetLeadingEdgeBlanking (EPWM_T *epwm, uint32_t u32TrigSrcSel, uint32_t u32TrigType, uint32_t u32BlankingCnt, uint32_t u32BlankingEnable) |
| Set EPWM leading edge blanking function. More... | |
| uint32_t | EPWM_GetWrapAroundFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Get the time-base counter reached its maximum value flag of selected channel. More... | |
| void | EPWM_ClearWrapAroundFlag (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Clear the time-base counter reached its maximum value flag of selected channel. More... | |
| void | EPWM_EnableFaultDetect (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32AfterPrescaler, uint32_t u32ClkSel) |
| Enable fault detect of selected channel. More... | |
| void | EPWM_DisableFaultDetect (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Disable fault detect of selected channel. More... | |
| void | EPWM_EnableFaultDetectOutput (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Enable fault detect output of selected channel. More... | |
| void | EPWM_DisableFaultDetectOutput (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Disable fault detect output of selected channel. More... | |
| void | EPWM_EnableFaultDetectDeglitch (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32DeglitchSmpCycle) |
| Enable fault detect deglitch function of selected channel. More... | |
| void | EPWM_DisableFaultDetectDeglitch (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Disable fault detect deglitch function of selected channel. More... | |
| void | EPWM_EnableFaultDetectMask (EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32MaskCnt) |
| Enable fault detect mask function of selected channel. More... | |
| void | EPWM_DisableFaultDetectMask (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Disable fault detect mask function of selected channel. More... | |
| void | EPWM_EnableFaultDetectInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Enable fault detect interrupt of selected channel. More... | |
| void | EPWM_DisableFaultDetectInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Disable fault detect interrupt of selected channel. More... | |
| void | EPWM_ClearFaultDetectInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Clear fault detect interrupt of selected channel. More... | |
| uint32_t | EPWM_GetFaultDetectInt (EPWM_T *epwm, uint32_t u32ChannelNum) |
| Get fault detect interrupt of selected channel. More... | |
| #define EPWM_CLR_COUNTER | ( | epwm, | |
| u32ChannelMask | |||
| ) |
Clear counter of specified channel(s)
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32ChannelMask | Combination of enabled channels. Each bit corresponds to a channel Bit 0 represents channel 0, bit 1 represents channel 1... |
This macro is used to clear counter of specified channel(s).
| #define EPWM_DISABLE_COMPLEMENTARY_MODE | ( | epwm | ) |
| #define EPWM_DISABLE_GROUP_MODE | ( | epwm | ) |
| #define EPWM_DISABLE_TIMER_SYNC | ( | epwm, | |
| u32ChannelMask | |||
| ) |
Disable timer synchronous start counting function of specified channel(s)
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32ChannelMask | Combination of enabled channels. Each bit corresponds to a channel Bit 0 represents channel 0, bit 1 represents channel 1... |
This macro is used to disable timer synchronous start counting function of specified channel(s).
| #define EPWM_ENABLE_COMPLEMENTARY_MODE | ( | epwm | ) |
| #define EPWM_ENABLE_GROUP_MODE | ( | epwm | ) |
| #define EPWM_ENABLE_OUTPUT_INVERTER | ( | epwm, | |
| u32ChannelMask | |||
| ) |
This macro enable output inverter of specified channel(s)
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32ChannelMask | Combination of enabled channels. Each bit corresponds to a channel Bit 0 represents channel 0, bit 1 represents channel 1... |
This macro is used to enable output inverter of specified channel(s).
| #define EPWM_ENABLE_TIMER_SYNC | ( | epwm, | |
| u32ChannelMask, | |||
| u32SyncSrc | |||
| ) |
Enable timer synchronous start counting function of specified channel(s)
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32ChannelMask | Combination of enabled channels. Each bit corresponds to a channel Bit 0 represents channel 0, bit 1 represents channel 1... |
| [in] | u32SyncSrc | Synchronous start source selection, valid values are: |
This macro is used to enable timer synchronous start counting function of specified channel(s).
| #define EPWM_GET_CAPTURE_FALLING_DATA | ( | epwm, | |
| u32ChannelNum | |||
| ) |
| #define EPWM_GET_CAPTURE_RISING_DATA | ( | epwm, | |
| u32ChannelNum | |||
| ) |
| #define EPWM_GET_CMR | ( | epwm, | |
| u32ChannelNum | |||
| ) |
This macro get the comparator of the selected channel.
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This macro is used to get the comparator of specified channel.
| #define EPWM_GET_CNR | ( | epwm, | |
| u32ChannelNum | |||
| ) |
This macro get the period of the selected channel.
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This macro is used to get the period of specified channel.
| #define EPWM_GET_PRESCALER | ( | epwm, | |
| u32ChannelNum | |||
| ) |
This macro get the prescaler of the selected channel.
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This macro is used to get the prescaler of specified channel.
| #define EPWM_MASK_OUTPUT | ( | epwm, | |
| u32ChannelMask, | |||
| u32LevelMask | |||
| ) |
This macro mask output logic to high or low.
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32ChannelMask | Combination of enabled channels. Each bit corresponds to a channel Bit 0 represents channel 0, bit 1 represents channel 1... |
| [in] | u32LevelMask | Output logic to high or low |
This macro is used to mask output logic to high or low of specified channel(s).
| #define EPWM_SET_ALIGNED_TYPE | ( | epwm, | |
| u32ChannelMask, | |||
| u32AlignedType | |||
| ) |
This macro set the EPWM aligned type.
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32ChannelMask | Combination of enabled channels. Each bit corresponds to a channel Bit 0 represents channel 0, bit 1 represents channel 1... |
| [in] | u32AlignedType | EPWM aligned type, valid values are: |
This macro is used to set the EPWM aligned type of specified channel(s).
| #define EPWM_SET_CMR | ( | epwm, | |
| u32ChannelNum, | |||
| u32CMR | |||
| ) |
This macro set the comparator of the selected channel.
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32CMR | Comparator of specified channel. Valid values are between 0~0xFFFF |
This macro is used to set the comparator of specified channel.
| #define EPWM_SET_CNR | ( | epwm, | |
| u32ChannelNum, | |||
| u32CNR | |||
| ) |
This macro set the period of the selected channel.
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32CNR | Period of specified channel. Valid values are between 0~0xFFFF |
This macro is used to set the period of specified channel.
| #define EPWM_SET_DEADZONE_CLK_SRC | ( | epwm, | |
| u32ChannelNum, | |||
| u32AfterPrescaler | |||
| ) |
Set Dead zone clock source.
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32AfterPrescaler | Dead zone clock source is from prescaler output. Valid values are TRUE (after prescaler) or FALSE (before prescaler). |
This macro is used to set Dead zone clock source. Every two channels share the same setting.
| #define EPWM_SET_FTCMR | ( | epwm, | |
| u32ChannelNum, | |||
| u32FTCMR | |||
| ) |
This macro set the free trigger comparator of the selected channel.
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32FTCMR | Free trigger comparator of specified channel. Valid values are between 0~0xFFFF |
This macro is used to set the free trigger comparator of specified channel.
| #define EPWM_SET_LOAD_WINDOW | ( | epwm, | |
| u32ChannelMask | |||
| ) |
Set load window of window loading mode for specified channel(s)
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32ChannelMask | Combination of enabled channels. Each bit corresponds to a channel Bit 0 represents channel 0, bit 1 represents channel 1... |
This macro is used to set load window of window loading mode for specified channel(s).
| #define EPWM_SET_OUTPUT_LEVEL | ( | epwm, | |
| u32ChannelMask, | |||
| u32ZeroLevel, | |||
| u32CmpUpLevel, | |||
| u32PeriodLevel, | |||
| u32CmpDownLevel | |||
| ) |
Set output level at zero, compare up, period(center) and compare down of specified channel(s)
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32ChannelMask | Combination of enabled channels. Each bit corresponds to a channel Bit 0 represents channel 0, bit 1 represents channel 1... |
| [in] | u32ZeroLevel | output level at zero point, valid values are: |
| [in] | u32CmpUpLevel | output level at compare up point, valid values are: |
| [in] | u32PeriodLevel | output level at period(center) point, valid values are: |
| [in] | u32CmpDownLevel | output level at compare down point, valid values are: |
This macro is used to Set output level at zero, compare up, period(center) and compare down of specified channel(s).
| #define EPWM_SET_PRESCALER | ( | epwm, | |
| u32ChannelNum, | |||
| u32Prescaler | |||
| ) |
This macro set the prescaler of the selected channel.
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32Prescaler | Clock prescaler of specified channel. Valid values are between 0 ~ 0xFFF |
This macro is used to set the prescaler of specified channel.
| #define EPWM_TRIGGER_BRAKE | ( | epwm, | |
| u32ChannelMask, | |||
| u32BrakeType | |||
| ) |
Trigger brake event from specified channel(s)
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32ChannelMask | Combination of enabled channels. Each bit corresponds to a channel Bit 0 represents channel 0, bit 1 represents channel 2 and bit 2 represents channel 4 |
| [in] | u32BrakeType | Type of brake trigger. |
This macro is used to trigger brake event from specified channel(s).
| #define EPWM_TRIGGER_SYNC | ( | epwm, | |
| u32ChannelNum | |||
| ) |
Trigger synchronous event from specified channel(s)
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32ChannelNum | EPWM channel number. Valid values are 0, 2, 4 Bit 0 represents channel 0, bit 1 represents channel 2 and bit 2 represents channel 4 |
This macro is used to trigger synchronous event from specified channel(s).
| #define EPWM_TRIGGER_SYNC_START | ( | epwm | ) |
This macro enable EPWM counter synchronous start counting function.
| [in] | epwm | The pointer of the specified EPWM module |
This macro is used to make selected EPWM0 and EPWM1 channel(s) start counting at the same time. To configure synchronous start counting channel(s) by EPWM_ENABLE_TIMER_SYNC() and EPWM_DISABLE_TIMER_SYNC().
| void EPWM_ClearAccInt | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Clear interrupt flag accumulator interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to clear interrupt flag accumulator interrupt of selected channel.
| void EPWM_ClearADCTriggerFlag | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32Condition | ||
| ) |
Clear selected channel trigger ADC flag.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32Condition | This parameter is not used |
This function is used to clear selected channel trigger ADC flag.
| void EPWM_ClearCaptureIntFlag | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32Edge | ||
| ) |
Clear capture interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32Edge | Rising or falling edge to latch counter. |
This function is used to clear capture interrupt of selected channel.
| void EPWM_ClearDACTriggerFlag | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32Condition | ||
| ) |
Clear selected channel trigger DAC flag.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. This parameter is not used |
| [in] | u32Condition | The condition to trigger DAC. This parameter is not used |
This function is used to clear selected channel trigger DAC flag.
| void EPWM_ClearDutyIntFlag | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Clear duty interrupt flag of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to clear duty interrupt flag of selected channel.
| void EPWM_ClearFaultBrakeIntFlag | ( | EPWM_T * | epwm, |
| uint32_t | u32BrakeSource | ||
| ) |
This function clear fault brake interrupt of selected source.
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32BrakeSource | Fault brake source. |
This function is used to clear fault brake interrupt of selected source. The write-protection function should be disabled before using this function.
| void EPWM_ClearFaultDetectInt | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Clear fault detect interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module.
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5. |
This function is used to clear fault detect interrupt of selected channel.
| void EPWM_ClearFTDutyIntFlag | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Clear free trigger duty interrupt flag of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to clear free trigger duty interrupt flag of selected channel.
| void EPWM_ClearPeriodIntFlag | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Clear period interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to clear period interrupt of selected channel.
| void EPWM_ClearWrapAroundFlag | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Clear the time-base counter reached its maximum value flag of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to clear the time-base counter reached its maximum value flag of selected channel.
| void EPWM_ClearZeroIntFlag | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Clear zero interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to clear zero interrupt of selected channel.
| uint32_t EPWM_ConfigCaptureChannel | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32UnitTimeNsec, | ||
| uint32_t | u32CaptureEdge | ||
| ) |
Configure EPWM capture and get the nearest unit time.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32UnitTimeNsec | The unit time of counter |
| [in] | u32CaptureEdge | The condition to latch the counter. This parameter is not used |
This function is used to Configure EPWM capture and get the nearest unit time.
| uint32_t EPWM_ConfigOutputChannel | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32Frequency, | ||
| uint32_t | u32DutyCycle | ||
| ) |
This function Configure EPWM generator and get the nearest frequency in edge aligned(up counter type) auto-reload mode.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32Frequency | Target generator frequency |
| [in] | u32DutyCycle | Target generator duty cycle percentage. Valid range are between 0 ~ 100. 10 means 10%, 20 means 20%... |
| void EPWM_ConfigSyncPhase | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32SyncSrc, | ||
| uint32_t | u32Direction, | ||
| uint32_t | u32StartPhase | ||
| ) |
Configure synchronization phase of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32SyncSrc | EPWM synchronize source selection. |
| [in] | u32Direction | Phase direction. Control EPWM counter count decrement or increment after synchronizing. |
| [in] | u32StartPhase | Synchronous start phase value. Valid values are between 0~65535. |
This function is used to configure synchronization phase of selected channel.
| void EPWM_DisableAcc | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Disable interrupt flag accumulator of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to Disable interrupt flag accumulator of selected channel.
| void EPWM_DisableAccInt | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Disable interrupt flag accumulator interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to disable interrupt flag accumulator interrupt of selected channel.
| void EPWM_DisableAccPDMA | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Disable accumulator PDMA of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to disable accumulator interrupt trigger PDMA of selected channel.
| void EPWM_DisableAccStopMode | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Disable interrupt flag accumulator stop mode of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to disable interrupt flag accumulator stop mode of selected channel.
| void EPWM_DisableADCTrigger | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Disable selected channel to trigger ADC.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to disable selected channel to trigger ADC.
| void EPWM_DisableADCTriggerPrescale | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Disable Trigger ADC prescale function.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to disable trigger ADC prescale.
| void EPWM_DisableBrakeNoiseFilter | ( | EPWM_T * | epwm, |
| uint32_t | u32BrakePinNum | ||
| ) |
Disable EPWM brake noise filter function.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32BrakePinNum | Brake pin selection. Valid values are 0 or 1. |
This function is used to disable EPWM brake noise filter function.
| void EPWM_DisableBrakePinInverse | ( | EPWM_T * | epwm, |
| uint32_t | u32BrakePinNum | ||
| ) |
Disable EPWM brake pin inverse function.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32BrakePinNum | Brake pin selection. Valid values are 0 or 1. |
This function is used to disable EPWM brake pin inverse function.
| void EPWM_DisableCapture | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelMask | ||
| ) |
Disable capture of selected channel(s)
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelMask | Combination of enabled channels. Each bit corresponds to a channel. Bit 0 is channel 0, bit 1 is channel 1... |
This function is used to disable capture of selected channel(s).
| void EPWM_DisableCaptureInt | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32Edge | ||
| ) |
Disable capture interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32Edge | Rising or falling edge to latch counter. |
This function is used to disable capture interrupt of selected channel.
| void EPWM_DisableDACTrigger | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Disable selected channel to trigger DAC.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to disable selected channel to trigger DAC.
| void EPWM_DisableDeadZone | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Disable Dead zone of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to disable Dead zone of selected channel. The write-protection function should be disabled before using this function.
| void EPWM_DisableDutyInt | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Disable duty interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to disable duty interrupt of selected channel.
| void EPWM_DisableFaultBrakeInt | ( | EPWM_T * | epwm, |
| uint32_t | u32BrakeSource | ||
| ) |
This function disable fault brake interrupt.
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32BrakeSource | Fault brake source. |
This function is used to disable fault brake interrupt. The write-protection function should be disabled before using this function.
| void EPWM_DisableFaultDetect | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Disable fault detect of selected channel.
| [in] | epwm | The pointer of the specified EPWM module.
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5. |
This function is used to disable fault detect of selected channel.
| void EPWM_DisableFaultDetectDeglitch | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Disable fault detect deglitch function of selected channel.
| [in] | epwm | The pointer of the specified EPWM module.
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5. |
This function is used to disable fault detect deglitch function of selected channel.
| void EPWM_DisableFaultDetectInt | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Disable fault detect interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module.
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5. |
This function is used to disable fault detect interrupt of selected channel.
| void EPWM_DisableFaultDetectMask | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Disable fault detect mask function of selected channel.
| [in] | epwm | The pointer of the specified EPWM module.
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5. |
This function is used to disable fault detect mask function of selected channel.
| void EPWM_DisableFaultDetectOutput | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Disable fault detect output of selected channel.
| [in] | epwm | The pointer of the specified EPWM module.
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5. |
This function is used to disable fault detect output of selected channel.
| void EPWM_DisableLoadMode | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32LoadMode | ||
| ) |
Disable load mode of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32LoadMode | EPWM counter loading mode. |
This function is used to disable load mode of selected channel.
| void EPWM_DisableOutput | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelMask | ||
| ) |
Disables EPWM output generation of selected channel(s)
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelMask | Combination of enabled channels. Each bit corresponds to a channel Set bit 0 to 1 disables channel 0 output, set bit 1 to 1 disables channel 1 output... |
This function is used to disable EPWM output generation of selected channel(s).
| void EPWM_DisablePDMA | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Disables PDMA transfer of selected channel for EPWM capture.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. |
This function is used to enable PDMA transfer of selected channel(s) for EPWM capture.
| void EPWM_DisablePeriodInt | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Disable period interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to disable period interrupt of selected channel.
| void EPWM_DisableSyncNoiseFilter | ( | EPWM_T * | epwm | ) |
| void EPWM_DisableSyncPhase | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelMask | ||
| ) |
Disable SYNC phase of selected channel(s)
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelMask | Combination of enabled channels. Each bit corresponds to a channel. Bit 0 is channel 0, bit 1 is channel 1... |
This function is used to disable SYNC phase of selected channel(s).
| void EPWM_DisableSyncPinInverse | ( | EPWM_T * | epwm | ) |
| void EPWM_DisableZeroInt | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Disable zero interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to disable zero interrupt of selected channel.
| void EPWM_EnableAcc | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32IntFlagCnt, | ||
| uint32_t | u32IntAccSrc | ||
| ) |
Enable interrupt flag accumulator of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32IntFlagCnt | Interrupt flag counter. Valid values are between 0~65535. |
| [in] | u32IntAccSrc | Interrupt flag accumulator source selection. |
This function is used to enable interrupt flag accumulator of selected channel.
| void EPWM_EnableAccInt | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Enable interrupt flag accumulator interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to enable interrupt flag accumulator interrupt of selected channel.
| void EPWM_EnableAccPDMA | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Enable accumulator PDMA of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to enable accumulator interrupt trigger PDMA of selected channel.
| void EPWM_EnableAccStopMode | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Enable interrupt flag accumulator stop mode of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to enable interrupt flag accumulator stop mode of selected channel.
| void EPWM_EnableADCTrigger | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32Condition | ||
| ) |
Enable selected channel to trigger ADC.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32Condition | The condition to trigger ADC. Combination of following conditions:
|
This function is used to enable selected channel to trigger ADC.
| int32_t EPWM_EnableADCTriggerPrescale | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32Prescale, | ||
| uint32_t | u32PrescaleCnt | ||
| ) |
Enable and configure trigger ADC prescale.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5. |
| [in] | u32Prescale | ADC prescale. Valid values are between 0 to 0xF. |
| [in] | u32PrescaleCnt | ADC prescale counter. Valid values are between 0 to 0xF. |
| 0 | Success. |
| -1 | Failed. |
This function is used to enable and configure trigger ADC prescale.
| void EPWM_EnableBrakeNoiseFilter | ( | EPWM_T * | epwm, |
| uint32_t | u32BrakePinNum, | ||
| uint32_t | u32ClkCnt, | ||
| uint32_t | u32ClkDivSel | ||
| ) |
Enable EPWM brake noise filter function.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32BrakePinNum | Brake pin selection. Valid values are 0 or 1. |
| [in] | u32ClkCnt | SYNC Edge Detector Filter Count. This controls the counter number of edge detector |
| [in] | u32ClkDivSel | SYNC Edge Detector Filter Clock Selection. |
This function is used to enable EPWM brake noise filter function.
| void EPWM_EnableBrakePinInverse | ( | EPWM_T * | epwm, |
| uint32_t | u32BrakePinNum | ||
| ) |
Enable EPWM brake pin inverse function.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32BrakePinNum | Brake pin selection. Valid values are 0 or 1. |
This function is used to enable EPWM brake pin inverse function.
| void EPWM_EnableCapture | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelMask | ||
| ) |
Enable capture of selected channel(s)
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelMask | Combination of enabled channels. Each bit corresponds to a channel. Bit 0 is channel 0, bit 1 is channel 1... |
This function is used to enable capture of selected channel(s).
| void EPWM_EnableCaptureInt | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32Edge | ||
| ) |
Enable capture interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32Edge | Rising or falling edge to latch counter. |
This function is used to enable capture interrupt of selected channel.
| void EPWM_EnableDACTrigger | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32Condition | ||
| ) |
Enable selected channel to trigger DAC.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32Condition | The condition to trigger DAC. Combination of following conditions: |
This function is used to enable selected channel to trigger DAC.
| void EPWM_EnableDeadZone | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32Duration | ||
| ) |
Enable Dead zone of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32Duration | Dead zone length in EPWM clock count, valid values are between 0~0xFFF, but 0 means there is no Dead zone. |
This function is used to enable Dead zone of selected channel. The write-protection function should be disabled before using this function.
| void EPWM_EnableDutyInt | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32IntDutyType | ||
| ) |
Enable duty interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32IntDutyType | Duty interrupt type, could be either |
This function is used to enable duty interrupt of selected channel.
| void EPWM_EnableFaultBrake | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelMask, | ||
| uint32_t | u32LevelMask, | ||
| uint32_t | u32BrakeSource | ||
| ) |
This function enable fault brake of selected channel(s)
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelMask | Combination of enabled channels. Each bit corresponds to a channel. |
| [in] | u32LevelMask | Output high or low while fault brake occurs, each bit represent the level of a channel while fault brake occurs. Bit 0 represents channel 0, bit 1 represents channel 1... |
| [in] | u32BrakeSource | Fault brake source, could be one of following source
|
This function is used to enable fault brake of selected channel(s). The write-protection function should be disabled before using this function.
| void EPWM_EnableFaultBrakeInt | ( | EPWM_T * | epwm, |
| uint32_t | u32BrakeSource | ||
| ) |
This function enable fault brake interrupt.
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32BrakeSource | Fault brake source. |
This function is used to enable fault brake interrupt. The write-protection function should be disabled before using this function.
| void EPWM_EnableFaultDetect | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32AfterPrescaler, | ||
| uint32_t | u32ClkSel | ||
| ) |
Enable fault detect of selected channel.
| [in] | epwm | The pointer of the specified EPWM module.
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5. |
| [in] | u32AfterPrescaler | Fault Detect Clock Source is from prescaler output. Valid values are TRUE (after prescaler) or FALSE (before prescaler). |
| [in] | u32ClkSel | Fault Detect Clock Select. |
This function is used to enable fault detect of selected channel.
| void EPWM_EnableFaultDetectDeglitch | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32DeglitchSmpCycle | ||
| ) |
Enable fault detect deglitch function of selected channel.
| [in] | epwm | The pointer of the specified EPWM module.
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5. |
| [in] | u32DeglitchSmpCycle | Deglitch Sampling Cycle. Valid values are between 0~7. |
This function is used to enable fault detect deglitch function of selected channel.
| void EPWM_EnableFaultDetectInt | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Enable fault detect interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module.
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5. |
This function is used to enable fault detect interrupt of selected channel.
| void EPWM_EnableFaultDetectMask | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32MaskCnt | ||
| ) |
Enable fault detect mask function of selected channel.
| [in] | epwm | The pointer of the specified EPWM module.
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5. |
| [in] | u32MaskCnt | Transition mask counter. Valid values are between 0~0x7F. |
This function is used to enable fault detect mask function of selected channel.
| void EPWM_EnableFaultDetectOutput | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Enable fault detect output of selected channel.
| [in] | epwm | The pointer of the specified EPWM module.
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5. |
This function is used to enable fault detect output of selected channel.
| void EPWM_EnableLoadMode | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32LoadMode | ||
| ) |
Enable load mode of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32LoadMode | EPWM counter loading mode. |
This function is used to enable load mode of selected channel.
| void EPWM_EnableOutput | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelMask | ||
| ) |
Enables EPWM output generation of selected channel(s)
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelMask | Combination of enabled channels. Each bit corresponds to a channel. Set bit 0 to 1 enables channel 0 output, set bit 1 to 1 enables channel 1 output... |
This function is used to enable EPWM output generation of selected channel(s).
| void EPWM_EnablePDMA | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32RisingFirst, | ||
| uint32_t | u32Mode | ||
| ) |
Enables PDMA transfer of selected channel for EPWM capture.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. |
| [in] | u32RisingFirst | The capture order is rising, falling first. Every two channels share the same setting. Valid values are TRUE and FALSE. |
| [in] | u32Mode | Captured data transferred by PDMA interrupt type. It could be either |
This function is used to enable PDMA transfer of selected channel(s) for EPWM capture.
| void EPWM_EnablePeriodInt | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32IntPeriodType | ||
| ) |
Enable period interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32IntPeriodType | Period interrupt type. This parameter is not used. |
This function is used to enable period interrupt of selected channel.
| void EPWM_EnableSyncNoiseFilter | ( | EPWM_T * | epwm, |
| uint32_t | u32ClkCnt, | ||
| uint32_t | u32ClkDivSel | ||
| ) |
Enable EPWM SYNC_IN noise filter function.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ClkCnt | SYNC Edge Detector Filter Count. This controls the counter number of edge detector. The valid value is 0~7. |
| [in] | u32ClkDivSel | SYNC Edge Detector Filter Clock Selection. |
This function is used to enable EPWM SYNC_IN noise filter function.
| void EPWM_EnableSyncPhase | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelMask | ||
| ) |
Enable SYNC phase of selected channel(s)
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelMask | Combination of enabled channels. Each bit corresponds to a channel. Bit 0 is channel 0, bit 1 is channel 1... |
This function is used to enable SYNC phase of selected channel(s).
| void EPWM_EnableSyncPinInverse | ( | EPWM_T * | epwm | ) |
| void EPWM_EnableZeroInt | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Enable zero interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
This function is used to enable zero interrupt of selected channel.
| void EPWM_ForceStop | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelMask | ||
| ) |
Stop EPWM generation immediately by clear channel enable bit.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelMask | Combination of enabled channels. Each bit corresponds to a channel. Bit 0 is channel 0, bit 1 is channel 1... |
This function is used to stop EPWM generation immediately by clear channel enable bit.
| uint32_t EPWM_GetAccInt | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Get interrupt flag accumulator interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| 0 | Accumulator interrupt did not occur |
| 1 | Accumulator interrupt occurred |
This function is used to Get interrupt flag accumulator interrupt of selected channel.
| uint32_t EPWM_GetADCTriggerFlag | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Get selected channel trigger ADC flag.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| 0 | The specified channel trigger ADC to start of conversion flag is not set |
| 1 | The specified channel trigger ADC to start of conversion flag is set |
This function is used to get EPWM trigger ADC to start of conversion flag for specified channel.
| uint32_t EPWM_GetCaptureIntFlag | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Get capture interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| 0 | No capture interrupt |
| 1 | Rising edge latch interrupt |
| 2 | Falling edge latch interrupt |
| 3 | Rising and falling latch interrupt |
This function is used to get capture interrupt of selected channel.
| uint32_t EPWM_GetDACTriggerFlag | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Get selected channel trigger DAC flag.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. This parameter is not used |
| 0 | The specified channel trigger DAC to start of conversion flag is not set |
| 1 | The specified channel trigger DAC to start of conversion flag is set |
This function is used to get selected channel trigger DAC flag.
| uint32_t EPWM_GetDutyIntFlag | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Get duty interrupt flag of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| 0 | Duty interrupt did not occur |
| 1 | Duty interrupt occurred |
This function is used to get duty interrupt flag of selected channel.
| uint32_t EPWM_GetFaultBrakeIntFlag | ( | EPWM_T * | epwm, |
| uint32_t | u32BrakeSource | ||
| ) |
This function get fault brake interrupt flag of selected source.
| [in] | epwm | The pointer of the specified EPWM module |
| [in] | u32BrakeSource | Fault brake source, could be either |
| 0 | Fault brake interrupt did not occurred |
| 1 | Fault brake interrupt occurred |
This function is used to get fault brake interrupt flag of selected source.
| uint32_t EPWM_GetFaultDetectInt | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Get fault detect interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module.
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5. |
| 0 | Fault detect interrupt did not occur. |
| 1 | Fault detect interrupt occurred. |
This function is used to Get fault detect interrupt of selected channel.
| uint32_t EPWM_GetFTDutyIntFlag | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Get free trigger duty interrupt flag of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| 0 | Free trigger duty interrupt did not occur |
| 1 | Free trigger duty interrupt occurred |
This function is used to get free trigger duty interrupt flag of selected channel.
| uint32_t EPWM_GetPeriodIntFlag | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Get period interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| 0 | Period interrupt did not occur |
| 1 | Period interrupt occurred |
This function is used to get period interrupt of selected channel.
| uint32_t EPWM_GetWrapAroundFlag | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Get the time-base counter reached its maximum value flag of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| 0 | Count to max interrupt did not occur |
| 1 | Count to max interrupt occurred |
This function is used to get the time-base counter reached its maximum value flag of selected channel.
| uint32_t EPWM_GetZeroIntFlag | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum | ||
| ) |
Get zero interrupt of selected channel.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| 0 | Zero interrupt did not occur |
| 1 | Zero interrupt occurred |
This function is used to get zero interrupt of selected channel.
| void EPWM_SetBrakePinSource | ( | EPWM_T * | epwm, |
| uint32_t | u32BrakePinNum, | ||
| uint32_t | u32SelAnotherModule | ||
| ) |
Set EPWM brake pin source.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32BrakePinNum | Brake pin selection. Valid values are 0 or 1. |
| [in] | u32SelAnotherModule | Select to another module. Valid values are TRUE or FALSE. |
This function is used to set EPWM brake pin source.
| void EPWM_SetClockSource | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelNum, | ||
| uint32_t | u32ClkSrcSel | ||
| ) |
Set EPWM clock source.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelNum | EPWM channel number. Valid values are between 0~5 |
| [in] | u32ClkSrcSel | EPWM external clock source. |
This function is used to set EPWM clock source.
| void EPWM_SetLeadingEdgeBlanking | ( | EPWM_T * | epwm, |
| uint32_t | u32TrigSrcSel, | ||
| uint32_t | u32TrigType, | ||
| uint32_t | u32BlankingCnt, | ||
| uint32_t | u32BlankingEnable | ||
| ) |
Set EPWM leading edge blanking function.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32TrigSrcSel | Leading edge blanking source selection. |
| [in] | u32TrigType | Leading edge blanking trigger type. |
| [in] | u32BlankingCnt | Leading Edge Blanking Counter. Valid values are between 1~512. This counter value decides leading edge blanking window size, and this counter clock base is ECLK. |
| [in] | u32BlankingEnable | Enable EPWM leading edge blanking function. Valid values are TRUE (ENABLE) or FALSE (DISABLE). |
This function is used to configure EPWM leading edge blanking function that blank the false trigger from ACMP brake source which may cause by EPWM output transition.
| void EPWM_Start | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelMask | ||
| ) |
Start EPWM module.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelMask | Combination of enabled channels. Each bit corresponds to a channel. Bit 0 is channel 0, bit 1 is channel 1... |
This function is used to start EPWM module.
| void EPWM_Stop | ( | EPWM_T * | epwm, |
| uint32_t | u32ChannelMask | ||
| ) |
Stop EPWM module.
| [in] | epwm | The pointer of the specified EPWM module
|
| [in] | u32ChannelMask | Combination of enabled channels. Each bit corresponds to a channel. Bit 0 is channel 0, bit 1 is channel 1... |
This function is used to stop EPWM module.


Problem Solving
Tell your non-tech friend a story about a time you:
1. Got blocked on a simple problem.
2. Solved a problem in an elegant way In both cases:
What was the problem?
What problem solving techniques did you use?
How did you feel throughout the process?
What did you learn?
I met so many problem during work and study. I just cannot address one. Usually when I have a problem, I always google first and it can solve 90% of them. Otherwise I will ask my colleagues. It's also a quick way to get the answer. We used to have short audio conference on every Monday. We update the current progress, blocking issues and new ideas. It's a good chance to unblock your problems by listen to others ideas.


---
layout: post
title: "New Swiss Landline Number"
date: 2007-10-14
tags: []
permalink: /2007/10/new-swiss-landline-number.html
comments: false
---
{% include JB/setup %}
I've just created a new Swiss
SkypeIn number. This means that if you are in Switzerland, you can call me on
044 586 02 81 at national landline rates. If I'm not logged into skype, the call will automatically be diverted to my UK mobile phone.


WeedPlan
Home
Promo
Toko
Bantuan
Search
Profile
Log Out
Sign Up
Login
Home
Login
Customer Login
WeedPlan
Username
Password
Sign in
Not a member?
Register
or sign up with:


Using the Showcase Mobile App
Introducing the Showcase App
Showcase apps demonstrate many features of Mobile Services. To see these features:
-
Set up the appropriate services as described in Setting up mobile services to demonstrate Showcase App features.

-
To demonstrate Mobile Metrics, Provision the Mobile Metrics service For more information about features, see Mobile Metrics Service
-
To demonstrate Identity Management:
-
Create a new user to authenticate using the Identity Management documentation.
-
Set credentials for the created user. Follow the steps documentation.
For more information about features, see Identity Management Service
-
To demonstrate Push Notifications Provision the Push Notifications service. For more information about features, see the Push Notifications Service
Demonstrating Data Sync
-
Provision a PostgreSQL database.
-
Log in to OpenShift and browse to an existing project, or create a new project.
-
Click
Browse Catalog
and selectDatabases
→Postgres
→PostgreSQL
, and complete the wizard to start the deployment of the database.Record the value for PostgreSQL Connection Username
,PostgreSQL Connection Password
, andPostgreSQL Database Name
as they are required when provisioning Data Sync. -
Click
Browse Catalog
and selectMobile
→Data Sync
.
-
-
Provision a new Data Sync app from the catalog as described in Running Data Sync in OpenShift with the following parameters:
Field Value Sync Application Name
syncshowcase
Sync Application Docker image
docker.io/aerogear/voyager-server-example-task
Sync Application Docker image version
latest
Sync App Port
4000
Sync Application metrics endpoint
/metrics
Sync App GraphQL Endpoint
/graphql
Database Server Hostname
Hostname of the PostgreSQL server, usually postgresql
Database Server Port
Port number of the PostgreSQL server, usually 5432
Database Server Username
Username of the PostgreSQL database connection
Database Server Password
Password of the PostgreSQL database connection
Database name
PostgreSQL database name
-
Provision the Mobile Developer Console
-
Click
Browse Catalog
and selectMobile
→Mobile Developer Console
. -
Complete the wizard to start the deployment of the Mobile Developer Console.
-
Creating the Data Sync Mobile App binding
-
Log in to the Mobile Developer Console by clicking on the Mobile Developer Console link within Openshift.
-
Click Create Mobile App, and complete the wizard to create a Mobile App.
-
Click on the newly created Mobile App and click Mobile Services.
-
The Data Sync provisioned service should be available under the Unbound Services heading. Click Bind to App and follow the wizard.
-
When the binding completes, click on configuration. The configuration for the Data Sync Mobile App is displayed, for example:
{ "version": 1, "namespace": "voyager", "clientId": "voyager-ionic-example", "services": [{ "id": "8565c444-6bed-33e9-8616-0af08791569c", "name": "sync-app-syncshowcase-test16", "type": "sync-app", "url": "https://sync-app-syncshowcase.testbed.com/graphql", "config": { "websocketUrl": "wss://sync-app-syncshowcasetestbed.com/graphql" } }] }
-
Copy the content to your clipboard.
Running the showcase app with Data Sync configured
-
Open a terminal and browse to the showcase app root folder.
-
Install Ionic 4:
npm install -g ionic@4
-
Install dependencies:
npm install
-
Run the showcase app with Data Sync configured:
npm run start
-
Once the process has finished, the showcase app is displayed in a browser at http://localhost:8100/.
Setting Up the Showcase App
-
Clone the showcase app and checkout the release tag 0.8.0
-
The following steps will help you enable Push Notifications in a showcase application.
Binding the Showcase Mobile App to Mobile Services
-
Bind the Mobile App to the Mobile Metrics service if you want to demonstrate the Mobile Metrics service.
-
Bind the Mobile App to the Identity Management service if you want to demonstrate authentication.
-
Bind the Mobile App to the Push Notifications service if you want to demonstrate Push Notifications.
This step also creates a variant as described in Push Notifications Service terminology. -
Bind the Mobile App to the Data Sync app if you want to demonstrate Data Sync.
Downloading the Mobile Services Configuration File
-
Open your Mobile App in Mobile Developer Console.
-
Copy the
mobile-services.json
configuration to your clipboard. Save the contents of the clipboard to a new file calledmobile-services.json
.The mobile-services.json file is the link between the mobile services running on OpenShift and the mobile app you are developing. The mobile-services.json file provides all required configuration to initialise the various SDKs and connect them to the back-end services. -
Copy the contents of the
mobile-services.json
file into themobile-services.json
file located insrc
.
Building and Running the Showcase App
-
Build the Mobile App
-
Run the Mobile App
To run the showcase app, use these commands:
$ npm run ionic:android # to run on an Android device or emulator
$ npm run ionic:ios # to run on an iOS device or emulator
These commands would run the app on a device if connected or on the emulator if no device is connected.
Alternatively, you can use Cordova commands directly to specify the target:
$ ionic cordova run android --device # run on a connected device
$ ionic cordova run android --emulator # run on the Android emulator
Using Self-Signed Certificates in Mobile Apps
| Before you can run a mobile app and connect to Mobile Services, you must configure self-signed certificates on the mobile device. |
Throughout the development lifecycle of a mobile app, a common requirement is to integrate and connect with back-end services in a secure manner. This is achieved using SSL/TLS.
However, in order for the client device to connect over SSL/TLS, it needs to trust the certificates used by the back-end services, which are signed by a certificate authority. Most client devices have a list of well-known and trusted certificate authorities pre-installed and this allows the client devices to verify the certificates used by the back-end services.
A typical OpenShift development environment uses self-signed certificates that are not signed by any of the trusted certificate authorities. In such an environment, the client devices cannot establish secure connections with the back-end services that are running on a local OpenShift cluster.
The suggested workaround is to manually extract the root certificate from the cluster, install it on the device, and make sure your application trusts the new certificate.
1. Extracting the OpenShift Root Certificate Authority Cert
-
Log into OpenShift as the admin user:
$ oc login -u system:admin
-
Run the following command:
$ oc get secret router-certs --template='{{index .data "tls.crt"}}' -n default | \ base64 --decode | sed -e '1,/^-----END RSA PRIVATE KEY-----$/ d' > /tmp/localcluster.crt
The resulting file is located in the
/tmp
directory.
2. Installing the OpenShift Root Certificate Authority Cert on a Device
To install the cert on an Android emulator:
-
Set screen lock on the mobile device to allow for the installation of the certificate.
-
Click on the certificate file and drag it onto the emulator. It should be copied to the Downloads folder on the device.
-
Install the certificate on your device:
-
To choose a file, navigate to Settings > Security & location > Advanced > Encryption & credentials > Install from SD card. From here, navigate to the Downloads folder and you should see the certificate file.
-
Navigate to the
Downloads
folder and choose the certificate file. The Android system detects the certificate and lets you install it. For more information, see the sample guide for Google Nexus devices.
-
To install the cert on a real Android device:
-
Enable screen lock on the mobile device to allow for the installation of the certificate.
-
Copy the file to your device using one of the following methods:
-
Email attachment (Recommended) - Email the certificate to an address accessible from the device and download the attachment.
-
Cloud service - Use a cloud storage service such as Dropbox or Google Drive that is accessible from the device, and download from the device.
-
USB - Attach the device to a computer and drag the certificate to a devices file system.
-
Use the example guide for Google Nexus devices. The procedure might be different for other devices.
-
Use the Android Debug Bridge (adb) documentation for the push command to push the certificate to the connected device, for example:
$ adb push /tmp/localcluster.crt /sdcard/Download/localcluster.crt
-
-
-
Install the certificate on your device:
If you are use the email or cloud service method, you are prompted by the Android system automatically to install the file. Follow the instructions to complete the process.
If you are using the USB approach, you must install the certificate manually:
-
Go to Settings > Security & location > Advanced > Encryption & credentials > Install from SD card. You are prompted to choose a file.
-
Navigate to the
Downloads
folder and choose the certificate file. The Android system detects the certificate and lets you install it. For more information, see the sample guide for Google Nexus devices.
-
To verify the self-signed certificate is installed correctly, use a browser on the device to open the OpenShift web console. You should not see any warnings or errors relating to the certificate.
To install the cert on an iOS simulator:
-
Drag and drop the certificate file to the simulator, and use Safari to download the certificate to the simulator.
-
Install the downloaded certificate:
-
Go to Settings > General > Profile. You should see a profile with a name similar to
openshift-signer@xxxxxxx
. -
Tap on the profile. An Install button appears in the top right corner of the screen.
-
Tap the Install button to install the cert.
-
-
Trust the installed certificate in iOS. Go to Settings > General > About > Certificate Trust Settings, and enable the newly installed root certificate. See the Apple support site for more instructions.
To install the cert on a real iOS device:
-
Enable Passcode or TouchID protection on the mobile device to ensure the certificate can be installed.
-
Copy the file to your device using one of the following methods:
-
Email attachment (Recommended) - Email the certificate to an address accessible from the device and download the attachment.
-
Cloud service - Use a cloud storage service such as Dropbox or Google Drive that is accessible from the device, and download from the device.
-
-
Add the certificate to your device:
When you download the certificate, the device should automatically detect a profile. Follow the on screen instructions to complete the process.
-
Trust the installed certificate in iOS. Go to Settings > General > About > Certificate Trust Settings, and enable the newly installed root certificate. See the Apple support site for more instructions.
To verify the self-signed certificate is installed correctly, use a browser on the deveice to open the OpenShift web console. You should not see any warnings or errors about the certificate.
3. Trusting the Certificate In Your App.
In the previous procedures, you ensured that the operating system trusts the cert. However, if you are using newer versions of the Android or iOS operating systems, you also need to update your mobile app to make sure it trusts the certificate.
-
Create a
network_security_config.xml
file with the following code.<network-security-config> <base-config> <trust-anchors> <certificates src="user"/> <certificates src="system"/> </trust-anchors> </base-config> </network-security-config>
Save this file in the following location: *
res/xml
directory for native apps * the root directory of the project for JavaScript apps -
Update the manifest file of your Android application to use this configuration.
-
If you are developing a native application, open the
AndroidManifest.xml
file and add the following code to theapplication
tag:<application android:networkSecurityConfig="@xml/network_security_config" ... />
-
If you are developing a Cordova application, add the following code the
config.xml
file in for theandroid
platform:<resource-file src="network_security_config.xml" target="app/src/main/res/xml/network_security_config.xml" /> <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application"> <application android:networkSecurityConfig="@xml/network_security_config" /> </edit-config>
You also need to add
xmlns:android="http://schemas.android.com/apk/res/android"
to thewidget
tag in the sameconfig.xml
file.
-
For more information, check the Android network security configuration guide.
-
Add the
NSAllowsArbitraryLoads
key to theInfo.plist
file of your iOS project. -
Set the
NSAllowsArbitraryLoads
key toYes
to disable the App Transport Security (ATS) feature for your application.
| Only perform these steps for development or debug purposes, the resulting app will not pass the App Store review process. |
For more information, see the Apple developer docs.
Demonstrating the ShowCase App features
Identity Management
Make sure you have created a user and set up credentials for that user as describe in the Keycloak Documentation.
From the showcase app:
Data Sync
| Data Sync is only available in the Cordova showcase app. |
| To demonstrate all the features that Data Sync offers, use the same app from multiple devices at the same time. |
From the showcase app:
-
Select the Manage Tasks menu item.
-
View tasks created from other devices and edit them. Check that the tasks have changed from other devices.
-
Create new tasks and see those tasks displayed on other devices.
-
Invoke Airplane Mode to bring your device offline.
-
Create more tasks and edit some existing tasks.
-
Switch the device back online and see the new and edited tasks synchronized to the other devices.
Security Services
Device Checks
Device Trust page will check the mobile device for and give a security rating for the device based on the following checks
-
Debugger Detected
-
Root Access Detected
-
Emulator Access Detected
-
No Device Lock Enabled
To use Device Trust in the showcase app:
-
Press the Security menu item.
-
From the drop down press Device Trust.
-
View the results of the Device security checks.
-
Navigate to the Grafana, and view the metrics as described in Analyzing App Usage.
Mobile Security Service
Application Trust allows you to connect to the Mobile Security Service and that allows you to enable or disable a mobile app from the Mobile Security console.
To use Application Trust in the showcase app:
-
Press the Security menu item.
-
From the drop down press Application Trust.
-
Navigate to the Mobile Security Service link to set the enable/disable message as described in link:Mobile Security#monitoring[Using the App Security Console].
-
Press the CHECK THE SECURITY SERVICE button to check the message from the service.
Push Notifications
-
Send a push notification as described in Sending a Push Notification
-
Launch the showcase app and view the notification.
Mobile Metrics
-
Launch the showcase app. It automatically sends app and device metrics.
-
Navigate to the Grafana, and view the metrics.
If you perform device security checks, related metrics are also displayed.


WITNESS LIST Criminal Justice Committee May 6, 1997-8:30A HB 1422 For: Carrasco, Carlos (AFSCME), Huntsville Registering, but not testifying: For: Simpson, Dee (AFSCME), Austin Zivley, Lane A. (TX Public Employee Assn), Austin HB 1482 Registering, but not testifying: For: Barnett, Linc (GTE Wireless Products), Atlanta, GA Brown, Pat (GTE), Austin Jones, Tom A. (Sprint), Austin HB 1747 For: Schaffer, Susan (The Arc of Texas), Austin Webb, Roger (TX Cncl Devl Disability), Austin Registering, but not testifying: For: Mitchell, Beth (Advocacy, Inc.), Austin On: Cranford, Susan (TDCJ-CJAD), Austin Fillmore, Debbie (TX Jail Commission), Austin Green, Wayne (TCLE), Austin Kifowit, Dee (TCOMI), Austin Written materials submitted: For: Shannon, Jacqueline (TEXAMI), Austin HB 2699 Registering, but not testifying: For: Heine, Vivian Lewis (self), Austin Lyons, Laura (self), Austin Payne, Karla (Assault Victim Services), San Angelo On: Navarre, David (Navarre & Associates), Austin Walraven, Joe (Sunset Advisory Comm.), Austin Zukowski, Dr. Jim (TX Dept of Health), Austin Written materials submitted: For: Moore, Deborah (PACC), Ft. Worth HB 3212 Registering, but not testifying: On: Baldwin, Jeff (TDCJ), Austin


- - this is a little information about me :
- I'm Qatadah Almomani
- I'm 25 years old
- I'm mechanical engineer specialising in HVAC
- I got graduate from al balqa applied university in 2017
- I decided to learn programming because i love programming.
- - i have a little work experience in many feled like :
- Customer service representative in Extensya
- Sales engineer in Cyrine Renewable Energy Systems
- casher in firefly
- MESC compeny for HVAC
- a supervising engineer in Ministry of Public Works and Housing
- Top Rated Movies:
- The Shawshank Redemption (1994)
- The Godfather (1972)
- The Godfather: Part II (1974)
- The Dark Knight (2008)
- 12 Angry Men (1957)
- Schindler's List (1993)
- The Lord of the Rings: The Return of the King (2003)
- Pulp Fiction (1994)
- Il buono, il brutto, il cattivo (1966)
- The Lord of the Rings: The Fellowship of the Ring (2001)
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt minus possimus aliquid veniam, blanditiis quam mollitia quidem molestiae dignissimos expedita totam commodi, temporibus nisi velit qui ipsam beatae eum eligendi.


#include "slu_Cnames.h"
Functions | |
| int | lsame_ (char *ca, char *cb) |
-- LAPACK auxiliary routine (version 2.0) -- Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., Courant Institute, Argonne National Lab, and Rice University September 30, 1994
| int lsame_ | ( | char * | ca, | |
| char * | cb | |||
| ) |
Purpose =======
LSAME returns .TRUE. if CA is the same letter as CB regardless of case.
Arguments =========
CA (input) CHARACTER*1 CB (input) CHARACTER*1 CA and CB specify the single characters to be compared.
=====================================================================


#include <engineoutputdatafilewriter.h>
Definition at line 23 of file engineoutputdatafilewriter.h.
Public Member Functions | |
| bool | areFilesOpen () const |
| void | closeFiles () |
| void | newFile (const std::string &log_file_path, int file_buffer_size=32768) |
| void | newFile (const std::wstring &log_file_path, int file_buffer_size=32768) |
| void | newFile (Serializable::ObjectID object_id, const std::string &log_file_path, int file_buffer_size=32768) |
| void | newFile (Serializable::ObjectID object_id, const std::wstring &log_file_path, int file_buffer_size=32768) |
| void | newFiles (const Serializable::ObjectIDVec &ids_to_log, const std::string &logging_dir, const std::string &suffix="", int file_buffer_size=32768) |
| void | newFiles (const Serializable::ObjectIDVec &ids_to_log, const std::wstring &logging_dir, const std::wstring &suffix=L"", int file_buffer_size=32768) |
| void | writeData (const EngineOutputData &data) |
| void | writeData (const ConstEngineOutputDataPtr &data) |
Static Public Member Functions | |
| static std::wstring | objectIDToFileName (Serializable::ObjectID object_id) |
| static void | registerObjectIDFileName (Serializable::ObjectID object_id, std::wstring filename) |
| bool areFilesOpen | ( | ) | const |
Never throws
| void closeFiles | ( | ) |
Close the open logfiles.
| void newFile | ( | const std::string & | log_file_path, | |
| int | file_buffer_size = 32768 | |||
| ) |
Open a new logfile for writing.
| log_file_path | The path to a file to write to. The path must exist. | |
| file_buffer_size | Buffer file size. |
| EngineOutputDataFileError | if an error occured in opening the files |
| void newFile | ( | const std::wstring & | log_file_path, | |
| int | file_buffer_size = 32768 | |||
| ) |
Open a new logfile for writing.
| log_file_path | The path to a file to write to. The path must exist. | |
| file_buffer_size | Buffer file size. |
| EngineOutputDataFileError | if an error occured in opening the files |
| void newFile | ( | Serializable::ObjectID | object_id, | |
| const std::string & | log_file_path, | |||
| int | file_buffer_size = 32768 | |||
| ) |
Open a new logfile for writing.
| object_id | The object ID that we want to log. | |
| log_file_path | The path to a file to write to. The path must exist. | |
| file_buffer_size | Buffer file size. |
| EngineOutputDataFileError | if an error occured in opening the files |
| void newFile | ( | Serializable::ObjectID | object_id, | |
| const std::wstring & | log_file_path, | |||
| int | file_buffer_size = 32768 | |||
| ) |
Open a new logfile for writing.
| object_id | The object ID that we want to log. | |
| log_file_path | The path to a file to write to. The path must exist. | |
| file_buffer_size | Buffer file size. |
| EngineOutputDataFileError | if an error occured in opening the files |
| void newFiles | ( | const Serializable::ObjectIDVec & | ids_to_log, | |
| const std::string & | logging_dir, | |||
| const std::string & | suffix = "" , |
|||
| int | file_buffer_size = 32768 | |||
| ) |
Open some new logfiles for writing.
| ids_to_log | Vector of object IDs that we want to log. Each ID in this vector will have its own logfile that objects with a corresponding ID will be written to | |
| logging_dir | The directory to create the new logfiles in | |
| suffix | A string that will be appended to the log file filename, before the file extension. This can be used to append a date and time to the logfile, for example. | |
| file_buffer_size | Buffer file size. |
| EngineOutputDataFileError | if an error occured in opening the files |
| void newFiles | ( | const Serializable::ObjectIDVec & | ids_to_log, | |
| const std::wstring & | logging_dir, | |||
| const std::wstring & | suffix = L"" , |
|||
| int | file_buffer_size = 32768 | |||
| ) |
Open some new logfiles for writing.
| ids_to_log | Vector of object IDs that we want to log. Each ID in this vector will have its own logfile that objects with a corresponding ID will be written to. | |
| logging_dir | The directory to create the new logfiles in | |
| suffix | A string that will be appended to the log file filename, before the file extension. This can be used to append a date and time to the logfile, for example. | |
| file_buffer_size | Buffer file size. |
| EngineOutputDataFileError | if an error occured in opening the files |
| static std::wstring objectIDToFileName | ( | Serializable::ObjectID | object_id | ) | [static] |
Map between a Serializable object ID and a filename.
| EngineOutputDataFileError | If the ID is unrecognised |
| static void registerObjectIDFileName | ( | Serializable::ObjectID | object_id, | |
| std::wstring | filename | |||
| ) | [static] |
Registers a mapping between a Serializable object ID and a filename.
| void writeData | ( | const ConstEngineOutputDataPtr & | data | ) |
Write data to the open logfiles.
Each top-level sub object that has serializeEnabled() == true and corresponds to an open logfile is extracted from data and written to file. Nothing is done if data->serializeEnabled() == false. If the top-level sub object is not found it is also looked for under the first FaceSetOutputDataLatest object.
| data | The engine output data to write to files. |
| EngineOutputDataFileError | Failed to write file. |