| Electronic Components Datasheet Search |
|
AN91184 Datasheet(PDF) 21 Page - Ramtron International Corporation |
|
|
|||||||||||||||||||||||||||||
AN91184 Datasheet(HTML) 21 Page - Ramtron International Corporation |
|
21 / 36 page ![]() PSoC® 4 BLE – Designing BLE Applications www.cypress.com Document No. 001-91184 Rev. *B 21 4.2 Configure the Firmware Figure 25 shows the firmware flow for the Health Thermometer application. Figure 25. System Flowchart Stack ON? Start Advertising Device Connected? Retrieve Connection Handle Initialize WDT Device Disconnected? - Configure wakeup pin - Go to Hibernate N N Y Y Y Return from Generic event handler Indication Enabled? Start Indication Indication Disabled? Disable Indication Measurement Interval Write? Update Measurement Interval N N N Y Y Y Return from Generic event handler BLE Event Handler Advertising Timeout? - Configure wakeup pin - Go to Hibernate Y N N Reset or Wakeup from Hibernate - Initialize ADC - Provide Thermistor reference - Initialize BLE - Register Generic Event Handler BLE-Init Success? Register Health Thermometer Event Handler Y Error Handling N Device Connected? Application Firmware Flow BLESS in Deep Sleep Put BLESS in Deep Sleep mode Get BLESS state Process Events - Configure wakeup pin - Go to Hibernate Measurement Interval expired? Measure Temperature Y Send Indication Indication Enabled? Y WDT event? Y Y BLESS = Initializing? BLESS = Deep Sleep or ECO_ON Put System in Deep Sleep mode Y Rx/Tx Complete? Put System in Sleep mode N N Y Y N N N N N Y N |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |