These are the default metrics implemented in the BrandsEye.js library. Enter your account and filter information, along with your API key, to pull data from your own account. If you're a BrandsEye client and need to find out what your API key is, please contact your client service representative.


Markdown: Syntax Main Basics Syntax License Dingus Overview Philosophy Inline HTML Automatic Escaping for Special Characters Block Elements Paragraphs and Line Breaks Headers Blockquotes Lists Code Blocks Horizontal Rules Span Elements Links Emphasis Code Images Miscellaneous Backslash Escapes Automatic Links Note: This document is itself written using Markdown; you can see the source for it by adding ‘.text’ to the URL. Overview Philosophy Markdown is intended to be as easy-to-read and easy-to-write as is feasible. Readability, however, is emphasized above all else. A Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with...…
First Commit
"The beginning is the most important part of the work." Plato I have been away from the blogging scene for quite a while now, suddenly today it dawned upon me that I need to start writing/posting again. My writing is a little bit rusty now, and I need to brush on that. Anyways, the moment I thought about blogging, Wordpress flashed in my mind. Well, I used Wordpress 1 in the past and it worked well for a while, then I had to face issues like high-traffic and high CPU load and unexpected spikes in my server. Well, those weren’t...…
ABOUT HMFAYSAL OMEGA
HMFAYSAL OMEGA is a minimalist, beautiful, responsive theme for Jekyll designed for engineers as well as writers who want their content to take front and center. This theme elegantly wraps each page and post with featured images complementing the content. HMFAYSAL OMEGA (named after the Greek Alphabet) complements Jekyll’s minimalist, content-first approach with gorgeous typography and subtle design elements. …
"Oh Hello. This is a status post. Click here to learn about it more :-) "
Share this Status
Theme Elements
I’ve put together a little post to introduce you to the HMFAYSAL OMEGA theme and get you started with Markdown. Go ahead and edit this post to get going and learn how it all works! Elements ELEMENTS LISTS LINKS WHAT ABOUT IMAGES? AND VIDEOS? EQUATIONS THE LOGO ICONS QUOTING WORKING WITH CODE READY FOR A BREAK? FANCY SOME COLUMNS? BUTTONS ADVANCED USAGE ELEMENTS Writing in markdown is really easy. In any editor like notepad, you simply write as you normally would. Where appropriate, you can use formatting shortcuts to style your content. LISTS For example, a list: Item number one...…
Sample Gallery Post
Here is an example of what a post with a gallery might look like. If you want to display two or three images next to each other responsively use figure with the appropriate class. Each instance of figure is auto-numbered and displayed in the caption. Photos from my Japan trip. …


Hi, I'm
I'm a Ruby on Rails Developer who is constantly curious about all the things surrounding web development. I'm self-taught and have been nagivating myself through online platforms like Treehouse and Upcase along with books like Metaprogramming Ruby, why's poignant guide to ruby, The Rails 4 Way, The Ruby on Rails Tutorial, and Practicing Rails.
I never thought I would call myself a programmer because of all my preconcieved misconceptions about the field and I'm always amazed when I say it out loud. There's never a dull moment when I'm learning and I've come to enjoy debugging. My head starts playing the Pokemon bug catcher theme song and fixing one reminds me of the feeling I get when I finish a good series.
I was born in Manila, Phillipines and my family imigrated to the US when I was seven years old. I've lived in California ever since and specifically the Bay Area. I have an old 93 Chevy Cavalier which I consider as my second home because it's taken me to every corner of the Bay since High School. It's old, rusty and has had it's fair share of problems but has always taken me to the places I needed to go.
I love to draw and write in my free time. I've always thought that there was something special about being able to create something new from shapes, lines, words, and now code. Outside of those, I also enjoy reading books, mangas and going on a Netflix binge every other week.
I'm not sure what my dream job would be but it has to be a cross section of working with the communities around the Bay Area, somehow related to Art, and have a strong mentoring environment. A place where those three things intersect would be the dream for me.
I went to UC Berkeley for Chemistry but ever since I was introduced to web development, I've spent as much time as I can learning about it. Most of that time was spent learning Ruby and Rails but I'm working on upping my front-end skills. I'm also proud of the time I spent working on a school publication called Maganda Magazine where I learned how to use Photoshop and InDesign, about my own culture along with it's unique history, and about writing in general.
Ever since Kendrick Lamar dropped his new album, I've been listening to it almost religiously along with Run the Jewels 2.


{{ gamesCount }} Games
{{ recentWins }}W • {{ recentLosses }}L
{{ champion.championName }}
{{ champion.wins }}W {{ champion.losses }}L
{{ champion.winRatio }}%{{ champion.games }} played


|
| #define | SUPC_CR_VROFF (0x1u << 2) |
| | (SUPC_CR) Voltage Regulator Off More...
|
| |
| #define | SUPC_CR_VROFF_NO_EFFECT (0x0u << 2) |
| | (SUPC_CR) No effect. More...
|
| |
| #define | SUPC_CR_VROFF_STOP_VREG (0x1u << 2) |
| | (SUPC_CR) If KEY is correct, asserts the system reset signal and stops the voltage regulator. More...
|
| |
| #define | SUPC_CR_XTALSEL (0x1u << 3) |
| | (SUPC_CR) Crystal Oscillator Select More...
|
| |
| #define | SUPC_CR_XTALSEL_NO_EFFECT (0x0u << 3) |
| | (SUPC_CR) No effect. More...
|
| |
| #define | SUPC_CR_XTALSEL_CRYSTAL_SEL (0x1u << 3) |
| | (SUPC_CR) If KEY is correct, switches the slow clock on the crystal oscillator output. More...
|
| |
| #define | SUPC_CR_KEY_Pos 24 |
| |
| #define | SUPC_CR_KEY_Msk (0xffu << SUPC_CR_KEY_Pos) |
| | (SUPC_CR) Password More...
|
| |
| #define | SUPC_CR_KEY_PASSWD (0xA5u << 24) |
| | (SUPC_CR) Writing any other value in this field aborts the write operation.Always reads as 0. More...
|
| |
| #define | SUPC_SMMR_SMTH_Pos 0 |
| |
| #define | SUPC_SMMR_SMTH_Msk (0xfu << SUPC_SMMR_SMTH_Pos) |
| | (SUPC_SMMR) Supply Monitor Threshold More...
|
| |
| #define | SUPC_SMMR_SMTH(value) ((SUPC_SMMR_SMTH_Msk & ((value) << SUPC_SMMR_SMTH_Pos))) |
| |
| #define | SUPC_SMMR_SMSMPL_Pos 8 |
| |
| #define | SUPC_SMMR_SMSMPL_Msk (0x7u << SUPC_SMMR_SMSMPL_Pos) |
| | (SUPC_SMMR) Supply Monitor Sampling Period More...
|
| |
| #define | SUPC_SMMR_SMSMPL_SMD (0x0u << 8) |
| | (SUPC_SMMR) Supply Monitor disabled More...
|
| |
| #define | SUPC_SMMR_SMSMPL_CSM (0x1u << 8) |
| | (SUPC_SMMR) Continuous Supply Monitor More...
|
| |
| #define | SUPC_SMMR_SMSMPL_32SLCK (0x2u << 8) |
| | (SUPC_SMMR) Supply Monitor enables one SLCK period every 32 SLCK periods More...
|
| |
| #define | SUPC_SMMR_SMSMPL_256SLCK (0x3u << 8) |
| | (SUPC_SMMR) Supply Monitor enables one SLCK period every 256 SLCK periods More...
|
| |
| #define | SUPC_SMMR_SMSMPL_2048SLCK (0x4u << 8) |
| | (SUPC_SMMR) Supply Monitor enables one SLCK period every 2,048 SLCK periods More...
|
| |
| #define | SUPC_SMMR_SMRSTEN (0x1u << 12) |
| | (SUPC_SMMR) Supply Monitor Reset Enable More...
|
| |
| #define | SUPC_SMMR_SMRSTEN_NOT_ENABLE (0x0u << 12) |
| | (SUPC_SMMR) The core reset signal vddcore_nreset is not affected when a supply monitor detection occurs. More...
|
| |
| #define | SUPC_SMMR_SMRSTEN_ENABLE (0x1u << 12) |
| | (SUPC_SMMR) The core reset signal vddcore_nreset is asserted when a supply monitor detection occurs. More...
|
| |
| #define | SUPC_SMMR_SMIEN (0x1u << 13) |
| | (SUPC_SMMR) Supply Monitor Interrupt Enable More...
|
| |
| #define | SUPC_SMMR_SMIEN_NOT_ENABLE (0x0u << 13) |
| | (SUPC_SMMR) The SUPC interrupt signal is not affected when a supply monitor detection occurs. More...
|
| |
| #define | SUPC_SMMR_SMIEN_ENABLE (0x1u << 13) |
| | (SUPC_SMMR) The SUPC interrupt signal is asserted when a supply monitor detection occurs. More...
|
| |
| #define | SUPC_MR_BODRSTEN (0x1u << 12) |
| | (SUPC_MR) POR Core Reset Enable More...
|
| |
| #define | SUPC_MR_BODRSTEN_NOT_ENABLE (0x0u << 12) |
| | (SUPC_MR) The core reset signal vddcore_nreset is not affected when a brownout detection occurs. More...
|
| |
| #define | SUPC_MR_BODRSTEN_ENABLE (0x1u << 12) |
| | (SUPC_MR) The core reset signal vddcore_nreset is asserted when a brownout detection occurs. More...
|
| |
| #define | SUPC_MR_BODDIS (0x1u << 13) |
| | (SUPC_MR) POR Core Disable More...
|
| |
| #define | SUPC_MR_BODDIS_ENABLE (0x0u << 13) |
| | (SUPC_MR) The core brownout detector is enabled. More...
|
| |
| #define | SUPC_MR_BODDIS_DISABLE (0x1u << 13) |
| | (SUPC_MR) The core brownout detector is disabled. More...
|
| |
| #define | SUPC_MR_OSCBYPASS (0x1u << 20) |
| | (SUPC_MR) Oscillator Bypass More...
|
| |
| #define | SUPC_MR_OSCBYPASS_NO_EFFECT (0x0u << 20) |
| | (SUPC_MR) No effect. More...
|
| |
| #define | SUPC_MR_OSCBYPASS_BYPASS (0x1u << 20) |
| | (SUPC_MR) The 32 kHz crystal oscillator is selected and put in bypass mode. More...
|
| |
| #define | SUPC_MR_CDPSWITCH (0x1u << 21) |
| | (SUPC_MR) Cache Data SRAM Power Switch More...
|
| |
| #define | SUPC_MR_CDPSWITCH_OFF (0x0u << 21) |
| | (SUPC_MR) The cache data SRAM is not powered. More...
|
| |
| #define | SUPC_MR_CDPSWITCH_ON (0x1u << 21) |
| | (SUPC_MR) The cache data SRAM is powered. More...
|
| |
| #define | SUPC_MR_CTPSWITCH (0x1u << 22) |
| | (SUPC_MR) Cache Tag SRAM Power Switch More...
|
| |
| #define | SUPC_MR_CTPSWITCH_OFF (0x0u << 22) |
| | (SUPC_MR) The cache tag SRAM is not powered. More...
|
| |
| #define | SUPC_MR_CTPSWITCH_ON (0x1u << 22) |
| | (SUPC_MR) The cache tag SRAM is powered. More...
|
| |
| #define | SUPC_MR_ONE (0x1u << 23) |
| | (SUPC_MR) This bit must always be set to 1. More...
|
| |
| #define | SUPC_MR_KEY_Pos 24 |
| |
| #define | SUPC_MR_KEY_Msk (0xffu << SUPC_MR_KEY_Pos) |
| | (SUPC_MR) Password Key More...
|
| |
| #define | SUPC_MR_KEY_PASSWD (0xA5u << 24) |
| | (SUPC_MR) Writing any other value in this field aborts the write operation.Always reads as 0. More...
|
| |
| #define | SUPC_WUMR_SMEN (0x1u << 1) |
| | (SUPC_WUMR) Supply Monitor Wake-up Enable More...
|
| |
| #define | SUPC_WUMR_SMEN_NOT_ENABLE (0x0u << 1) |
| | (SUPC_WUMR) The supply monitor detection has no wake-up effect. More...
|
| |
| #define | SUPC_WUMR_SMEN_ENABLE (0x1u << 1) |
| | (SUPC_WUMR) The supply monitor detection forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUMR_RTTEN (0x1u << 2) |
| | (SUPC_WUMR) Real-time Timer Wake-up Enable More...
|
| |
| #define | SUPC_WUMR_RTTEN_ENABLE (0x1u << 2) |
| | (SUPC_WUMR) The RTT alarm signal forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUMR_RTCEN (0x1u << 3) |
| | (SUPC_WUMR) Real-time Clock Wake-up Enable More...
|
| |
| #define | SUPC_WUMR_RTCEN_ENABLE (0x1u << 3) |
| | (SUPC_WUMR) The RTC alarm signal forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUMR_WKUPDBC_Pos 12 |
| |
| #define | SUPC_WUMR_WKUPDBC_Msk (0x7u << SUPC_WUMR_WKUPDBC_Pos) |
| | (SUPC_WUMR) Wake-up Inputs Debouncer Period More...
|
| |
| #define | SUPC_WUMR_WKUPDBC_IMMEDIATE (0x0u << 12) |
| | (SUPC_WUMR) Immediate, no debouncing, detected active at least on one Slow Clock edge. More...
|
| |
| #define | SUPC_WUMR_WKUPDBC_3_SCLK (0x1u << 12) |
| | (SUPC_WUMR) WKUPx shall be in its active state for at least 3 SLCK periods More...
|
| |
| #define | SUPC_WUMR_WKUPDBC_32_SCLK (0x2u << 12) |
| | (SUPC_WUMR) WKUPx shall be in its active state for at least 32 SLCK periods More...
|
| |
| #define | SUPC_WUMR_WKUPDBC_512_SCLK (0x3u << 12) |
| | (SUPC_WUMR) WKUPx shall be in its active state for at least 512 SLCK periods More...
|
| |
| #define | SUPC_WUMR_WKUPDBC_4096_SCLK (0x4u << 12) |
| | (SUPC_WUMR) WKUPx shall be in its active state for at least 4,096 SLCK periods More...
|
| |
| #define | SUPC_WUMR_WKUPDBC_32768_SCLK (0x5u << 12) |
| | (SUPC_WUMR) WKUPx shall be in its active state for at least 32,768 SLCK periods More...
|
| |
| #define | SUPC_WUIR_WKUPEN0 (0x1u << 0) |
| | (SUPC_WUIR) Wake-up Input Enable 0 More...
|
| |
| #define | SUPC_WUIR_WKUPEN0_DISABLE (0x0u << 0) |
| | (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
|
| |
| #define | SUPC_WUIR_WKUPEN0_ENABLE (0x1u << 0) |
| | (SUPC_WUIR) The corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPEN1 (0x1u << 1) |
| | (SUPC_WUIR) Wake-up Input Enable 1 More...
|
| |
| #define | SUPC_WUIR_WKUPEN1_DISABLE (0x0u << 1) |
| | (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
|
| |
| #define | SUPC_WUIR_WKUPEN1_ENABLE (0x1u << 1) |
| | (SUPC_WUIR) The corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPEN2 (0x1u << 2) |
| | (SUPC_WUIR) Wake-up Input Enable 2 More...
|
| |
| #define | SUPC_WUIR_WKUPEN2_DISABLE (0x0u << 2) |
| | (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
|
| |
| #define | SUPC_WUIR_WKUPEN2_ENABLE (0x1u << 2) |
| | (SUPC_WUIR) The corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPEN3 (0x1u << 3) |
| | (SUPC_WUIR) Wake-up Input Enable 3 More...
|
| |
| #define | SUPC_WUIR_WKUPEN3_DISABLE (0x0u << 3) |
| | (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
|
| |
| #define | SUPC_WUIR_WKUPEN3_ENABLE (0x1u << 3) |
| | (SUPC_WUIR) The corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPEN4 (0x1u << 4) |
| | (SUPC_WUIR) Wake-up Input Enable 4 More...
|
| |
| #define | SUPC_WUIR_WKUPEN4_DISABLE (0x0u << 4) |
| | (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
|
| |
| #define | SUPC_WUIR_WKUPEN4_ENABLE (0x1u << 4) |
| | (SUPC_WUIR) The corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPEN5 (0x1u << 5) |
| | (SUPC_WUIR) Wake-up Input Enable 5 More...
|
| |
| #define | SUPC_WUIR_WKUPEN5_DISABLE (0x0u << 5) |
| | (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
|
| |
| #define | SUPC_WUIR_WKUPEN5_ENABLE (0x1u << 5) |
| | (SUPC_WUIR) The corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPEN6 (0x1u << 6) |
| | (SUPC_WUIR) Wake-up Input Enable 6 More...
|
| |
| #define | SUPC_WUIR_WKUPEN6_DISABLE (0x0u << 6) |
| | (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
|
| |
| #define | SUPC_WUIR_WKUPEN6_ENABLE (0x1u << 6) |
| | (SUPC_WUIR) The corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPEN7 (0x1u << 7) |
| | (SUPC_WUIR) Wake-up Input Enable 7 More...
|
| |
| #define | SUPC_WUIR_WKUPEN7_DISABLE (0x0u << 7) |
| | (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
|
| |
| #define | SUPC_WUIR_WKUPEN7_ENABLE (0x1u << 7) |
| | (SUPC_WUIR) The corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPEN8 (0x1u << 8) |
| | (SUPC_WUIR) Wake-up Input Enable 8 More...
|
| |
| #define | SUPC_WUIR_WKUPEN8_DISABLE (0x0u << 8) |
| | (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
|
| |
| #define | SUPC_WUIR_WKUPEN8_ENABLE (0x1u << 8) |
| | (SUPC_WUIR) The corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPEN9 (0x1u << 9) |
| | (SUPC_WUIR) Wake-up Input Enable 9 More...
|
| |
| #define | SUPC_WUIR_WKUPEN9_DISABLE (0x0u << 9) |
| | (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
|
| |
| #define | SUPC_WUIR_WKUPEN9_ENABLE (0x1u << 9) |
| | (SUPC_WUIR) The corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPEN10 (0x1u << 10) |
| | (SUPC_WUIR) Wake-up Input Enable 10 More...
|
| |
| #define | SUPC_WUIR_WKUPEN10_DISABLE (0x0u << 10) |
| | (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
|
| |
| #define | SUPC_WUIR_WKUPEN10_ENABLE (0x1u << 10) |
| | (SUPC_WUIR) The corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPEN11 (0x1u << 11) |
| | (SUPC_WUIR) Wake-up Input Enable 11 More...
|
| |
| #define | SUPC_WUIR_WKUPEN11_DISABLE (0x0u << 11) |
| | (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
|
| |
| #define | SUPC_WUIR_WKUPEN11_ENABLE (0x1u << 11) |
| | (SUPC_WUIR) The corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPEN12 (0x1u << 12) |
| | (SUPC_WUIR) Wake-up Input Enable 12 More...
|
| |
| #define | SUPC_WUIR_WKUPEN12_DISABLE (0x0u << 12) |
| | (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
|
| |
| #define | SUPC_WUIR_WKUPEN12_ENABLE (0x1u << 12) |
| | (SUPC_WUIR) The corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPEN13 (0x1u << 13) |
| | (SUPC_WUIR) Wake-up Input Enable 13 More...
|
| |
| #define | SUPC_WUIR_WKUPEN13_DISABLE (0x0u << 13) |
| | (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
|
| |
| #define | SUPC_WUIR_WKUPEN13_ENABLE (0x1u << 13) |
| | (SUPC_WUIR) The corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPEN14 (0x1u << 14) |
| | (SUPC_WUIR) Wake-up Input Enable 14 More...
|
| |
| #define | SUPC_WUIR_WKUPEN14_DISABLE (0x0u << 14) |
| | (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
|
| |
| #define | SUPC_WUIR_WKUPEN14_ENABLE (0x1u << 14) |
| | (SUPC_WUIR) The corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPEN15 (0x1u << 15) |
| | (SUPC_WUIR) Wake-up Input Enable 15 More...
|
| |
| #define | SUPC_WUIR_WKUPEN15_DISABLE (0x0u << 15) |
| | (SUPC_WUIR) The corresponding wake-up input has no wake-up effect. More...
|
| |
| #define | SUPC_WUIR_WKUPEN15_ENABLE (0x1u << 15) |
| | (SUPC_WUIR) The corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT0 (0x1u << 16) |
| | (SUPC_WUIR) Wake-up Input Type 0 More...
|
| |
| #define | SUPC_WUIR_WKUPT0_LOW (0x0u << 16) |
| | (SUPC_WUIR) A low level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT0_HIGH (0x1u << 16) |
| | (SUPC_WUIR) A high level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT1 (0x1u << 17) |
| | (SUPC_WUIR) Wake-up Input Type 1 More...
|
| |
| #define | SUPC_WUIR_WKUPT1_LOW (0x0u << 17) |
| | (SUPC_WUIR) A low level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT1_HIGH (0x1u << 17) |
| | (SUPC_WUIR) A high level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT2 (0x1u << 18) |
| | (SUPC_WUIR) Wake-up Input Type 2 More...
|
| |
| #define | SUPC_WUIR_WKUPT2_LOW (0x0u << 18) |
| | (SUPC_WUIR) A low level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT2_HIGH (0x1u << 18) |
| | (SUPC_WUIR) A high level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT3 (0x1u << 19) |
| | (SUPC_WUIR) Wake-up Input Type 3 More...
|
| |
| #define | SUPC_WUIR_WKUPT3_LOW (0x0u << 19) |
| | (SUPC_WUIR) A low level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT3_HIGH (0x1u << 19) |
| | (SUPC_WUIR) A high level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT4 (0x1u << 20) |
| | (SUPC_WUIR) Wake-up Input Type 4 More...
|
| |
| #define | SUPC_WUIR_WKUPT4_LOW (0x0u << 20) |
| | (SUPC_WUIR) A low level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT4_HIGH (0x1u << 20) |
| | (SUPC_WUIR) A high level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT5 (0x1u << 21) |
| | (SUPC_WUIR) Wake-up Input Type 5 More...
|
| |
| #define | SUPC_WUIR_WKUPT5_LOW (0x0u << 21) |
| | (SUPC_WUIR) A low level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT5_HIGH (0x1u << 21) |
| | (SUPC_WUIR) A high level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT6 (0x1u << 22) |
| | (SUPC_WUIR) Wake-up Input Type 6 More...
|
| |
| #define | SUPC_WUIR_WKUPT6_LOW (0x0u << 22) |
| | (SUPC_WUIR) A low level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT6_HIGH (0x1u << 22) |
| | (SUPC_WUIR) A high level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT7 (0x1u << 23) |
| | (SUPC_WUIR) Wake-up Input Type 7 More...
|
| |
| #define | SUPC_WUIR_WKUPT7_LOW (0x0u << 23) |
| | (SUPC_WUIR) A low level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT7_HIGH (0x1u << 23) |
| | (SUPC_WUIR) A high level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT8 (0x1u << 24) |
| | (SUPC_WUIR) Wake-up Input Type 8 More...
|
| |
| #define | SUPC_WUIR_WKUPT8_LOW (0x0u << 24) |
| | (SUPC_WUIR) A low level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT8_HIGH (0x1u << 24) |
| | (SUPC_WUIR) A high level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT9 (0x1u << 25) |
| | (SUPC_WUIR) Wake-up Input Type 9 More...
|
| |
| #define | SUPC_WUIR_WKUPT9_LOW (0x0u << 25) |
| | (SUPC_WUIR) A low level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT9_HIGH (0x1u << 25) |
| | (SUPC_WUIR) A high level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT10 (0x1u << 26) |
| | (SUPC_WUIR) Wake-up Input Type 10 More...
|
| |
| #define | SUPC_WUIR_WKUPT10_LOW (0x0u << 26) |
| | (SUPC_WUIR) A low level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT10_HIGH (0x1u << 26) |
| | (SUPC_WUIR) A high level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT11 (0x1u << 27) |
| | (SUPC_WUIR) Wake-up Input Type 11 More...
|
| |
| #define | SUPC_WUIR_WKUPT11_LOW (0x0u << 27) |
| | (SUPC_WUIR) A low level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT11_HIGH (0x1u << 27) |
| | (SUPC_WUIR) A high level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT12 (0x1u << 28) |
| | (SUPC_WUIR) Wake-up Input Type 12 More...
|
| |
| #define | SUPC_WUIR_WKUPT12_LOW (0x0u << 28) |
| | (SUPC_WUIR) A low level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT12_HIGH (0x1u << 28) |
| | (SUPC_WUIR) A high level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT13 (0x1u << 29) |
| | (SUPC_WUIR) Wake-up Input Type 13 More...
|
| |
| #define | SUPC_WUIR_WKUPT13_LOW (0x0u << 29) |
| | (SUPC_WUIR) A low level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT13_HIGH (0x1u << 29) |
| | (SUPC_WUIR) A high level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT14 (0x1u << 30) |
| | (SUPC_WUIR) Wake-up Input Type 14 More...
|
| |
| #define | SUPC_WUIR_WKUPT14_LOW (0x0u << 30) |
| | (SUPC_WUIR) A low level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT14_HIGH (0x1u << 30) |
| | (SUPC_WUIR) A high level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT15 (0x1u << 31) |
| | (SUPC_WUIR) Wake-up Input Type 15 More...
|
| |
| #define | SUPC_WUIR_WKUPT15_LOW (0x0u << 31) |
| | (SUPC_WUIR) A low level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_WUIR_WKUPT15_HIGH (0x1u << 31) |
| | (SUPC_WUIR) A high level for a period defined by WKUPDBC on the corresponding wake-up input forces the wake-up of the core power supply. More...
|
| |
| #define | SUPC_SR_WKUPS (0x1u << 1) |
| | (SUPC_SR) WKUP Wake-up Status More...
|
| |
| #define | SUPC_SR_WKUPS_NO (0x0u << 1) |
| | (SUPC_SR) No wake-up due to the assertion of the WKUP pins has occurred since the last read of SUPC_SR. More...
|
| |
| #define | SUPC_SR_WKUPS_PRESENT (0x1u << 1) |
| | (SUPC_SR) At least one wake-up due to the assertion of the WKUP pins has occurred since the last read of SUPC_SR. More...
|
| |
| #define | SUPC_SR_BODRSTS (0x1u << 3) |
| | (SUPC_SR) Brownout Detector Reset Status More...
|
| |
| #define | SUPC_SR_BODRSTS_NO (0x0u << 3) |
| | (SUPC_SR) No core brownout rising edge event has been detected since the last read of the SUPC_SR. More...
|
| |
| #define | SUPC_SR_BODRSTS_PRESENT (0x1u << 3) |
| | (SUPC_SR) At least one brownout output rising edge event has been detected since the last read of the SUPC_SR. More...
|
| |
| #define | SUPC_SR_SMRSTS (0x1u << 4) |
| | (SUPC_SR) Supply Monitor Reset Status More...
|
| |
| #define | SUPC_SR_SMRSTS_NO (0x0u << 4) |
| | (SUPC_SR) No supply monitor detection has generated a core reset since the last read of the SUPC_SR. More...
|
| |
| #define | SUPC_SR_SMRSTS_PRESENT (0x1u << 4) |
| | (SUPC_SR) At least one supply monitor detection has generated a core reset since the last read of the SUPC_SR. More...
|
| |
| #define | SUPC_SR_SMS (0x1u << 5) |
| | (SUPC_SR) Supply Monitor Status More...
|
| |
| #define | SUPC_SR_SMS_NO (0x0u << 5) |
| | (SUPC_SR) No supply monitor detection since the last read of SUPC_SR. More...
|
| |
| #define | SUPC_SR_SMS_PRESENT (0x1u << 5) |
| | (SUPC_SR) At least one supply monitor detection since the last read of SUPC_SR. More...
|
| |
| #define | SUPC_SR_SMOS (0x1u << 6) |
| | (SUPC_SR) Supply Monitor Output Status More...
|
| |
| #define | SUPC_SR_SMOS_HIGH (0x0u << 6) |
| | (SUPC_SR) The supply monitor detected VDDIO higher than its threshold at its last measurement. More...
|
| |
| #define | SUPC_SR_SMOS_LOW (0x1u << 6) |
| | (SUPC_SR) The supply monitor detected VDDIO lower than its threshold at its last measurement. More...
|
| |
| #define | SUPC_SR_OSCSEL (0x1u << 7) |
| | (SUPC_SR) 32-kHz Oscillator Selection Status More...
|
| |
| #define | SUPC_SR_OSCSEL_RC (0x0u << 7) |
| | (SUPC_SR) The slow clock SLCK is generated by the embedded 32 kHz RC oscillator. More...
|
| |
| #define | SUPC_SR_OSCSEL_CRYST (0x1u << 7) |
| | (SUPC_SR) The slow clock SLCK is generated by the 32 kHz crystal oscillator. More...
|
| |
| #define | SUPC_SR_WKUPIS0 (0x1u << 16) |
| | (SUPC_SR) WKUP Input Status 0 More...
|
| |
| #define | SUPC_SR_WKUPIS0_DISABLED (0x0u << 16) |
| | (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS0_ENABLED (0x1u << 16) |
| | (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS1 (0x1u << 17) |
| | (SUPC_SR) WKUP Input Status 1 More...
|
| |
| #define | SUPC_SR_WKUPIS1_DISABLED (0x0u << 17) |
| | (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS1_ENABLED (0x1u << 17) |
| | (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS2 (0x1u << 18) |
| | (SUPC_SR) WKUP Input Status 2 More...
|
| |
| #define | SUPC_SR_WKUPIS2_DISABLED (0x0u << 18) |
| | (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS2_ENABLED (0x1u << 18) |
| | (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS3 (0x1u << 19) |
| | (SUPC_SR) WKUP Input Status 3 More...
|
| |
| #define | SUPC_SR_WKUPIS3_DISABLED (0x0u << 19) |
| | (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS3_ENABLED (0x1u << 19) |
| | (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS4 (0x1u << 20) |
| | (SUPC_SR) WKUP Input Status 4 More...
|
| |
| #define | SUPC_SR_WKUPIS4_DISABLED (0x0u << 20) |
| | (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS4_ENABLED (0x1u << 20) |
| | (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS5 (0x1u << 21) |
| | (SUPC_SR) WKUP Input Status 5 More...
|
| |
| #define | SUPC_SR_WKUPIS5_DISABLED (0x0u << 21) |
| | (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS5_ENABLED (0x1u << 21) |
| | (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS6 (0x1u << 22) |
| | (SUPC_SR) WKUP Input Status 6 More...
|
| |
| #define | SUPC_SR_WKUPIS6_DISABLED (0x0u << 22) |
| | (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS6_ENABLED (0x1u << 22) |
| | (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS7 (0x1u << 23) |
| | (SUPC_SR) WKUP Input Status 7 More...
|
| |
| #define | SUPC_SR_WKUPIS7_DISABLED (0x0u << 23) |
| | (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS7_ENABLED (0x1u << 23) |
| | (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS8 (0x1u << 24) |
| | (SUPC_SR) WKUP Input Status 8 More...
|
| |
| #define | SUPC_SR_WKUPIS8_DISABLED (0x0u << 24) |
| | (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS8_ENABLED (0x1u << 24) |
| | (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS9 (0x1u << 25) |
| | (SUPC_SR) WKUP Input Status 9 More...
|
| |
| #define | SUPC_SR_WKUPIS9_DISABLED (0x0u << 25) |
| | (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS9_ENABLED (0x1u << 25) |
| | (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS10 (0x1u << 26) |
| | (SUPC_SR) WKUP Input Status 10 More...
|
| |
| #define | SUPC_SR_WKUPIS10_DISABLED (0x0u << 26) |
| | (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS10_ENABLED (0x1u << 26) |
| | (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS11 (0x1u << 27) |
| | (SUPC_SR) WKUP Input Status 11 More...
|
| |
| #define | SUPC_SR_WKUPIS11_DISABLED (0x0u << 27) |
| | (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS11_ENABLED (0x1u << 27) |
| | (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS12 (0x1u << 28) |
| | (SUPC_SR) WKUP Input Status 12 More...
|
| |
| #define | SUPC_SR_WKUPIS12_DISABLED (0x0u << 28) |
| | (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS12_ENABLED (0x1u << 28) |
| | (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS13 (0x1u << 29) |
| | (SUPC_SR) WKUP Input Status 13 More...
|
| |
| #define | SUPC_SR_WKUPIS13_DISABLED (0x0u << 29) |
| | (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS13_ENABLED (0x1u << 29) |
| | (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS14 (0x1u << 30) |
| | (SUPC_SR) WKUP Input Status 14 More...
|
| |
| #define | SUPC_SR_WKUPIS14_DISABLED (0x0u << 30) |
| | (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS14_ENABLED (0x1u << 30) |
| | (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS15 (0x1u << 31) |
| | (SUPC_SR) WKUP Input Status 15 More...
|
| |
| #define | SUPC_SR_WKUPIS15_DISABLED (0x0u << 31) |
| | (SUPC_SR) The corresponding wake-up input is disabled, or was inactive at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_SR_WKUPIS15_ENABLED (0x1u << 31) |
| | (SUPC_SR) The corresponding wake-up input was active at the time the debouncer triggered a wake-up event. More...
|
| |
| #define | SUPC_PWMR_LPOWERS (0x1u << 0) |
| | (SUPC_PWMR) Low Power Value Selection More...
|
| |
| #define | SUPC_PWMR_LPOWERS_FACTORY (0x0u << 0) |
| | (SUPC_PWMR) The trimming value applied to the regulator when the device is in wait mode. More...
|
| |
| #define | SUPC_PWMR_LPOWERS_USER (0x1u << 0) |
| | (SUPC_PWMR) The trimming value applied to the regulator is defined by the value programmed in the LPOWERx bits. More...
|
| |
| #define | SUPC_PWMR_LPOWER0 (0x1u << 1) |
| | (SUPC_PWMR) Low Power Value More...
|
| |
| #define | SUPC_PWMR_LPOWER1 (0x1u << 2) |
| | (SUPC_PWMR) Low Power Value More...
|
| |
| #define | SUPC_PWMR_LPOWER2 (0x1u << 3) |
| | (SUPC_PWMR) Low Power Value More...
|
| |
| #define | SUPC_PWMR_LPOWER3 (0x1u << 4) |
| | (SUPC_PWMR) Low Power Value More...
|
| |
| #define | SUPC_PWMR_STUPTIME (0x1u << 7) |
| | (SUPC_PWMR) Start-up Time when Resuming from Wait Mode More...
|
| |
| #define | SUPC_PWMR_STUPTIME_FAST (0x0u << 7) |
| | (SUPC_PWMR) Fast start-up. More...
|
| |
| #define | SUPC_PWMR_STUPTIME_SLOW (0x1u << 7) |
| | (SUPC_PWMR) Slow start-up. More...
|
| |
| #define | SUPC_PWMR_ECPWRS (0x1u << 8) |
| | (SUPC_PWMR) Enhanced Custom Power Value Selection More...
|
| |
| #define | SUPC_PWMR_ECPWRS_FACTORY (0x0u << 8) |
| | (SUPC_PWMR) The trimming value applied to the regulator when the device is in active mode. More...
|
| |
| #define | SUPC_PWMR_ECPWRS_USER (0x1u << 8) |
| | (SUPC_PWMR) The trimming value applied to the regulator is defined by the value programmed in ECPWRx bits. More...
|
| |
| #define | SUPC_PWMR_ECPWR0 (0x1u << 9) |
| | (SUPC_PWMR) Enhanced Custom Power Value More...
|
| |
| #define | SUPC_PWMR_ECPWR1 (0x1u << 10) |
| | (SUPC_PWMR) Enhanced Custom Power Value More...
|
| |
| #define | SUPC_PWMR_ECPWR2 (0x1u << 11) |
| | (SUPC_PWMR) Enhanced Custom Power Value More...
|
| |
| #define | SUPC_PWMR_ECPWR3 (0x1u << 12) |
| | (SUPC_PWMR) Enhanced Custom Power Value More...
|
| |
| #define | SUPC_PWMR_SRAM0ON (0x1u << 16) |
| | (SUPC_PWMR) SRAM Power Control More...
|
| |
| #define | SUPC_PWMR_SRAM0ON_OFF (0x0u << 16) |
| | (SUPC_PWMR) SRAMx is not powered. More...
|
| |
| #define | SUPC_PWMR_SRAM0ON_ON (0x1u << 16) |
| | (SUPC_PWMR) SRAMx is powered. More...
|
| |
| #define | SUPC_PWMR_SRAM1ON (0x1u << 17) |
| | (SUPC_PWMR) SRAM Power Control More...
|
| |
| #define | SUPC_PWMR_SRAM1ON_OFF (0x0u << 17) |
| | (SUPC_PWMR) SRAMx is not powered. More...
|
| |
| #define | SUPC_PWMR_SRAM1ON_ON (0x1u << 17) |
| | (SUPC_PWMR) SRAMx is powered. More...
|
| |
| #define | SUPC_PWMR_SRAM2ON (0x1u << 18) |
| | (SUPC_PWMR) SRAM Power Control More...
|
| |
| #define | SUPC_PWMR_SRAM2ON_OFF (0x0u << 18) |
| | (SUPC_PWMR) SRAMx is not powered. More...
|
| |
| #define | SUPC_PWMR_SRAM2ON_ON (0x1u << 18) |
| | (SUPC_PWMR) SRAMx is powered. More...
|
| |
| #define | SUPC_PWMR_SRAM3ON (0x1u << 19) |
| | (SUPC_PWMR) SRAM Power Control More...
|
| |
| #define | SUPC_PWMR_SRAM3ON_OFF (0x0u << 19) |
| | (SUPC_PWMR) SRAMx is not powered. More...
|
| |
| #define | SUPC_PWMR_SRAM3ON_ON (0x1u << 19) |
| | (SUPC_PWMR) SRAMx is powered. More...
|
| |
| #define | SUPC_PWMR_SRAM4ON (0x1u << 20) |
| | (SUPC_PWMR) SRAM Power Control More...
|
| |
| #define | SUPC_PWMR_SRAM4ON_OFF (0x0u << 20) |
| | (SUPC_PWMR) SRAMx is not powered. More...
|
| |
| #define | SUPC_PWMR_SRAM4ON_ON (0x1u << 20) |
| | (SUPC_PWMR) SRAMx is powered. More...
|
| |
| #define | SUPC_PWMR_SRAM5ON (0x1u << 21) |
| | (SUPC_PWMR) SRAM Power Control More...
|
| |
| #define | SUPC_PWMR_SRAM5ON_OFF (0x0u << 21) |
| | (SUPC_PWMR) SRAMx is not powered. More...
|
| |
| #define | SUPC_PWMR_SRAM5ON_ON (0x1u << 21) |
| | (SUPC_PWMR) SRAMx is powered. More...
|
| |
| #define | SUPC_PWMR_SRAM6ON (0x1u << 22) |
| | (SUPC_PWMR) SRAM Power Control More...
|
| |
| #define | SUPC_PWMR_SRAM6ON_OFF (0x0u << 22) |
| | (SUPC_PWMR) SRAMx is not powered. More...
|
| |
| #define | SUPC_PWMR_SRAM6ON_ON (0x1u << 22) |
| | (SUPC_PWMR) SRAMx is powered. More...
|
| |
| #define | SUPC_PWMR_DPRAMON (0x1u << 23) |
| | (SUPC_PWMR) Dual-port RAM Power Control More...
|
| |
| #define | SUPC_PWMR_DPRAMON_OFF (0x0u << 23) |
| | (SUPC_PWMR) USB dual-port RAM is not powered. More...
|
| |
| #define | SUPC_PWMR_DPRAMON_ON (0x1u << 23) |
| | (SUPC_PWMR) USB dual-port RAM is powered. More...
|
| |
| #define | SUPC_PWMR_KEY_Pos 24 |
| |
| #define | SUPC_PWMR_KEY_Msk (0xffu << SUPC_PWMR_KEY_Pos) |
| | (SUPC_PWMR) Password Key More...
|
| |
| #define | SUPC_PWMR_KEY_PASSWD (0x5Au << 24) |
| | (SUPC_PWMR) Writing any other value in this field aborts the write operation.Always reads as 0. More...
|
| |
SOFTWARE API DEFINITION FOR Supply Controller.


| 2022 |
|
|
| |
6th Edition (10/7/22) |
Conference Pre-Registration |
| |
5th Edition (9/30/22) |
Conference Pre-Registration |
| |
4th Edition (9/18/22) |
Conference Presentation Application - Conference Pre-Registration |
| |
3rd Edition (9/12/22) |
Conference Presentation Application - Conference Pre-Registration |
| |
2nd Edition (9/2/22) |
Conference Presentation Application |
| |
1st Edition (2/28/22) |
Conference Presentation Application |
| 2021 |
|
|
| |
5th Edition (11/18/21) |
Post-Conference Survey |
| |
4th Edition (10/16/21) |
Conference Registration |
| |
3rd Edition (10/11/21) |
Conference Registration |
| |
2nd Edition (9/15/21) |
Conference Presentation Application |
| |
1st Edition (6/7/21) |
Conference Presentation Application |
| 2020 |
|
|
| |
4th Edition (10/18/20) |
Conference Registration |
| |
3rd Edition (10/9/20) |
Conference Registration |
| |
2nd Edition (7/6/20) |
Conference Presentation Application |
| |
1st Edition (5/18/20) |
Conference Survey |
| 2019 |
|
|
| |
6th Edition (10/14/19) |
|
| |
5th Edition (10/1/19) |
Call for Presentations - Conference Registration |
| |
4th Edition (9/3/19) |
|
| |
3rd Edition (6/3/19) |
|
| |
2nd Edition (4/1/19) |
|
| |
1st Edition (1/30/19) |
Call for Presentations |
| 2018 |
|
|
| |
4th Edition (10/8/18) |
|
| |
3rd Edition (9/17/18) |
|
| |
2nd Edition (9/3/18) |
|
| |
1st Edition (5/9/18) |
Call for Presentations |
| 2017 |
|
|
| |
8th Edition (10/17/17) |
|
| |
7th Edition (10/09/17) |
|
| |
6th Edition (9/26/17) |
|
| |
5th Edition (9/19/17) |
|
| |
Previous editions were distributed via e-mail and have not yet been posted. |
|
| |
PREVIOUS YEARS |
|
| |
Fall 2015, Update 1 (9/28/15) |
|
| |
Fall 2015 (9/21/15) |
|
| |
September 13, 2012 (pdf
format) |
CCCFLC Conference presentations announced
"Britain Takes a Different Approach to Languages" |
| |
August 20, 2012 (pdf
format) |
CCCFLC Conferences: Info about presentations
-
Attachment: Conference Registration Form |
| |
September 20, 2011 (pdf
format) |
CCCFLC Conferences: Info about presentations
-
Includes Conference Registration Form |
| |
August 18, 2011 (pdf
format) |
CCCFLC Sets Dates of Fall Conferences
Call for presentations
-
Includes Conference Registration Form |
| |
September 15, 2010 (pdf
format) |
CCCFLC Conferences: List of presentations
Special invitation from Dr. Vic Fusilero to attend what is looking to be the only planned commemoration in Souther California of the 20th anniversary of the Reunification of Germany; the events (which will follow the CCCFLC conference) include a keynote address, a dinner, and a concert. |
| |
May 27, 2010 (pdf
format) |
CCCFLC Sets Dates of Fall Conferences
Website Highlights Languages and Global Studies
Technology Ideas for your Summer Consideration
-
Includes Presentation Proposal for the CCCFLC Fall 2010 Meetings (due Aug. 1) |
| |
March 25, 2010 (pdf
format) |
CLTA Conference in San Diego Celebrates Birthday
Language Programs Under Scrutiny
ADFL Seminars for Chairs to Be Held in June |
| |
February 4, 2010 (pdf
format) |
CCCFLC Elections
National Language Service Corps
CLTA Annual Conference
Video Fun for Spanish and French Faculty |
| |
December
10, 2009 (pdf
format) |
California Foreign Language Project produces new FL report
- CFLP presentation (ppt formar)
- CFLP Handbook (pdf
format)
Officers Needed for CCCFLC
ACTFL Websites at Your Finger Tips
2010 Dues Form Enclosed
CCCFLC
Membership (Renewal) Form |
| |
September
15, 2009 (pdf
format) |
Fall Conferences Now Set: Oct. 9 at Cypress and Oct. 23 in San Francisco
Open Season on Foreign Languages?
CCCFLC
Conference Registration Form (deadline
9/30/09)
CCCFLC
Membership (Renewal) Form |
| |
November
1, 2008 (pdf
format) |
Fall Conference Reports |
| |
September
11, 2008 (pdf
format) |
Fall CCCFLC Meeting Details
Title V Changes to Exclude Repetition of Language
Courses
CCCFLC
Conference Registration Form
CCCFLC
Conference Call for Presentations (deadline
9/15/08) |
| |
August
22, 2008 (pdf
format) |
Fall CCCFLC Meetings Set
Title V Changes to Exclude Repetition of Language
Courses
Presidential Candidates and Languages
CCCFLC
Conference Registration Form
CCCFLC
Conference Call for Presentations (deadline
9/15/08) |
| |
November
1, 2007 (pdf
format) |
Fall Conference Reports
Promote Your Fulltime Openings |
| |
August
21, 2007 (pdf
format) |
Fall Conference: Register Now
Present a Session at Fall Meetings
ACTFL Offers Posters and Other Publicity Materials
CCCFLC
Conference Registration Form |
| |
April
10, 2007 (pdf
format) |
ADFL Meeting Hears Many Issues
CCCFLC Elections
CCCFLC Fall Conferences
CLTA
Conference |
| |
February
15, 2007 (pdf format) |
The Benefits of Language Study
Render Language Learning Tangible
Foreign
Languages Online
IMPAC
Elections
Europass
Language Passport Example (insert; provided here as
direct link to item)
- Europass
Language Passport home page |
| |
January
9, 2007 (pdf format) |
Happy
New Year! Dues Moratorium for 2007
CLTA Plans Futures Academy
Officers Needed for CCCFLC
MLA Previews New FL Policy
Dramatic
Plan for Language Programs (insert;
provided here as direct link to article) |
| |
May
22, 2006 (pdf format) |
Fall CCCFLC Meetings Set
IMPAC meets and goes on Hiatus
Hiring? What Are You Looking For?
Languages on the Federal Agenda |
| |
March
20, 2006 (pdf format) |
Student Learning Outcomes: the first chapter
Statewide IMPAC at LA Airport May 6
Membership |
| |
January
31, 2006 (pdf format) |
Membership
IMPAC Meets, North and South
Federal Government Support Critical Languages
Student Learning Outcomes, Can We Help? |
| |
November
14, 2005 (pdf format) |
Fall Conferences—Informative & Well-Attended
IMPAC & Articulation Issues
CLTA to Raise Due—Save by Paying NOW!
Off the Beaten Path |
| |
September
20, 2005 (Word format) |
CCCFLC Conference in Fullerton and Berkeley (combined
with National Colloquium on U.S. Language Education Policy)
IMPAC
Meetings in November, January, May
UC
Berkeley drops course to course articulation for lower
division Chinese and Japanese courses
Also
Included:
CCCFLC
Conference Registration Form |
| |
February
9, 2005 (Word
format) |
CLTA Conference Beckons: April 14-17 in Ontario
Summer
Seminar calls for Student Candidates
Reservation
Form to Attend the Apr. 15 IMPAC Meeting in Ontario
Also
Included:
CCCFLC
Membership for 2005 |
| |
September
16, 2004 |
CCCFLC Conference in Riverside and San Francisco
2005:
The Year of Language
Elections
Approach: We Want Your Nominations
Also
Included:
CCCLFC
Conference Registration Form
Election
of Officers CCCFLC 2005-2007 Form |
| |
August
19, 2004 |
CCCFLC Conference Dates Approach
Tuition
Increases, But $50 BA-Holder Tuition Is Not Implemented
Also
Included:
CCCLFC
Conference Registration Form |
| |
May
14, 2004 (Not
Yet Posted) |
Final IMPAC Meeting of Year Concludes at LAX
Fall
CCCFLC Conference Dates Set
Also
Included:
IMPAC Meeting Minutes (Los Angeles, 4/30-5/1) To
Be Posted Soon |
| |
April
2, 2004 |
Final IMPAC Meeting of Year Approaches at LAX
CLTA Conference in Monterey Beckons!
Placement Survey
Also
Included:
IMPAC Meeting Minutes (Los Angeles, 2/28/04) |
| |
February
18, 2004 |
Calling All Future Language Teachers!
CLTA Conference Set for Beautiful Monterey
IMPAC Rolls On
Check Your Mailing Label
Also Included:
IMPAC Meeting Updated Minutes (Sacramento, 1/31/04) |
| |
January
20, 2004 |
As Semester Starts, Storm Clouds on the Horizon
2004 Summer Seminar Recruits Students Wanting to
Teach
CLTA Conference Materials Now Available
Also Included:
Summer
Seminar Flyer |
| |
December
12, 2003 |
Newport IMPAC Meeting Draws Southern California
Faculty
CLTA Conference in Monterey Beckons!
It's Dues Time Again
Also Included:
IMPAC Foreign Language Meeting Summary (Newport
Beach 11/15/03)
Membership
form |
| |
November
1 , 2003 |
Meetings in Pasadena and San Francisco Draw Over
70 Faculty
Now's the Time to Join CLTA
IMPAC Project
Brings Together CSU, UC and CCC's |
| |
September
4, 2003 |
Deadlines for Meetings Approach: Join Us in Pasadena
and San Francisco
Project IMPAC Hits Foreign Languages |
| |
August
21, 2003 |
Pasadena and San Francisco Meetings Set |
| |
April
23, 2003 |
UC Signals Stop to De-articulation Plan
Marines Carry Translating "Phraselator"
CCCFLC Membership Cards Enclosed
State of FL around CCC's
Plans for the Fall |
| |
September
17, 2002 |
Meetings in Orange County & San Francisco to
Defend First Semester Language Courses |
| |
August
17, 2002 |
Defend Your 1st Semester Courses: Attend Workshops
in Orange County & SF |
| |
|
|


|
Jetson Inference
DNN Vision Library
|
TCP/UDP sockets and IP address manipulation. More...
Classes | |
| struct | NetworkInterface |
| Info about a particular network interface. More... | |
| class | RTSPServer |
| RTSP server for transmitting encoded GStreamer pipelines to client devices. More... | |
| class | Socket |
| The Socket class provides TCP or UDP ethernet networking. More... | |
| struct | WebRTCPeer |
| Remote peer that has connected. More... | |
| class | WebRTCServer |
| WebRTC signalling server for establishing and negotiating connections with peers for bi-directional media streaming. More... | |
Macros | |
| #define | INET4_ADDRLEN 4 |
| The size in bytes of an IPv4 address (4 bytes) This is meant to compliment POSIX's INET4_ADDRSTRLEN (16) More... | |
| #define | INET6_ADDRLEN 16 |
| The size in bytes of an IPv6 address (16 bytes) This is meant to compliment POSIX's INET6_ADDRSTRLEN (46) More... | |
| #define | LOG_NETWORK "[network] " |
| LOG_NETWORK logging string. More... | |
| #define | RTSP_DEFAULT_PORT 8554 |
| Default port used by RTSP server. More... | |
| #define | LOG_RTSP "[rtsp] " |
| RTSP logging prefix. More... | |
| #define | WEBRTC_DEFAULT_PORT 41567 |
| Default HTTP/websocket port used by the WebRTC server. More... | |
| #define | WEBRTC_DEFAULT_STUN_SERVER "stun.l.google.com:19302" |
| Default STUN server used for WebRTC. More... | |
| #define | LOG_WEBRTC "[webrtc] " |
| WebRTC logging prefix. More... | |
Enumerations | |
| enum | SocketType { SOCKET_UDP = 0, SOCKET_TCP = 1 } |
| TCP/UDP enumeration. More... | |
| enum | WebRTCFlags { WEBRTC_PRIVATE = 0, WEBRTC_PUBLIC = (1 << 1), WEBRTC_AUDIO = (1 << 0), WEBRTC_VIDEO = (1 << 1), WEBRTC_SEND = (1 << 2), WEBRTC_RECEIVE = (1 << 3), WEBRTC_MULTI_CLIENT = (1 << 4), WEBRTC_PEER_CONNECTING = (1 << 5), WEBRTC_PEER_CONNECTED = (1 << 6), WEBRTC_PEER_STREAMING = (1 << 7), WEBRTC_PEER_CLOSED = (1 << 8) } |
| Flags for route decorators or peer state. More... | |
Functions | |
| bool | IPv4AddressFromStr (const char *str, uint32_t *ipAddress) |
| Convert an IPv4 address string in "xxx.xxx.xxx.xxx" format to binary representation. More... | |
| std::string | IPv4AddressToStr (uint32_t ipAddress) |
| Return text string of IPv4 address in "xxx.xxx.xxx.xxx" format. More... | |
| bool | IPv6AddressFromStr (const char *str, void *ipAddress) |
| Convert an IPv6 address string in "x:x:x:x:x:x:x:x" hexadecimal format to 128-bit binary representation. More... | |
| std::string | IPv6AddressToStr (void *ipAddress) |
| Return text string of IPv6 address in "x:x:x:x:x:x:x:x" hexadecimal format. More... | |
| std::string | getHostname () |
| Retrieve the host system's network hostname. More... | |
| std::string | getHostByName (const char *name, uint32_t retries=10) |
| Resolve the IP address of a given hostname or domain using DNS lookup, and return it as a string. More... | |
| uint32_t | getHostByName (const char *name, void *ipAddress, uint32_t size, uint32_t retries=10) |
| Resolve the IP address of a given hostname or domain using DNS lookup. More... | |
| std::vector< NetworkInterface > | getNetworkInterfaces () |
| Retrieve info about the different IPv4/IPv6 network interfaces of the system. More... | |
| void | printNetworkInterfaces (const std::vector< NetworkInterface > &interfaces) |
| Print out a list of network interfaces. More... | |
TCP/UDP sockets and IP address manipulation.
| struct NetworkInterface |
Info about a particular network interface.
The IPv6 information will be filled out if it's enabled on the interface.
Public Attributes | |
| std::string | name |
| name of the network interface (e.g. More... | |
| bool | up |
| true if the interface is up, false if down More... | |
| struct NetworkInterface::IPv4 | ipv4 |
| struct NetworkInterface::IPv6 | ipv6 |
| struct NetworkInterface::IPv4 NetworkInterface::ipv4 |
| struct NetworkInterface::IPv6 NetworkInterface::ipv6 |
| std::string NetworkInterface::name |
name of the network interface (e.g.
eth0, wlan0, lo)
| bool NetworkInterface::up |
true if the interface is up, false if down
| class RTSPServer |
RTSP server for transmitting encoded GStreamer pipelines to client devices.
This is integrated into videoOutput/gstEncoder, but can be used standalone (
Public Member Functions | |
| void | Release () |
| Release a reference to the server instance. More... | |
| bool | AddRoute (const char *path, _GstElement *pipeline) |
| Register a GStreamer pipeline to be served at the specified path. More... | |
| bool | AddRoute (const char *path, const char *pipeline) |
| Create a GStreamer pipeline and register it to be served at the specified path. More... | |
Static Public Member Functions | |
| static RTSPServer * | Create (uint16_t port=RTSP_DEFAULT_PORT) |
| Create a RTSP server on this port. More... | |
Protected Member Functions | |
| RTSPServer (uint16_t port) | |
| ~RTSPServer () | |
| bool | init () |
Static Protected Member Functions | |
| static void * | runThread (void *user_data) |
Protected Attributes | |
| uint16_t | mPort |
| uint32_t | mRefCount |
| Thread * | mThread |
| bool | mRunning |
| _GMainLoop * | mMainLoop |
| _GstRTSPServer * | mServer |
|
protected |
|
protected |
| bool RTSPServer::AddRoute | ( | const char * | path, |
| _GstElement * | pipeline | ||
| ) |
Register a GStreamer pipeline to be served at the specified path.
It will be able to be viewed from clients at rtsp://hostname:port/path
| bool RTSPServer::AddRoute | ( | const char * | path, |
| const char * | pipeline | ||
| ) |
Create a GStreamer pipeline and register it to be served at the specified path.
It will be able to be viewed from clients at rtsp://hostname:port/path
|
static |
Create a RTSP server on this port.
If this port is already in use, the existing server instance will be returned.
|
protected |
| void RTSPServer::Release | ( | ) |
Release a reference to the server instance.
Server will be shut down when the reference count reaches zero.
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| class Socket |
The Socket class provides TCP or UDP ethernet networking.
To exchange data with a remote IP on the network using UDP, follow these steps:
1. Create a Socket instance with the static Create() function.
Public Member Functions | |
| ~Socket () | |
| Destructor. More... | |
| bool | Accept (uint64_t timeout=0) |
| Accept incoming connections (TCP only). More... | |
| bool | Bind (const char *localIP, uint16_t port) |
| Bind the socket to a local host IP address and port. More... | |
| bool | Bind (uint32_t localIP, uint16_t port) |
| Bind the socket to a local host IP address and port. More... | |
| bool | Bind (uint16_t port=0) |
| Bind the socket to a local host port, on any interface (<IP_ADDRESS> INADDR_ANY). More... | |
| bool | Connect (const char *remoteIP, uint16_t port) |
| Connect to a listening server (TCP only). More... | |
| bool | Connect (uint32_t remoteIP, uint16_t port) |
| Connect to a listening server (TCP only). More... | |
| size_t | Recieve (uint8_t *buffer, size_t size, uint32_t *remoteIP=NULL, uint16_t *remotePort=NULL) |
| Wait for a packet to be recieved and dump it into the user-supplied buffer. More... | |
| size_t | Recieve (uint8_t *buffer, size_t size, uint32_t *remoteIP, uint16_t *remotePort, uint32_t *localIP) |
| Recieve packet, with additional address info. More... | |
| bool | Send (void *buffer, size_t size, uint32_t remoteIP, uint16_t remotePort) |
| Send message to remote host. More... | |
| bool | SetRecieveTimeout (uint64_t timeout) |
| Set Receive() timeout (in microseconds). More... | |
| bool | SetBufferSize (size_t size) |
| Set the rx/tx buffer sizes. More... | |
| bool | EnableJumboBuffer () |
| Enable jumbo buffer. More... | |
| int | GetFD () const |
| Retrieve the socket's file descriptor. More... | |
| SocketType | GetType () const |
| GetType. More... | |
| void | PrintIP () const |
| PrintIP. More... | |
| size_t | GetMTU () |
| Retrieve the MTU (in bytes). More... | |
Static Public Member Functions | |
| static Socket * | Create (SocketType type) |
| Create. More... | |
| Socket::~Socket | ( | ) |
Destructor.
| bool Socket::Accept | ( | uint64_t | timeout = 0 | ) |
Accept incoming connections (TCP only).
| timeout | The timeout (in microseconds) to wait for incoming connections before returning. |
| bool Socket::Bind | ( | const char * | localIP, |
| uint16_t | port | ||
| ) |
Bind the socket to a local host IP address and port.
| ipAddress | IPv4 address in string format "xxx.xxx.xxx.xxx" |
| port | the port number (0-65536), in host byte order. If the port specified is 0, the socket will be bound to any available port. |
| bool Socket::Bind | ( | uint16_t | port = 0 | ) |
Bind the socket to a local host port, on any interface (<IP_ADDRESS> INADDR_ANY).
| port | the port number (0-65536), in host byte order. If the port specified is 0, the socket will be bound to any available port. |
| bool Socket::Bind | ( | uint32_t | localIP, |
| uint16_t | port | ||
| ) |
Bind the socket to a local host IP address and port.
| hostIP | IPv4 address, in network byte order. If htonl(INADDR_ANY) is specified for the ipAddress, the socket will be bound to all available interfaces. |
| port | the port number (0-65536), in host byte order. If the port specified is 0, the socket will be bound to any available port. |
| bool Socket::Connect | ( | const char * | remoteIP, |
| uint16_t | port | ||
| ) |
Connect to a listening server (TCP only).
| remoteIP | IP address of the remote host. |
| bool Socket::Connect | ( | uint32_t | remoteIP, |
| uint16_t | port | ||
| ) |
Connect to a listening server (TCP only).
| remoteIP | IP address of the remote host. |
|
static |
Create.
| bool Socket::EnableJumboBuffer | ( | ) |
Enable jumbo buffer.
|
inline |
Retrieve the socket's file descriptor.
| size_t Socket::GetMTU | ( | ) |
Retrieve the MTU (in bytes).
Returns 0 on error.
|
inline |
GetType.
| void Socket::PrintIP | ( | ) | const |
PrintIP.
| size_t Socket::Recieve | ( | uint8_t * | buffer, |
| size_t | size, | ||
| uint32_t * | remoteIP, | ||
| uint16_t * | remotePort, | ||
| uint32_t * | localIP | ||
| ) |
Recieve packet, with additional address info.
In addition to returning the IP and port of the remote host which sent the packet, this function can also return the local IP and port which the packet was sent to.
| size_t Socket::Recieve | ( | uint8_t * | buffer, |
| size_t | size, | ||
| uint32_t * | remoteIP = NULL , |
||
| uint16_t * | remotePort = NULL |
||
| ) |
Wait for a packet to be recieved and dump it into the user-supplied buffer.
Optionally return the IP address and port of the remote host which sent the packet.
| buffer | user-allocated destination for the packet |
| size | size of the buffer (in bytes) |
| remoteIpAddress | optional output, the IPv4 address of where the packet originated (in network byte order). |
| remotePort | optional output, the port from where the packet originated (in host byte order). |
| bool Socket::Send | ( | void * | buffer, |
| size_t | size, | ||
| uint32_t | remoteIP, | ||
| uint16_t | remotePort | ||
| ) |
Send message to remote host.
| bool Socket::SetBufferSize | ( | size_t | size | ) |
Set the rx/tx buffer sizes.
| bool Socket::SetRecieveTimeout | ( | uint64_t | timeout | ) |
Set Receive() timeout (in microseconds).
| struct WebRTCPeer |
Remote peer that has connected.
Public Attributes | |
| SoupWebsocketConnection * | connection |
| SoupClientContext * | client_context |
| WebRTCServer * | server |
| uint32_t | ID |
| uint32_t | flags |
| std::string | path |
| std::string | ip_address |
| void * | user_data |
| SoupClientContext* WebRTCPeer::client_context |
| SoupWebsocketConnection* WebRTCPeer::connection |
| uint32_t WebRTCPeer::flags |
| uint32_t WebRTCPeer::ID |
| std::string WebRTCPeer::ip_address |
| std::string WebRTCPeer::path |
| WebRTCServer* WebRTCPeer::server |
| void* WebRTCPeer::user_data |
| class WebRTCServer |
WebRTC signalling server for establishing and negotiating connections with peers for bi-directional media streaming.
Users can bind routing functions that configure their pipelines dynamically to handle incoming/outgoing streams.
It uses websockets to handle the communication with clients for SDP offers, ICE messages, ect.
By default it also serves simple HTML for viewing video streams in browsers, but for full hosting you'll want to run this alongside an actual webserver.
multi-stream :: multi-client :: full-duplex
Public Types | |
| typedef void(* | WebsocketListener) (WebRTCPeer *peer, const char *message, size_t message_size, void *user_data) |
| Function pointer to a callback for handling websocket requests. More... | |
| typedef SoupServerCallback | HttpListener |
| Function pointer to a callback for handling HTTP requests. More... | |
Public Member Functions | |
| void | Release () |
| Release a reference to the server instance. More... | |
| void | AddRoute (const char *path, HttpListener callback, void *user_data=NULL, uint32_t flags=0) |
| Register a function to handle incoming http/www requests at the specified path. More... | |
| void | AddRoute (const char *path, WebsocketListener callback, void *user_data=NULL, uint32_t flags=0) |
| Register a function to handle incoming Websocket requests at the specified path. More... | |
| const char * | GetSTUNServer () const |
| Get the STUN server being used. More... | |
| bool | HasHTTPS () const |
| Return true if the server is using HTTPS. More... | |
| bool | IsThreaded () const |
| Return true if the server is running in it's own thread. More... | |
| bool | ProcessRequests (bool blocking=false) |
| Process incoming requests on the server. More... | |
Static Public Member Functions | |
| static WebRTCServer * | Create (uint16_t port=WEBRTC_DEFAULT_PORT, const char *stun_server=WEBRTC_DEFAULT_STUN_SERVER, const char *ssl_cert=NULL, const char *ssl_key=NULL, bool threaded=true) |
| Create a WebRTC server on this port. More... | |
Protected Member Functions | |
| WebRTCServer (uint16_t port, const char *stun_server, const char *ssl_cert_file, const char *ssl_key_file, bool threaded) | |
| ~WebRTCServer () | |
| bool | init () |
| HttpRoute * | findHttpRoute (const char *path) const |
| WebsocketRoute * | findWebsocketRoute (const char *path) const |
| void | freeRoute (HttpRoute *route) |
| void | freeRoute (WebsocketRoute *route) |
| std::string | printRouteInfo (WebsocketRoute *route) const |
Static Protected Member Functions | |
| static void * | runThread (void *user_data) |
| static void | onHttpRequest (SoupServer *soup_server, SoupMessage *message, const char *path, GHashTable *query, SoupClientContext *client_context, void *user_data) |
| static void | onHttpDefault (SoupServer *soup_server, SoupMessage *message, const char *path, GHashTable *query, SoupClientContext *client_context, void *user_data) |
| static void | onWebsocketOpened (SoupServer *server, SoupWebsocketConnection *connection, const char *path, SoupClientContext *client_context, void *user_data) |
| static void | onWebsocketMessage (SoupWebsocketConnection *connection, SoupWebsocketDataType data_type, GBytes *message, void *user_data) |
| static void | onWebsocketClosed (SoupWebsocketConnection *connection, void *user_data) |
Protected Attributes | |
| std::vector< HttpRoute * > | mHttpRoutes |
| std::vector< WebsocketRoute * > | mWebsocketRoutes |
| SoupServer * | mSoupServer |
| std::string | mStunServer |
| std::string | mSSLCertFile |
| std::string | mSSLKeyFile |
| bool | mHasHTTPS |
| uint16_t | mPort |
| uint32_t | mRefCount |
| uint32_t | mPeerCount |
| Thread * | mThread |
| typedef SoupServerCallback WebRTCServer::HttpListener |
Function pointer to a callback for handling HTTP requests.
| typedef void(* WebRTCServer::WebsocketListener) (WebRTCPeer *peer, const char *message, size_t message_size, void *user_data) |
Function pointer to a callback for handling websocket requests.
|
protected |
|
protected |
| void WebRTCServer::AddRoute | ( | const char * | path, |
| HttpListener | callback, | ||
| void * | user_data = NULL , |
||
| uint32_t | flags = 0 |
||
| ) |
Register a function to handle incoming http/www requests at the specified path.
These are for serving webpages, and should be on different paths than the websockets. If the path is "/" the callback will handle all routes. If the route for this path already exists, it will replace the existing route. To remove a route, set the callback to NULL.
| void WebRTCServer::AddRoute | ( | const char * | path, |
| WebsocketListener | callback, | ||
| void * | user_data = NULL , |
||
| uint32_t | flags = 0 |
||
| ) |
Register a function to handle incoming Websocket requests at the specified path.
This path often represents a media stream that can be sent/recieved, or a function for dynamically configuring streams when new clients connect.
If the path is "/" the callback will handle all routes. If the route for this path already exists, it will replace the existing route. To remove a route, set the callback to NULL.
The optional flags are WebRTCFlags OR'd together and are used for describing the stream capabilities for purposes of discovery.
|
static |
Create a WebRTC server on this port.
If this port is already in use, the existing server instance will be returned.
|
protected |
|
protected |
|
protected |
|
protected |
|
inline |
Get the STUN server being used.
STUN servers are used during ICE/NAT and allow a local device to determine its public IP address.
|
inline |
Return true if the server is using HTTPS.
For HTTPS to be enabled, SSL cert/key files must have been provided to WebRTCServer::Create().
|
protected |
|
inline |
Return true if the server is running in it's own thread.
Otherwise, ProcessRequests() must be called periodically.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
| bool WebRTCServer::ProcessRequests | ( | bool | blocking = false | ) |
Process incoming requests on the server.
If set to blocking, the function can wait indefinitely for requests. This should only be called externally if the server was created with threaded=false
| void WebRTCServer::Release | ( | ) |
Release a reference to the server instance.
Server will be shut down when the reference count reaches zero.
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| #define INET4_ADDRLEN 4 |
The size in bytes of an IPv4 address (4 bytes) This is meant to compliment POSIX's INET4_ADDRSTRLEN (16)
| #define INET6_ADDRLEN 16 |
The size in bytes of an IPv6 address (16 bytes) This is meant to compliment POSIX's INET6_ADDRSTRLEN (46)
| #define LOG_NETWORK "[network] " |
LOG_NETWORK logging string.
| #define LOG_RTSP "[rtsp] " |
RTSP logging prefix.
| #define LOG_WEBRTC "[webrtc] " |
WebRTC logging prefix.
| #define RTSP_DEFAULT_PORT 8554 |
Default port used by RTSP server.
| #define WEBRTC_DEFAULT_PORT 41567 |
Default HTTP/websocket port used by the WebRTC server.
| #define WEBRTC_DEFAULT_STUN_SERVER "stun.l.google.com:19302" |
Default STUN server used for WebRTC.
STUN servers are used during ICE/NAT and allow a local device to determine its public IP address.
| enum SocketType |
| enum WebRTCFlags |
| std::string getHostByName | ( | const char * | name, |
| uint32_t | retries = 10 |
||
| ) |
Resolve the IP address of a given hostname or domain using DNS lookup, and return it as a string.
This uses the system function gethostbyname() and supports both IPv6/IPv6 addresses.
| name | the hostname to lookup. |
| retries | the number of times to retry the lookup should it fail. |
| uint32_t getHostByName | ( | const char * | name, |
| void * | ipAddress, | ||
| uint32_t | size, | ||
| uint32_t | retries = 10 |
||
| ) |
Resolve the IP address of a given hostname or domain using DNS lookup.
This uses the system function gethostbyname() and supports both IPv6/IPv6 addresses.
| name | the hostname or domain name to lookup. |
| ipAddress | output pointer to buffer that the IPv4 or IPv6 address will be written to. this buffer should be up to 16 bytes long for supporting IPv6 addresses, or 4 bytes long for only supporting IPv4 addresses. |
| size | the size of the ipAddress buffer (4 bytes for IPv6 or 16 bytes for IPv6) |
| retries | the number of times to retry the lookup should it fail. |
| std::string getHostname | ( | ) |
Retrieve the host system's network hostname.
| std::vector<NetworkInterface> getNetworkInterfaces | ( | ) |
Retrieve info about the different IPv4/IPv6 network interfaces of the system.
Internally this uses the system function getifaddrs()
| bool IPv4AddressFromStr | ( | const char * | str, |
| uint32_t * | ipAddress | ||
| ) |
Convert an IPv4 address string in "xxx.xxx.xxx.xxx" format to binary representation.
| str | the IPv4 string, in "xxx.xxx.xxx.xxx" format |
| ipAddress | output pointer to converted IPv4 address, in network byte order. |
| std::string IPv4AddressToStr | ( | uint32_t | ipAddress | ) |
Return text string of IPv4 address in "xxx.xxx.xxx.xxx" format.
| ipAddress | IPv4 address, supplied in network byte order. |
| bool IPv6AddressFromStr | ( | const char * | str, |
| void * | ipAddress | ||
| ) |
Convert an IPv6 address string in "x:x:x:x:x:x:x:x" hexadecimal format to 128-bit binary representation.
| str | the IPv6 string, in "x:x:x:x:x:x:x:x" hexadecimal format |
| ipAddress | output pointer to converted 128-bit IPv6 address (16 bytes long), in network byte order. this buffer can be a variety of representations (commonly uint8[16] or uint16[8]), as long as it's at least 128 bits (16 bytes) long. |
| std::string IPv6AddressToStr | ( | void * | ipAddress | ) |
Return text string of IPv6 address in "x:x:x:x:x:x:x:x" hexadecimal format.
| ipAddress | pointer to 128-bit IPv6 address (16 bytes long), in network byte order. this buffer can be a variety of representations (commonly uint8[16] or uint16[8]), as long as it's at least 128 bits (16 bytes) long. |
| void printNetworkInterfaces | ( | const std::vector< NetworkInterface > & | interfaces | ) |
Print out a list of network interfaces.


The Image class is the heart of SimpleCV and allows you to convert to and from a number of source types with ease. It also has intelligent buffer management, so that modified copies of the Image required for algorithms such as edge detection, etc can be cached and reused when appropriate.
Images are converted into 8-bit, 3-channel images in RGB colorspace. It will automatically handle conversion from other representations into this standard format.
Apply 3 ColorCurve corrections applied in HSL space Parameters are: * Hue ColorCurve * Lightness (brightness/value) ColorCurve * Saturation ColorCurve
Returns: IMAGE
Intensity applied to all three color channels
Returns: Image
Apply 3 ColorCurve corrections applied in rgb channels Parameters are: * Red ColorCurve * Green ColorCurve * Blue ColorCurve
Returns: IMAGE
Return a full copy of the Image’s bitmap. Note that this is different from using python’s implicit copy function in that only the bitmap itself is copied.
Returns: IMAGE
Apply a morphological dilation. An dilation has the effect of smoothing blobs while intensifying the amount of noise blobs. This implementation uses the default openCV 3X3 square kernel Erosion is effectively a local maxima detector, the kernel moves over the image and takes the maxima value inside the kernel.
iterations - this parameters is the number of times to apply/reapply the operation
See: http://en.wikipedia.org/wiki/Dilation_(morphology) See: http://opencv.willowgarage.com/documentation/cpp/image_filtering.html#cv-dilate Example Use: A part’s blob needs to be smoother Example Code: ./examples/MorphologyExample.py
Returns: IMAGE
Draw a circle on the Image, parameters include: * the center of the circle * the radius in pixels * a color tuple (default black) * the thickness of the circle
Note that this modifies the image in-place and clears all buffers.
Returns: NONE - Inline Operation
Draw a line on the Image, parameters include * pt1 - the first point for the line (tuple) * pt1 - the second point on the line (tuple) * a color tuple (default black) * thickness of the line
Note that this modifies the image in-place and clears all buffers.
Returns: NONE - Inline Operation
Finds an edge map Image using the Canny edge detection method. Edges will be brighter than the surrounding area.
The t1 parameter is roughly the “strength” of the edge required, and the value between t1 and t2 is used for edge linking. For more information:
<http://opencv.willowgarage.com/documentation/python/imgproc_feature_detection.html> <http://en.wikipedia.org/wiki/Canny_edge_detector>
Returns: IMAGE
Apply a morphological erosion. An erosion has the effect of removing small bits of noise and smothing blobs. This implementation uses the default openCV 3X3 square kernel Erosion is effectively a local minima detector, the kernel moves over the image and takes the minimum value inside the kernel. iterations - this parameters is the number of times to apply/reapply the operation See: http://en.wikipedia.org/wiki/Erosion_(morphology). See: http://opencv.willowgarage.com/documentation/cpp/image_filtering.html#cv-erode Example Use: A threshold/blob image has ‘salt and pepper’ noise. Example Code: ./examples/MorphologyExample.py
Returns: IMAGE
If you have the python-zxing library installed, you can find 2d and 1d barcodes in your image. These are returned as Barcode feature objects in a FeatureSet. The single parameter is the ZXing_path, if you don’t have the ZXING_LIBRARY env parameter set.
You can clone python-zxing at http://github.com/oostendo/python-zxing
Returns: BARCODE
If you have the cvblob library installed, this will look for continuous light regions and return them as Blob features in a FeatureSet. Parameters specify the threshold value, and minimum and maximum size for blobs.
You can find the cv-blob python library at http://github.com/oostendo/cvblob-python
Returns: FEATURESET
This will find corner Feature objects and return them as a FeatureSet strongest corners first. The parameters give the number of corners to look for, the minimum quality of the corner feature, and the minimum distance between corners.
Returns: FEATURESET
If you want to find Haar Features (useful for face detection among other purposes) this will return Haar feature objects in a FeatureSet. The parameters are: * the scaling factor for subsequent rounds of the haar cascade (default 1.2)7 * the minimum number of rectangles that makes up an object (default 2) * whether or not to use Canny pruning to reject areas with too many edges (default yes, set to 0 to disable)
For more information, consult the cv.HaarDetectObjects documentation
You will need to provide your own cascade file - these are usually found in /usr/local/share/opencv/haarcascades and specify a number of body parts.
Returns: FEATURESET
findLines will find line segments in your image and returns Line feature objects in a FeatureSet. The parameters are: * threshold, which determies the minimum “strength” of the line * min line length – how many pixels long the line must be to be returned * max line gap – how much gap is allowed between line segments to consider them the same line * cannyth1 and cannyth2 are thresholds used in the edge detection step, refer to _getEdgeMap() for details
For more information, consult the cv.HoughLines2 documentation
Returns: FEATURESET
Horizontally mirror an image
Returns: IMAGE
Vertically mirror an image
Returns: IMAGE
return a gray scale version of the image
Returns: IMAGE
Return a numpy array of the 1D histogram of intensity for pixels in the image Single parameter is how many “bins” to have.
Returns: LIST
Invert (negative) the image note that this can also be done with the unary minus (-) operator.
Returns: IMAGE
The maximum value of my image, and the other image, in each channel If other is a number, returns the maximum of that and the number
Returns: IMAGE
Finds average color of all the pixels in the image.
Returns: IMAGE
The minimum value of my image, and the other image, in each channel If other is a number, returns the minimum of that and the number
Returns: IMAGE
morphologyClose applies a morphological close operation which is effectively a dilation operation followed by a morphological erosion. This operation helps to ‘bring together’ or ‘close’ binary regions which are close together.
See: http://en.wikipedia.org/wiki/Closing_(morphology) See: http://opencv.willowgarage.com/documentation/cpp/image_filtering.html#cv-morphologyex Example Use: Use when a part, which should be one blob is really two blobs. Example Code: ./examples/MorphologyExample.py
Returns: IMAGE
The morphological gradient is the difference betwen the morphological dilation and the morphological gradient. This operation extracts the edges of a blobs in the image.
See: http://en.wikipedia.org/wiki/Morphological_Gradient See: http://opencv.willowgarage.com/documentation/cpp/image_filtering.html#cv-morphologyex Example Use: Use when you have blobs but you really just want to know the blob edges. Example Code: ./examples/MorphologyExample.py
Returns: IMAGE
morphologyOpen applies a morphological open operation which is effectively an erosion operation followed by a morphological dilation. This operation helps to ‘break apart’ or ‘open’ binary regions which are close together.
See: http://en.wikipedia.org/wiki/Opening_(morphology) See: http://opencv.willowgarage.com/documentation/cpp/image_filtering.html#cv-morphologyex Example Use: two part blobs are ‘sticking’ together. Example Code: ./examples/MorphologyExample.py
Returns: IMAGE
This rotates an image around a specific point by the given angle By default in “fixed” mode, the returned Image is the same dimensions as the original Image, and the contents will be scaled to fit. In “full” mode the contents retain the original size, and the Image object will scale by default, the point is the center of the image. you can also specify a scaling parameter
Returns: IMAGE
Scale the image to a new width and height.
Returns: IMAGE
Given a set of new corner points in clockwise order, return a shear-ed Image that transforms the Image contents. The returned image is the same dimensions.
cornerpoints is a 2x4 array of point tuples
Returns: IMAGE
Gets width and height
Returns: TUPLE
Smooth the image, by default with the Gaussian blur. If desired, additional algorithms and aperatures can be specified. Optional parameters are passed directly to OpenCV’s cv.Smooth() function.
Returns: IMAGE
Split the channels of an image into RGB (not the default BGR) single parameter is whether to return the channels as grey images (default) or to return them as tinted color image
Returns: TUPLE - of 3 image objects
The stretch filter works on a greyscale image, if the image is color, it returns a greyscale image. The filter works by taking in a lower and upper threshold. Anything below the lower threshold is pushed to black (0) and anything above the upper threshold is pushed to white (255)
Returns: IMAGE
This helper function for shear performs an affine rotation using the supplied matrix. The matrix can be a either an openCV mat or an np.ndarray type. The matrix should be a 2x3
Returns: IMAGE
This helper function for warp performs an affine rotation using the supplied matrix. The matrix can be a either an openCV mat or an np.ndarray type. The matrix should be a 3x3
Returns: IMAGE
Given a new set of corner points in clockwise order, return an Image with the images contents warped to the new coordinates. The returned image will be the same size as the original image
Returns: IMAGE
ColorCurve is a color spline class for performing color correction. It can takeas parameters a SciPy Univariate spline, or an array with at least 4 point pairs. Either of these must map in a 255x255 space. The curve can then be used in the applyRGBCurve, applyHSVCurve, and applyInstensityCurve functions:
clr = ColorCurve([[0,0], [100, 120], [180, 230], [255, 255]])
image.applyIntensityCurve(clr)
the only property, mCurve is a linear array with 256 elements from 0 to 255
FeatureSet is a class extended from Python’s list which has special functions so that it is useful for handling feature metadata on an image.
In general, functions dealing with attributes will return numpy arrays, and functions dealing with sorting or filtering will return new FeatureSets.
Return a FeatureSet which is filtered on a numpy boolean array. This will let you use the attribute functions to easily screen Features out of return FeatureSets.
Some examples:
my_lines.filter(my_lines.length() < 200) # returns all lines < 200px my_blobs.filter(my_blobs.area() > 0.9 * my_blobs.length**2) # returns blobs that are nearly square my_lines.filter(abs(my_lines.angle()) < numpy.pi / 4) #any lines within 45 degrees of horizontal my_corners.filter(my_corners.x() - my_corners.y() > 0) #only return corners in the upper diagonal of the image
The Feature object is an abstract class which real features descend from. Each feature object has:
Bases: SimpleCV.Features.Feature
The Corner feature is a point returned by the FindCorners function
Bases: SimpleCV.Features.Feature
The Line class is returned by the findLines function, but can also be initialized with any two points:
l = Line(Image, point1, point2) Where point1 and point2 are coordinate tuples
l.points will be a tuple of the two points
Bases: SimpleCV.Features.Feature
The HaarFeature is a rectangle returned by the FindHaarFeature() function.
Bases: SimpleCV.Features.Feature
The Blob Feature is a wrapper for the cvblob-python library.
The findBlobs() function returns contiguous regions of light-colored area, given an intensity threshold. The Blob class helps you map the position, volume, and shape of these areas. The coordinates of the Blob are its centroid, and its area is defined by its total pixel count.
Blob implements all of the Feature properties, and its core data structure, cvblob has the following properties (from cvblob.h):
CvLabel label; ///< Label assigned to the blob.
union
{
unsigned int area; ///< Area (moment 00).
unsigned int m00; ///< Moment 00 (area).
};
unsigned int minx; ///< X min.
unsigned int maxx; ///< X max.
unsigned int miny; ///< Y min.
unsigned int maxy; ///< y max.

CvContourChainCode contour; ///< Contour.
CvContoursChainCode internalContours; ///< Internal contours.
For more information:
Bases: SimpleCV.Features.Feature
The Barcode Feature wrappers the object returned by findBarcode(), a python-zxing object.
Bases: SimpleCV.Camera.FrameSource
The Camera class is the class for managing input from a basic camera. Note that once the camera is initialized, it will be locked from being used by other processes. You can check manually if you have compatable devices on linux by looking for /dev/video* devices.
This class wrappers OpenCV’s cvCapture class and associated methods. Read up on OpenCV’s CaptureFromCAM method for more details if you need finer control than just basic frame retrieval
Retrieve an Image-object from the camera. If you experience problems with stale frames from the camera’s hardware buffer, increase the flushcache number to dequeue multiple frames before retrieval
We’re working on how to solve this problem.
Bases: SimpleCV.Camera.FrameSource
This is an experimental wrapper for the Freenect python libraries you can getImage() and getDepth() for separate channel images
Bases: SimpleCV.Camera.FrameSource
The virtual camera lets you test algorithms or functions by providing a Camera object which is not a physically connected device.
Currently, VirtualCamera supports “image” and “video” source types.
Bases: SimpleCV.Camera.FrameSource
The JpegStreamCamera takes a URL of a JPEG stream and treats it like a camera. The current frame can always be accessed with getImage()
Requires the [Python Imaging Library](http://www.pythonware.com/library/pil/handbook/index.htm)
The JpegStreamer class allows the user to stream a jpeg encoded file to a HTTP port. Any updates to the jpg file will automatically be pushed to the browser via multipart/replace content type.
To initialize: js = JpegStreamer()
to update: img.save(js)
to open a browser and display: import webbrowser webbrowser.open(js.url)
Note 3 optional parameters on the constructor: - port (default 8080) which sets the TCP port you need to connect to - sleep time (default 0.1) how often to update. Above 1 second seems to cause dropped connections in Google chrome
Once initialized, the buffer and sleeptime can be modified and will function properly – port will not.


Argument over marijuana leads to hit-and-run
by Mark FrauenfelderThe San Francisco Chronicle reports that a driver rammed into a man after the two argued about stolen weed. A bystander recorded the gruesome attack on her phone and posted it to Twitter.
From the article:
At 1:40 in the video, the man in the sweatshirt gets into his black sedan, which was parked in front of the SUV, and guns the car backward. He positions it facing the SUV. The man in the cap stands just outside his driver door and says, “Hit me with your... car, I dare you, bra’.”
That’s when the man in the black car slams his vehicle into the victim, shoving the SUV back with the force of the blow. The man in the cap cries out and hobbles to the sidewalk and falls down.
 A woman gets out of the SUV’s passenger side and shrieks, “Oh my god!” The victim moans, “Oh, my leg,” and a few seconds later the video ends.
[WARNING: video is disturbing]
Image: Twitter


pcre-config - program to return PCRE configuration
pcre-config [--prefix] [--exec-prefix] [--version] [--libs]
[--libs16] [--libs32] [--libs-cpp] [--libs-posix]
[--cflags] [--cflags-posix]
pcre-config returns the configuration of the installed PCRE libraries and
the options required to compile a program to use them. Some of the options
apply only to the 8-bit, or 16-bit, or 32-bit libraries, respectively, and are
not available if only one of those libraries has been built. If an unavailable
option is encountered, the "usage" information is output.
- --prefix
- Writes the directory prefix used in the PCRE installation for architecture
independent files (/usr on many systems, /usr/local on some
systems) to the standard output.
- --exec-prefix
- Writes the directory prefix used in the PCRE installation for architecture
dependent files (normally the same as --prefix) to the standard
output.
- --version
- Writes the version number of the installed PCRE libraries to the standard
output.
- --libs
- Writes to the standard output the command line options required to link
with the 8-bit PCRE library (-lpcre on many systems).
- --libs16
- Writes to the standard output the command line options required to link
with the 16-bit PCRE library (-lpcre16 on many systems).
- --libs32
- Writes to the standard output the command line options required to link
with the 32-bit PCRE library (-lpcre32 on many systems).
- --libs-cpp
- Writes to the standard output the command line options required to link
with PCRE's C++ wrapper library (-lpcrecpp -lpcre on many
systems).
- --libs-posix
- Writes to the standard output the command line options required to link
with PCRE's POSIX API wrapper library (-lpcreposix -lpcre on
many systems).
- --cflags
- Writes to the standard output the command line options required to compile
files that use PCRE (this may include some -I options, but is blank
on many systems).
- --cflags-posix
- Writes to the standard output the command line options required to compile
files that use PCRE's POSIX API wrapper library (this may include some
-I options, but is blank on many systems).
This manual page was originally written by Mark Baker for the Debian GNU/Linux
system. It has been subsequently revised as a generic PCRE man page.
Last updated: 24 June 2012


PSFGETTABLE
Section: User Commands (1)Updated: 25 Oct 1994
Index Return to Main Contents
NAME
psfgettable - extract the embedded Unicode character table from a console fontSYNOPSIS
psfgettable fontfile [outfile]DESCRIPTION
psfgettable extracts the embedded Unicode character table from a .psf format console font into a human readable ASCII file of the format used by psfaddtable(1). If the font file name is a single dash (-), the font is read from standard input.
SEE ALSO
setfont(8), psfaddtable(1), psfstriptable(1), psfxtable(1)
Index
This document was created by man2html, using the manual pages.
Time: 05:29:09 GMT, December 24, 2015


Install Apache 2 (For Windows)
Apache HTTP Server, a popular industrial-strength web server, is provided free (with source codes) by the Apache Software Foundation (@ http://www.apache.org).
The mother site for Apache HTTP Server is http://httpd.apache.org. There are a few production versions available currently: 2.0, 2.2 and 2.4 (known as Apache 2). The legacy release 1.3 (Apache 1) is no longer supported.
At the time of re-writing (September 2014), the latest stable "source" release is 2.4.10 (you need to compile yourself). But the latest Windows "binaries" is 2.2.25 (32-bit version). Surprising, the AMP bundles such as WampServer 2.5 has Apache 2.4.9, XAMPP 1.8.3 has Apache 2.4.10?!
Download:
From Apache HTTP Server mother site http://httpd.apache.org ⇒ Choose the latest release (2.4.xx) ⇒ Download ⇒ Binaries ⇒ Win32 ⇒ Select the win32 with openssl, e.g., "httpd-2.2.25-win32-x86-openssl-0.9.8y.msi
".
Read the installation guide @ http://httpd.apache.org/docs ⇒ "Documentation 2.4/2.2" ⇒ "Reference Manual, Compiling and Installing".
Install: Run the downloaded installer.
- Provide your "domain", "server name" and "administrator's email".
For testing, enter "test.com
" for domain name, "localhost
" as the server name, and something for the administrator's email. We shall re-configure them later after the installation. - For testing, select "Only for for current user, on port 8000, when started manually".
- Choose "typical" installation.
- Select your installation directory. I shall assume that Apache HTTP Server is installed in the directory "
d:\myProject\apache2
". Hereafter, I shall denote the Apache installed directory as "<APACHE_HOME>
".
You shall get these sub-directories upon successful installation:
bin
: contains the binaries (or executables), such as Apache ("httpd.exe
") and Apache Monitor ("ApacheMonitor.exe
").conf
: contains the configuration files, such as the main configuration file "httpd.conf
".manual
: Apache HTTP server documentation. Start with "index.html
" or "index.html.en
".htdocs
: the default Apache's document root directory.
Configuring Apache 2
The configuration file for Apache HTTP server is called "httpd.conf
" (in directory "<APACHE_HOME>\conf
"). Browse through the configuration file and check these directives:
Listen
: The original "httpd.conf
" uses TCP port 80 (pre-assigned default for HTTP) for production and 8000 for testing. For testing, you may choose a port number between 1024 to 65535 (which is not used by an existing application - you can issue the command "netstat
" to check the existing connections). We shall run the Apache at port 8000.# Listen: Allows you to bind Apache to specific IP addresses and/or ports. Listen 8000
ServerName
: Set to your DNS hostname, or IP address (to find out your IP address, run command "ipconfig
"), or your computer name, or "localhost" (localhost is meant for local loop-back testing only, you can also use the localhost's IP address <IP_ADDRESS>), followed by the port number chosen above.# ServerName gives the name and port that the server uses to identify itself. # If your host doesn't have a registered DNS name, enter its IP address here. ServerName localhost:8000
ServerRoot
: your Apache installed directory<APACHE_HOME>
.DocumentRoot
: the document root directory, i.e., home directory of the server. It is set to "<APACHE_HOME>\htdocs
" by default.DocumentRoot "<APACHE_HOME>/htdocs" # First, configure the "default" to be a very restrictive <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory> # Document Root Directory <Directory "D:/bin/Apache2.2/htdocs"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory>
Start/Shutdown Apache 2
Start the Server: The Apache executable is called "httpd.exe
" located in "<APACHE_HOME>\bin
". To display the help menu and check all the available options, start a CMD shell, and issue:
// change directory to <APACHE_HOME>\bin // Assume that Apache was installed in d:\myProject\apache2 prompt> d: > cd \myProject\apache2\bin // Display the help menu > httpd -h
Before you can run your server, you need to install the Apache Service by running the following command (You need administrator right to install services).
// Install Apache HTTP server as a Windows service
> httpd -k install
You can start the Apache by:
// Start the Apache HTTP server
> httpd -k start
Apache 2 provide a GUI Apache Monitor ("ApacheMonitor.exe
" in "<APACHE_HOME>\bin
"), which can be used to start/stop Apache, after the Apache servicce is installed. Apache monitor starts automatically with an icon in the task bar. Otherwise, run "ApacheMonitor.exe
".
After the Apache server is started, launch a web browser and access the server using URL:
http://ServerHostNameOrIPAddress:port
You could use "localhost" (IP address <IP_ADDRESS>) for local loop-back testing if your browser runs in the same machine as the server.
http://localhost:8000
You could shutdown the Apache server either from the Apache Monitor or by running command:
> httpd -k stop
You could uninstall the Apache service by:
> httpd -k uninstall
You could remove the "Apache Monitor" from the "Startup" list.
If Things Go Wrong...
- Check the error message on the Apache's console.
- Check the log files at "
logs\errors.log
". - [TODO]
REFERENCES & RESOURCES
- Apache HTTP Server Mother Site @ www.apache.org
- Apache Documentation @ directory "
Manual
"


Preparation time
30 mins to 1 hour
Cooking time
no cooking required
Serves
6-8
Dietary
This traditional trifle recipe couldn't be easier, use ready-made custard and sponge to save time.
Lay the sponge pieces and biscuits in the base of a deep glass dish. Spoon over the sherry and cognac and leave to soak in for a few minutes.
Warm the jam until it is runny then pour over the soaked sponge and biscuits. Sprinkle the fruit and flaked almonds on top then pour over the custard.
To make the syllabub topping, place the sherry, brandy and lemon juice into a bowl and stir in the sugar until it dissolves.
Pour in the cream with a pinch of nutmeg. Whisk together using a wire balloon whisk until it holds its shape. Don't over-whisk, or whisk too vigorously, as the cream may split.
Spoon the syllabub over the trifle and chill, preferably overnight.
Just before serving, scatter with the grated orange rind and/or flaked toasted almonds.