Have you tried using any of the insight and techniques for growing trust and sincerity? How did it go?
Well, if I show empathy for others and they show empathy towards me, I feel as though there is definitely a trust that is built. I haven't used any of these techniques in the book yet but I will definitely practice them.
Try empathic listening - how did it go?
I have always tried to be an empathetic listener - if people feel a certain way I try to instinctively respond to them with kindness and I do try to have an automatic perception of others being “just like me.” I think everyone should try to be more empathetic towards others at time - and listening to others is hugely important also.
How did you find the loving kindness meditation?
I loved it! I did it myself, then did it with my sister. It makes your soul feel so good!
Complete the political awareness exercise here in writing.
Well, this weekend my mum is taking myself and my two siblings away on holiday for a week. She feels as though the other two don't appreciate what shes done for them, shes spent time and money prepping this awesome holiday for us, and my brother has taking 4 days of it by inviting 4 friends around, and my sister wants to go out every night. Now I looked at this situation from my mums perspective, and from my perspective. I talked to my siblings about how mum would be feeling because of the way they are treating her, and I told them to try and put themselves in her position - and imagine how she must be feeling. I did that and it was a huge wake up call. For them it was too. That showed Political Awareness on my behalf and the conflict was resolved shortly after doing this exercise.


Reports usages of Python functions, or methods that are marked as
deprecated and raise the DeprecationWarning
or PendingDeprecationWarning
warning.
Also, this inspection highlights usages of abc.abstractstaticmethod
, abc.abstractproperty
, and abc.abstractclassmethod
decorators.
Example:
class Foo:
@property
def bar(self):
import warnings
warnings.warn("this is deprecated", DeprecationWarning, 2)
return 5
foo = Foo()
print(foo.bar)


FramBrwz.Pas
TFrameBrowser is designed to handle Internet style URL requests and accepts its input from streams. This makes it especially suitable for connecting to an HTTP component for online use. In addition, specialized protocols may be easily developed to allow reading HTML documents from other sources such as compressed files, program resources, etc.
See Also:


MENU
Royale with Cheese
$8.99
Argula Pie
$11.99
Smoked Swine
$14.99
Ice Cream Biscuit
$7.99
ORDER
ITEM
PRICE
Burger man man man
$$$$$$
Burger man man man
$$$$$$
Burger man man man
$$$$$$
SUBTOTAL
$$$$$$
TAX
$$$$$$
TOTAL
$$$$$$
Name
Phone Number
Address
Place Order
Galvanize Delivers
Fine Dining, Delivered.
Home
Order Delivery


UKCloud Limited (“UKC”) and Virtual Infrastructure Group Limited (“VIG”) (together “the Companies”) – in Compulsory Liquidation
On 25 October 2022, the Companies were placed into Liquidation with the Official Receiver appointed as Liquidator and J Robinson and A M Hudson simultaneously appointed as Special Managers to manage the liquidation process on behalf of the Official Receiver.
Further information regarding the Liquidations can be found here: https://www.gov.uk/government/news/virtual-infrastructure-group-limited-and-ukcloud-limited-information-for-creditors-and-interested-parties
Contact details:
For any general queries relating to the Liquidations please email<EMAIL_ADDRESS>For customer related queries please email<EMAIL_ADDRESS>For supplier related queries please email<EMAIL_ADDRESS>How to manage Snapshot Protection for your VMs
Overview
Protection technologies are tools used to enable you to design resilience into your cloud solutions. They protect data and provide you with the ability to recover from system outages - either caused by a disruption to the physical delivery of a service or as a result of corruption of your primary system.
The UKCloud platform offers a variety of protection options, including Snapshot Protection. Snapshot Protection automatically takes an image of your virtual machine (VM) every 24 hours and stores the image outside the core platform for either 14 or 28 days, depending on your chosen snapshot retention profile.
How does Snapshot Protection work?
By default, VMs deployed on the UKCloud platform do not come with any protection services enabled. If you want Snapshot Protection for your VM, you must explicitly add it.
When you add Snapshot Protection to a VM, the VM is added to a daily automated backup. Backups are automatically taken for the VM once every 24 hours, sometime between the hours of 20:00 and 08:00. The status of a VM's backup is reported daily in the UKCloud Portal by 10:00, but typically within minutes of the close of the backup window.
If you encounter a problem with your VM, raise a Service Request via the My Calls section of the UKCloud Portal and we can use one of your VM backups to restore the whole VM image to a new VM in your VDC. You can then use this image to restore the VM or restore any required data to your original VM.
For more detailed information, see the Snapshot Protection Service Scope and FAQ.
Checking a VM's Snapshot Protection status
You can use the UKCloud Portal to see whether a VM uses Snapshot Protection, find out which snapshot retention policy is currently applied to a VM or check the status of your VM's snapshots.
If necessary, switch to the account that you want to work in.
In the Portal navigation panel, expand VMware Cloud and then select the compute service that the VM belongs to.
Select the My VMs tab.
From the Currently viewing for VDC list, select the virtual data centre (VDC) that the VM belongs to.
Select the VMs tab.
The icon in VM Backup column shows the status of each VM's most recent backup:
Icon Description Backup of the VM was successful The VM has been excluded from backups A backup has not yet been created for a VM that has recently been included in backups Backup of the VM was unsuccessful The VM has been excluded from backups but has not yet reached the end of the previous retention period
(when the end retention period is reached, the icon will change to the grey minus sign)Tip
You can hover over the icon to see a description of the backup status.
The button in the Default Policy column shows the Snapshot Protection option currently applied to the VM:
14‑day - VM uses Snapshot Protection, with backups retained for 14 days
28-day - VM uses Snapshot Protection, with backups retained for 28 days
Manage - VM is currently excluded from Snapshot Protection
Processing - A change in status to Snapshot Protection is currently being processed for the VM
Failed - A change in the status of Snapshot Protection for the VM failed; contact the UKCloud support team to resolve this issue.
To find out more detail about the most recent backup of a VM, or to view information about previous backups, click the VM Name.
In the VM's Info page, the following fields provide information about the most recent backup of the VM:
Additional information - additional information about the backup, for example if the backup was removed from the daily automated backup, if the retention period was changed, or further details of any failures.
Last backup - the status of the most recent backup
Retention length - how long the backup will be kept for: 14 days or 28 days
Backup status - when the most recent backup was attempted
The Snapshot Protection Backups section of the page provides information about previous backups. This covers the entire retention policy period (14 or 28 days). Information includes:
Status - the status of the backup
Slot - the backup slot during which the backup was taken
Start - the date and time when the backup started
End - the date and time when the backup ended
Snapshot Removal Start - the date and time when the snapshot consolidation process started (that is, writing back any changes to the VM that occurred during the time it was locked for backup)
Snapshot Removal End - the date and time when the snapshot consolidation process ended
The Snapshot Protection Policy History section of the page lists any recent changes to the snapshot retention policy for the VM.
Status - The status of the policy change
Date Requested - The date and time when the policy change was requested
User - The user who requested the change
Protection Period - The new protection period introduced by the policy change
Reason for Change - The reason for the policy change
Action - The type of policy change request
To view all the VM information in a single table, from the Actions menu, select Export VMs. You can save this page to view offline and analyse further.
Managing Snapshot Protection for a VM
By default, VMs deployed on the UKCloud platform do not come with any protection services enabled. You can use the UKCloud Portal to add Snapshot Protection to your VM. You can also use the Portal to change the snapshot retention policy for your backups and to remove Snapshot Protection from your VM.
Access the My VMs tab for your compute service.
For detailed steps for how to do this, see the first few steps in Checking a VM's snapshot status.
From the Currently viewing for VDC list, select the VDC that the VM belongs to.
Click the VMs tab.
In the Default Policy column, click the green button.
The label on the button depends on the currently applied policy:
Manage if there is currently no snapshot retention policy applied to the VM
14-day if the VM's snapshot retention policy is currently 14 days
28-day if the VM's snapshot retention policy is currently 28 days
In the Snapshot Protection Policy dialog box, from the New Protection Policy list, select the snapshot retention policy that you want to apply to the VM:
14-day to apply a 14-day snapshot retention policy to the VM
28-day to apply a 28-day snapshot retention policy to the VM
No Backup to turn Snapshot Protection off for the VM
Note
If you remove Snapshot Protection from a VM, you should consider alternatives to ensure the integrity of your data in the case of disruption. In addition to Snapshot Protection, UKCloud offers Journaling Protection options, or you may want to implement your own protection solution, possibly utilising our Cloud Storage service.
In the Reason For Change field, provide an explanation for why you're making the change to the existing snapshot retention policy.
Click Submit.
The button in the Snapshot Protection column changes to an amber Processing button. When the changes have been applied, the button changes back to green with a label indicating the VM's snapshot retention policy (14-day or 28-day) or Manage if you have turned off Snapshot Protection.
The amount of time it takes for your changes to take place depends on how many requests are in the queue. If there are any problems with the request, the button in the Snapshot Protection column changes to a red Failed button; in this situation, contact UKCloud Support for further assistance.
Backup status information is updated daily on the UKCloud Portal by 10:00, but typically within minutes of the close of the backup window.
Note
If you remove a VM from backups, the status icon for the VM will display as a red cross until the end of the previously selected retention period. When the end of the retention period is reached, the status icon will change to the grey minus sign.
Managing Snapshot Protection for a VDC
You can specify a snapshot retention policy to apply to all the VMs in a VDC. You can apply the policy to all new VMs or to all new and existing VMs.
Access the My VMs tab for your compute service.
For detailed steps for how to do this, see the first few steps in Checking a VM's snapshot status.
From the Currently viewing for VDC list, select the VDC that you want to apply Snapshot Protection to.
Select the Snapshot Protection tab.
Next to Default VM Snapshot Protection, click the green button.
The label on the button will depend on the currently applied policy:
Manage if there is currently no default snapshot retention policy applied to the VDC
14-day if the default snapshot retention policy is currently 14 days
28-day if the default snapshot retention policy is currently 28 days
In the Snapshot Protection Policy dialog box, from the New Protection Policy list, select the snapshot retention policy that you want to apply to the VMs in this VDC:
14-day if you want to apply a 14-day snapshot retention policy to the VDC
28-day if you want to apply a 28-day snapshot retention policy to the VDC
No Backup if you do not want to apply a default snapshot retention policy to the VDC
In the Reason For change field, provide an explanation for why you're making the change to the existing snapshot retention policy.
If you want to apply the chosen snapshot retention policy to existing VMs in the VDC as well as new VMs, select the Apply new policy to all existing VMs? check box.
Note
If you select this check box, all existing VMs will switch to the new policy when you click Submit. You will not be able to rollback this change.
Click Submit.
The label of the Default VM Snapshot Protection button changes to indicate the new snapshot retention policy (14-day or 28-day) or to Manage if you have turned off Snapshot Protection.
Any new VMs created within the VDC will now use the specified snapshot retention policy, although you can override this for individual VMs if required by following the steps in Managing snapshot protection for a VM.
If you selected Apply to all existing VMs, the button changes to an amber Processing button. When the changes have been applied, the button changes back to green with a label indicating the VDC's snapshot retention policy (14-day or 28-day) or Manage if you have turned off Snapshot Protection. If the VDC contains a lot of VMs, the process of updating the policy for all existing VMs may take several minutes to complete.
Backup status information is updated daily on the UKCloud Portal by 10:00, but typically within minutes of the close of the backup window.
Note
When you exit the Snapshot Protection Policy dialog box, the Currently viewing for VDC list on the My VMs tab resets to the first VDC listed under the compute service. You'll need to reselect your VDC from the list before continuing.
The Default Snapshot Protection Policy History section of the page lists any recent changes to the snapshot protection policy for the VDC.
The Recent VM Snapshot Protection Policy Actions section of the page lists any recent changes to the snapshot protection policy for VMs in the VDC.
Monitoring the status of Snapshot Protection
You can monitor the status of Snapshot Protection across an entire compute service to get a general overview of how your VDCs and VMs are protected.
If necessary, switch to the account that you want to work in.
In the navigation panel, expand Reports and select Backup Summary.
Click the link for the compute service that you want to view Snapshot Protection information for.
The Snapshot Protection Summary page provides the following information for the selected compute service:
Success Rate (Last 24 Hours) - The percentage of successful VM backups in the previous night's backups
Success Rate (Within Retention Period) - The overall percentage success rate of all backups across the compute service
Number of VMs Protected - The total number of VMs successfully protected in the previous night's backups
Number of VMs Not Protected - The total number of VMs with Snapshot Protection that were not successfully protected in the previous night's backups
VM Snapshot Protection Failures - A list of the VMs that encountered a Snapshot Protection failure in previous night's backups
Next steps
For more information about what you can do with your VMs in the UKCloud Portal, see How to view your VMs in the UKCloud Portal.
Feedback
If you find a problem with this article, click Improve this Doc to make the change yourself or raise an issue in GitHub. If you have an idea for how we could improve any of our services, send an email to feedback@ukcloud.com.


Node Slideshow is based on HTML5 and jQuery.
The information for each slide is contained inside section elements embedded in the slideshow HTML document. jQuery is then applied to give that document the behavior of a typical slide presentation when viewed in a web browser.
Viewers of the slideshow have their own personal keyboard controls.
Next Slide: Right Arrow, Spacebar, Enter.
Previous Slide: Left Arrow & Backspace.
Node Slideshow comes with Alex Gorbatchev's SyntaxHighlighter built in.
Javascript
window.onload = function(){ alert('Hello, World!'); };
Ruby
puts "Hello, World!"
PHP
echo '
Hello, World!
'
MySQL
INSERT INTO `messages` VALUE ('Hello World!');
This image was taken off the coast of California in a cliff side rest stop on Highway 1.
Corey Hart - June 2008
The slideshow/ directory is completely independent from the rest of the project, so it can be zipped up and passed around as needed.
$ cd node-slideshow $ zip -r slideshow.zip slideshow/ adding: slideshow/ (stored 0%) adding: slideshow/Config.js (deflated 26%) adding: slideshow/fonts/ (stored 0%) adding: slideshow/fonts/Chunkfive-webfont.eot (deflated 37%) adding: slideshow/fonts/Chunkfive-webfont.svg (deflated 61%) ...
Note: This version of Node Slideshow uses html5shim to support Internet Explorer. Integrated libraries were altered to ensure Internet Explorer was usable as a target environment.


This menu command opens the
Scripts Dialog Box
. Scripts allow you to add various CIX Forums system commands to the Out Basket so that they will be executed the next time Ameol connects to CIX Forums.


Obaseki to swear in Edo new Chief Judge Friday - The Nation Newspaper
by https://www.facebook.com/CheerfulpraiseThe Edo State Governor, Mr. Godwin Obaseki, will on Friday, November 22, swear in Hon. Justice Esther Edigin as the substantive Chief Judge of the State, following the retirement of Hon. Justice Esohe Ikponmwen from the state public service.
In a statement, the Secretary to the State Government, Osarodion Ogie Esq., said the swearing-in will take place at the Banquet Hall, Government House, in Benin City, by 8:30 a.m. prompt.
He noted that all guests are expected to be seated at the venue by 8.00 a.m.
According to him, “It is hereby announced for the information of the general public that the new Chief Judge of Edo State, Hon. Justice Esther Edigin, will be sworn into office by the Edo State Governor, Mr. Godwin Nogheghase Obaseki on Friday, November 22, 2019.”


Includes Folder¶
Functions¶
admin-teaks¶
Here we define functions that will edit the way the Admin panel will behave or feel.
replace_footer_admin
replaces the default admin for a cutom one. To add yourself here just ad an anchor tag or span to the HTML
remove_dashboard_meta
Removes default dashboard metaboxes.
oniros_login_css
Enqueues oniros login styles from dist/css/login.min.css
oniros_login_url
Changes the login logo link to the site url
oniros_login_title Changes the alt text on the logo link to the site name
ajax¶
This file sets the basics for using ajax in WP, here you should add the php process that will generate the data to return.
utilities¶
oniros_thumbnail()¶
Simple function to facilitate thumbnail use with Advanced Custom Fields Plugin. You can pass an array with classes and an ID if you want some image-field out of the WP_query. The main parameters are the $image_field_name and the $image_size_name (see image_sizes Documentation below).
get_oniros_custom_field_excerpt()¶
Just a common snippet for wordpress if you want to work with custom posttypes and Advanced Custom Fields Plugin, it makes easy to show just an excerpt of any type of text area field on any type of custom posttype. Accepts 2 parameters : $text_field and the number of $chars you want to show.
the_excerpt_max_charlength()¶
Another common script (one you don’t want to miss on your wp theme) that changes the default charlength of the custom blog-post excerpt.
oniros_breadcrumb()¶
[Work in Progress...] This is a function you will need to edit before you use it. It’s not on it’s final form and the use of this depends on the way your frontend is built, and on the way your Information Arquitecture is made, etc. The logic is simple: it gets the URL of the current page (the page where you excecute the function...) and it cleans the info so you can have breadcrumbs. IF YOUR WEB ARQUITECTURE IS NOT CLEAR AND SEO-FRIENDLY, THIS WILL NOT WORK.
oniros_pagination()¶
[Work in Progress...] Pagination that works. Almost all the times. This is a snippet found on WPExplorer.
oniros_show_categories()¶
Show your categories in a simple html template. You can add classes, edit the template or just use css to make it look what you want.
add_custom_posts_per_page()¶
[Work in Progress...] This is magic. I’m sorry but I can’t explain yet how this fixes everything all the time, but the oniros_pagination() function will probably not work if this is erased. So keep it for your own good.
oniros_set_post_views()¶
This function makes the magic for post views ordering with the next one. Just use it in the loop with the post_id.
oniros_track_post_views()¶
This function makes the magic for post views ordering with the previous one. Just leave it and love it.
oniros_get_post_views()¶
Just if you want to show post-views in your templates, use this function.
image-sizes¶
Add custom croping image sizes to your WP template
posttypes¶
Add Custom Post Types to your WP template
security¶
Ofuscating wordpress version from different files.
taxonomies¶
Create custom taxonomies for your theme.
theme_support¶
Adds theme support for HTML5 fields and automatic fields links
translation_strings¶
Here you can set the static texts of your Template to be translated by the Polylang translation plugin.


VRLSD
vr design
masterclass
Learn the process of enhancing user satisfaction with a product by improving the usability, accessibility, and pleasure provided in the interaction with the product.
Learn the process of enhancing user satisfaction with a product by improving the usability, accessibility, and pleasure provided in the interaction with the product.


debchange
Tool for maintenance of the debian/changelog file in a Debian source package.
More information: home page
- Add a new version for a non-maintainer upload to the changelog:
debchange --nmu
- Add a changelog entry to the current version:
debchange --append
- Add a changelog entry to close the bug with specified ID:
debchange --closes bug_id


See: Description
| Interface | Description |
|---|---|
| TokenMap<T> |
Maps a
Token to a an object of type T , or null if the token isn't recognized. |
| Class | Description |
|---|---|
| Indentation |
Processes indentation based lexical structure according to the
Off-side rule.
|
| OperatorTable<T> |
Builds
Parser to parse expressions with operator-precedence grammar. |
| Parser<T> |
Defines grammar and encapsulates parsing logic.
|
| Parser.Reference<T> |
An atomic mutable reference to
Parser used in recursive grammars. |
| Parsers |
Provides common
Parser implementations. |
| ParseTree |
Represents the syntactical structure of the input being parsed.
|
| Scanners |
Provides common
Parser implementations that scan the source and match certain string
patterns. |
| Terminals |
Provides convenient API to build lexer and parsers for terminals.
|
| Terminals.CharLiteral |
Entry point for parser and tokenizers of character literal.
|
| Terminals.DecimalLiteral |
Entry point for parser and tokenizers of decimal number literal represented as
String . |
| Terminals.Identifier |
Entry point for parser and tokenizers of regular identifier.
|
| Terminals.IntegerLiteral |
Entry point for any arbitrary integer literal represented as a
String . |
| Terminals.LongLiteral |
Entry point for parser and tokenizers of integral number literal represented as
Long . |
| Terminals.ScientificNumberLiteral |
Entry point for parser and tokenizers of scientific notation literal.
|
| Terminals.StringLiteral |
Entry point for parser and tokenizers of string literal.
|
| Token |
Represents any token with a token value and the 0-based index in the source.
|
| Tokens |
Provides common token values.
|
| Tokens.Fragment |
Represents a fragment tagged according to its semantics.
|
| Tokens.ScientificNotation |
Represents a scientific notation with a significand (mantissa) and an exponent.
|
| WithSource<T> |
Parsed result with the matched source text.
|
| Enum | Description |
|---|---|
| Parser.Mode |
Defines the mode that a parser should be run in.
|
| Tokens.Tag |
Pre-built
Tokens.Fragment token tags. |
Copyright © 2016. All rights reserved.


Phake 1.0 using Myanmar script
©2020
This keyboard creates text in Myanmar script using variation selectors for displaying dotted forms. This works with the font and rendering system understand include such forms and can apply the selectors.


{% extends "medicalforms/table_summary/summary_base.html" %} {% block title %} Neck Disability Index {% endblock title %} {% block form_content %}
This questionnaire is designed to help us better understand how your neck pain affects your ability to manage everyday life activities. Please mark in each section the one box that applies to you.
Although you may consider that two of the statements in any one section relate to you, please mark the box that most closely describes your present day situation.


Videos and Streams by our players presentating TotalFreedom can be found here!


|
| void | XMC_USBD_ClearEvent (XMC_USBD_EVENT_t event) |
| |
| void | XMC_USBD_ClearEventINEP (uint32_t event, uint8_t ep_num) |
| |
| void | XMC_USBD_ClearEventOUTEP (uint32_t event, uint8_t ep_num) |
| |
| XMC_USBD_STATUS_t | XMC_USBD_DeviceConnect (void) |
| |
| XMC_USBD_STATUS_t | XMC_USBD_DeviceDisconnect (void) |
| |
| XMC_USBD_STATE_t | XMC_USBD_DeviceGetState (const XMC_USBD_t *const obj) |
| |
| XMC_USBD_STATUS_t | XMC_USBD_DeviceSetAddress (uint8_t address, XMC_USBD_SET_ADDRESS_STAGE_t stage) |
| |
| void | XMC_USBD_Disable (void) |
| |
| void | XMC_USBD_Enable (void) |
| |
| void | XMC_USBD_EnableEventINEP (uint32_t event) |
| |
| void | XMC_USBD_EnableEventOUTEP (uint32_t event) |
| |
| XMC_USBD_STATUS_t | XMC_USBD_EndpointAbort (uint8_t ep_addr) |
| |
| XMC_USBD_STATUS_t | XMC_USBD_EndpointConfigure (uint8_t ep_addr, XMC_USBD_ENDPOINT_TYPE_t ep_type, uint16_t ep_max_packet_size) |
| |
| int32_t | XMC_USBD_EndpointRead (const uint8_t ep_addr, uint8_t *buffer, uint32_t length) |
| |
| XMC_USBD_STATUS_t | XMC_USBD_EndpointReadStart (const uint8_t ep_addr, uint32_t size) |
| |
| XMC_USBD_STATUS_t | XMC_USBD_EndpointStall (uint8_t ep_addr, bool stall) |
| |
| XMC_USBD_STATUS_t | XMC_USBD_EndpointUnconfigure (uint8_t ep_addr) |
| |
| int32_t | XMC_USBD_EndpointWrite (const uint8_t ep_addr, const uint8_t *buffer, uint32_t length) |
| |
| XMC_USBD_CAPABILITIES_t | XMC_USBD_GetCapabilities (void) |
| |
| uint16_t | XMC_USBD_GetFrameNumber (void) |
| |
| XMC_USBD_STATUS_t | XMC_USBD_Init (XMC_USBD_t *obj) |
| |
| void | XMC_USBD_IRQHandler (const XMC_USBD_t *const obj) |
| |
| uint32_t | XMC_USBD_IsEnumDone (void) |
| |
| XMC_USBD_STATUS_t | XMC_USBD_Uninitialize (void) |
| |
The USBD is the device driver for the USB0 hardware module on XMC4000 family of microcontrollers. The USB0 module can be used to establish a USB interface between outside world and XMC4000 family of controllers. The USB module includes the following features in device mode:
- Complies with the USB 2.0 Specification.
- Support for the Full-Speed (12-Mbps) mode.
- Supports up to 7 bidirectional endpoints, including control endpoint 0.
- Supports SOFs in Full-Speed modes.
- Supports clock gating for power saving.
- Supports USB suspend/resume.
- Supports USB soft disconnect.
- Supports DMA mode.
- Supports FIFO mode.
The below figure shows the overview of USB0 module in XMC4 microntroller.
The below figure shows the USB device connection of USB0 module.
The USBD device driver supports the following features:
- Initialize/Uninitialize the USB0 module on XMC4000 device.
- Connect the USB device to host.
- Get USB device state.
- Set the USB device address.
- Configure/Unconfigure the USB endpoints.
- Stall/Abort the USB endpoints.
- USB IN transfers on EP0 and non EP0 endpoints.
- USB OUT transfers on EP0 and non EP0 endpoints.
The USBD device driver provides the configuration structure XMC_USBD_t which user need to configure before initializing the USB.
The following elements of configuration structure need to be initialized before calling the XMC_USBD_Init API:
- cb_xmc_device_event of type XMC_USBD_SignalDeviceEvent_t.
- cb_endpoint_event of type XMC_USBD_SignalEndpointEvent_t.
- usbd_max_num_eps of type XMC_USBD_MAX_NUM_EPS_t.
- usbd_transfer_mode of type XMC_USBD_TRANSFER_MODE_t.
| #define XMC_USBD_ENDPOINT_DIRECTION_MASK (0x80U) |
USB Endpoint direction mask to get the EP direction from address.
| #define XMC_USBD_ENDPOINT_MAX_PACKET_SIZE_MASK (0x07FFU) |
USB Endpoint Maximum Packet Size mask
| #define XMC_USBD_ENDPOINT_NUMBER_MASK (0x0FU) |
USB Endpoint number mask to get the EP number from address.
| #define XMC_USBD_EP_DIR_MASK (0x80U) |
USB Endpoint direction mask
| #define XMC_USBD_EP_NUM_MASK (0x0FU) |
USB Endpoint number mask.
| #define XMC_USBD_MAX_FIFO_SIZE (2048U) |
Maximum USBD endpoint fifo size
| #define XMC_USBD_MAX_PACKET_SIZE (64U) |
Maximum packet size for all endpoints (including ep0) Maximum transfer size for endpoints.
It's based on the maximum payload, due to the fact, that we only can transfer 2^10 - 1 packets and this is less than the transfer size field can hold.
| #define XMC_USBD_MAX_TRANSFER_SIZE_EP0 (64U) |
Maximum transfer size for endpoint 0
| #define XMC_USBD_NUM_EPS (7U) |
Number of hardware endpoints
| #define XMC_USBD_NUM_TX_FIFOS (7U) |
Number of hardware transmission endpoint fifos
| #define XMC_USBD_SETUP_COUNT (3U) |
The number of USB setup packets
| #define XMC_USBD_SETUP_SIZE (8U) |
The size of USB setup data
| #define XMC_USBD_SPEED_FULL (1U) |
USB device/endpoint event function pointersPointer to USB device event call back. Uses type XMC_USBD_EVENT_t as the argument of callback.
Pointer to USB endpoint event call back. Uses type XMC_USBD_EP_EVENT_t and EP address as the argument of callback.
Defines the options for the USB endpoint type. The values are from the USB 2.0 specification. Use type XMC_USBD_ENDPOINT_TYPE_t for this enum.
| Aufzählungswerte |
|---|
| XMC_USBD_ENDPOINT_TYPE_CONTROL |
Control endpoint
|
| XMC_USBD_ENDPOINT_TYPE_ISOCHRONOUS |
Isochronous endpoint
|
| XMC_USBD_ENDPOINT_TYPE_BULK |
Bulk endpoint
|
| XMC_USBD_ENDPOINT_TYPE_INTERRUPT |
Interrupt endpoint
|
Defines the generic USB endpoint events. Use type XMC_USBD_EP_EVENT_t for this enum.
| Aufzählungswerte |
|---|
| XMC_USBD_EP_EVENT_SETUP |
SETUP packet
|
| XMC_USBD_EP_EVENT_OUT |
OUT packet
|
| XMC_USBD_EP_EVENT_IN |
IN packet
|
Defines the USB IN endpoint events. Use type XMC_USBD_EVENT_IN_EP_t for this enum.
| Aufzählungswerte |
|---|
| XMC_USBD_EVENT_IN_EP_TX_COMPLET |
USB IN ep transmission complete
|
| XMC_USBD_EVENT_IN_EP_DISABLED |
USB IN ep disabled
|
| XMC_USBD_EVENT_IN_EP_AHB_ERROR |
USB IN ep AHB error
|
| XMC_USBD_EVENT_IN_EP_TIMEOUT |
USB IN ep timeout
|
Defines the USB OUT endpoint events. Use type XMC_USBD_EVENT_OUT_EP_t for this enum.
| Aufzählungswerte |
|---|
| XMC_USBD_EVENT_OUT_EP_TX_COMPLET |
USB OUT ep transmission complete
|
| XMC_USBD_EVENT_OUT_EP_DISABLED |
USB OUT ep disabled
|
| XMC_USBD_EVENT_OUT_EP_AHB_ERROR |
USB OUT ep AHB error
|
| XMC_USBD_EVENT_OUT_EP_SETUP |
USB OUT ep setup
|
Defines the USB Device events. Use type XMC_USBD_EVENT_t for this enum.
| Aufzählungswerte |
|---|
| XMC_USBD_EVENT_POWER_ON |
USB Device Power On
|
| XMC_USBD_EVENT_POWER_OFF |
USB Device Power Off
|
| XMC_USBD_EVENT_CONNECT |
USB Device connected
|
| XMC_USBD_EVENT_DISCONNECT |
USB Device disconnected
|
| XMC_USBD_EVENT_RESET |
USB Reset occurred
|
| XMC_USBD_EVENT_HIGH_SPEED |
USB switch to High Speed occurred
|
| XMC_USBD_EVENT_SUSPEND |
USB Suspend occurred
|
| XMC_USBD_EVENT_RESUME |
USB Resume occurred
|
| XMC_USBD_EVENT_REMOTE_WAKEUP |
USB Remote wakeup
|
| XMC_USBD_EVENT_SOF |
USB Start of frame event
|
| XMC_USBD_EVENT_EARLYSUSPEND |
USB Early suspend
|
| XMC_USBD_EVENT_ENUMDONE |
USB enumeration done
|
| XMC_USBD_EVENT_ENUMNOTDONE |
USB enumeration not done
|
| XMC_USBD_EVENT_OUTEP |
USB OUT endpoint
|
| XMC_USBD_EVENT_INEP |
USB IN endpoint
|
Defines the options for the global receive fifo packet status. Use type XMC_USBD_GRXSTS_PKTSTS_t for this enum.
| Aufzählungswerte |
|---|
| XMC_USBD_GRXSTS_PKTSTS_GOUTNAK |
Global out nack send ( triggers an interrupt )
|
| XMC_USBD_GRXSTS_PKTSTS_OUTDATA |
OUT data packet received
|
| XMC_USBD_GRXSTS_PKTSTS_OUTCMPL |
OUT transfer completed (triggers an interrupt)
|
| XMC_USBD_GRXSTS_PKTSTS_SETUPCMPL |
SETUP transaction completed (triggers an interrupt)
|
| XMC_USBD_GRXSTS_PKTSTS_SETUP |
SETUP data packet received
|
Defines the options for the maximum number of endpoints used. Use type XMC_USBD_MAX_NUM_EPS_t for this enum.
| Aufzählungswerte |
|---|
| XMC_USBD_MAX_NUM_EPS_1 |
Maximum 1 endpoint used
|
| XMC_USBD_MAX_NUM_EPS_2 |
Maximum 2 endpoints used
|
| XMC_USBD_MAX_NUM_EPS_3 |
Maximum 3 endpoints used
|
| XMC_USBD_MAX_NUM_EPS_4 |
Maximum 4 endpoints used
|
| XMC_USBD_MAX_NUM_EPS_5 |
Maximum 5 endpoints used
|
| XMC_USBD_MAX_NUM_EPS_6 |
Maximum 6 endpoints used
|
| XMC_USBD_MAX_NUM_EPS_7 |
Maximum 2 endpoints used
|
Defines the options for USB device state while setting the address. Use type XMC_USBD_SET_ADDRESS_STAGE_t for this enum.
| Aufzählungswerte |
|---|
| XMC_USBD_SET_ADDRESS_STAGE_SETUP |
Setup address
|
| XMC_USBD_SET_ADDRESS_STAGE_STATUS |
Status address
|
Defines the USB Device Status of executed operation. Use type XMC_USBD_STATUS_t for this enum.
| Aufzählungswerte |
|---|
| XMC_USBD_STATUS_OK |
USBD Status: Operation succeeded
|
| XMC_USBD_STATUS_BUSY |
Driver is busy and cannot handle request
|
| XMC_USBD_STATUS_ERROR |
USBD Status: Unspecified error
|
Defines the options for the USB data transfer modes. Use type XMC_USBD_TRANSFER_MODE_t for this enum.
| Aufzählungswerte |
|---|
| XMC_USBD_USE_DMA |
Transfer by DMA
|
| XMC_USBD_USE_FIFO |
Transfer by FIFO
|
- Parameter
-
| event | The single event that needs to be cleared. Use XMC_USBD_EVENT_t as argument.
|
- Rückgabe
- None.
- Description:
- Clears the selected USBD event.
It clears the event by writing to the GINTSTS register.
- Note:
- This API is called inside the USB interrupt handler to clear the event XMC_USBD_EVENT_t and maintain the device state machine.
- Related APIs:
- XMC_USBD_ClearEventOUTEP(),XMC_USBD_ClearEventINEP()
| void XMC_USBD_ClearEventINEP |
( |
uint32_t |
event, |
|
|
uint8_t |
ep_num |
|
) |
| |
- Parameter
-
| event | The single event or multiple events that need to be cleared. |
| ep_num | The IN endpoint number on which the events to be cleared. |
- Rückgabe
- None.
- Description:
- Clears the single event or multiple events of the selected IN endpoint.
The multiple events can be selected by the bitwise OR operation of XMC_USBD_EVENT_IN_EP_t elements.
It clears the event by programming DIEPINT register.
- Note:
- This API is called inside the USB IN EP interrupt handler to clear the XMC_USBD_EVENT_IN_EP_t event and maintain the device state machine.
- Related APIs:
- XMC_USBD_ClearEventOUTEP()
| void XMC_USBD_ClearEventOUTEP |
( |
uint32_t |
event, |
|
|
uint8_t |
ep_num |
|
) |
| |
- Parameter
-
| event | The single event or multiple events that need to be cleared. |
| ep_num | The OUT endpoint number on which the events to be cleared. |
- Rückgabe
- None.
- Description:
- Clears the single event or multiple events of the selected OUT endpoint.
The multiple events can be selected by the bitwise OR operation of XMC_USBD_EVENT_OUT_EP_t elements. It clears the event by writing to DOEPINT register.
- Note:
- This API is called inside the USB OUT EP interrupt handler to clear the XMC_USBD_EVENT_OUT_EP_t event and maintain the device state machine.
- Related APIs:
- XMC_USBD_ClearEventINEP()
- Parameter
-
- Rückgabe
- XMC_USBD_STATUS_t.
- Description:
- Connects the USB device to host and triggers the USB enumeration.
Connects the USB device to host by programming DCTL register.
It resets the soft disconnect bit, which activates the speed pull up at d+ line of USB. XMC_USBD_Init() should be called before calling this API.
- Note:
- Once this API is called, USB host starts the enumeration process and the device should handle the descriptor requests.
- Related APIs:
- XMC_USBD_Init()
- Parameter
-
- Rückgabe
- XMC_USBD_STATUS_t.
- Description:
- Disconnects the USB device from host.
By programming DCTL register, it sets the soft disconnect bit, which deactivates
the speed pull up at d+ line of USB.
- Note:
- Once this API is called, USB device will not be accessible from host.
- Related APIs:
- XMC_USBD_DeviceConnect()
- Parameter
-
| obj | The pointer to the USB device handle structure XMC_USBD_t. |
- Rückgabe
- XMC_USBD_STATE_t.
- Description:
- Retrieves the current USB device state.
Power,active,speed and connection status data are retrieved.
- Note:
- Before calling this API, USB should be initialized with XMC_USBD_Init.
- Related APIs:
- XMC_USBD_Init()
- Parameter
-
- Rückgabe
- XMC_USBD_STATUS_t.
- Description:
- Sets the USB device address.
The device address is programmed in the DCFG register.
The address should be more than 0; as 0 is the default USB device address at the starting of enumeration. As part of enumeration, host sends the control request to the device to set the USB address; and in turn,
in the USB device event call back handler, user has to set the address using this API for the set address request.
The stage parameter should be XMC_USBD_SET_ADDRESS_STAGE_SETUP from the enum XMC_USBD_SET_ADDRESS_STAGE_t.
- Note:
- Before calling this API, USB should be initialized with XMC_USBD_Init () and connected to USB host using XMC_USBD_DeviceConnect()
- Related APIs:
- XMC_USBD_Init(), XMC_USBD_DeviceConnect()
| void XMC_USBD_Disable |
( |
void |
| ) |
|
- Parameter
-
- Rückgabe
- None.
- Description:
- Disables the USB module in the XMC controller.
It asserts the peripheral reset on USB0 module and disables the USB power.
- Related APIs:
- XMC_USBD_Enable()
| void XMC_USBD_Enable |
( |
void |
| ) |
|
- Parameter
-
- Rückgabe
- None.
- Description:
- Enables the USB module in the XMC controller.
It de-asserts the peripheral reset on USB0 module and enables the USB power.
- Note:
- This API is called inside the XMC_USBD_Init().
- Related APIs:
- XMC_USBD_Disable()
| void XMC_USBD_EnableEventINEP |
( |
uint32_t |
event | ) |
|
- Parameter
-
| event | The single event or multiple events that need to be enabled. |
- Rückgabe
- None.
- Description:
- Enables the event or multiple events of the USB IN endpoints.
The multiple events can be selected by the bitwise OR operation of XMC_USBD_EVENT_IN_EP_t elements. It enables the event by programming DIEPMSK register.
- Note:
- This API is called inside the XMC_USBD_Init() to enable the IN EP interrupts.
- Related APIs:
- XMC_USBD_EnableEventOUTEP()
| void XMC_USBD_EnableEventOUTEP |
( |
uint32_t |
event | ) |
|
- Parameter
-
| event | The single event or multiple events that need to be enabled. |
- Rückgabe
- None.
- Description:
- Enables the event or multiple events of the OUT endpoints.
The multiple events can be selected by the bitwise OR operation of XMC_USBD_EVENT_OUT_EP_t elements. It enables the event by programming DOEPMSK register.
- Note:
- This API is called inside the XMC_USBD_Init() to enable the OUT EP interrupts.
- Related APIs:
- XMC_USBD_EnableEventINEP()
- Parameter
-
| ep_addr | The address of the USB endpoint, on which the data need to be aborted. |
- Rückgabe
- XMC_USBD_STATUS_t
- Description:
- Abort the transfer on endpoint ep_addr.
On any failure with the USB transmission user can reset the endpoint into default state and clear all assigned buffers, to start from a clean point. The endpoint will not be unconfigured or disabled.
- Related APIs:
- XMC_USBD_EndpointUnconfigure()
- Parameter
-
| ep_addr | The address of the USB endpoint, which needs to be configured. |
| ep_type | The XMC_USBD_ENDPOINT_TYPE_t. |
| ep_max_packet_size | The maximum packet size of endpoint in USB full speed. |
- Rückgabe
- XMC_USBD_STATUS_t.
- Description:
- Configures the USB endpoint.
The endpoint is configured by programming the DAINT,DIEPCTL and DOEPCTL registers.
Configures the EP type, FIFO number,maximum packet size, enables endpoint and sets the DATA0 PID. This function also initializes the internal buffer handling for the specified endpoint, but does not start any transfers.
As part of enumeration, host sends the control request to the device to set the configuration; and in turn,
in the USB device event call back handler, user has to set the configuration and configure the endpoints
required for the device.
- Note:
- This API should only be used as part of enumeration.
- Related APIs:
- XMC_USBD_Init(),XMC_USBD_DeviceConnect(),XMC_USBD_EndpointUnconfigure()
| int32_t XMC_USBD_EndpointRead |
( |
const uint8_t |
ep_addr, |
|
|
uint8_t * |
buffer, |
|
|
uint32_t |
length |
|
) |
| |
- Parameter
-
| ep_addr | The address of the USB OUT endpoint, from which data need to be read. |
| buffer | The pointer to the user buffer,in which data need to be received. |
| length | The number of bytes to be read from OUT EP. |
- Rückgabe
The actual number of bytes received.
- Description:
- Read length number of bytes from an OUT endpoint ep_addr.
If data has been received for this endpoint, it gets copied into the user buffer until its full or no data is left in the driver buffer.
- Note:
- For preparing the next OUT token, use XMC_USBD_EndpointReadStart() after XMC_USBD_EndpointRead().
- Related APIs:
- XMC_USBD_EndpointReadStart()
| XMC_USBD_STATUS_t XMC_USBD_EndpointReadStart |
( |
const uint8_t |
ep_addr, |
|
|
uint32_t |
size |
|
) |
| |
- Parameter
-
| ep_addr | The address of the USB endpoint, from which data need to be read. |
| size | The number of bytes to be read. |
- Rückgabe
- XMC_USBD_STATUS_t.
- Description:
- Prepares an endpoint to receive OUT tokens from the USB host.
The selected endpoint gets configured, so that it receives the specified amount of data from the host. As part of streaming of OUT data, after reading the current OUT buffer using XMC_USBD_EndpointRead(),
user can prepare endpoint for the next OUT packet by using XMC_USBD_EndpointReadStart().
The registers DOEPDMA,DOEPTSIZ and DOEPCTL are programmed to start a new read request.
- Note:
- For the data received on OUT EP buffer, use XMC_USBD_EndpointRead().
- Related APIs:
- XMC_USBD_EndpointRead()
- Parameter
-
| ep_addr | The address of the USB endpoint, on which stall needs to be set or cleared. |
| stall | The boolean variable to decide on set or clear of stall on EP. |
- Rückgabe
- XMC_USBD_STATUS_t.
- Description:
- Set or Clear stall on the USB endpoint ep_addr, based on stall parameter.
By programming stall bit in the doepctl and diepctl, it sets or clears the stall on the endpoint. The endpoint can be stalled when a non supported request comes from the USB host. The XMC_USBD_EndpointStall() should be called with stall set to 0, in the clear feature standard request in the USB device event call back handler. *
- Note:
- The host should clear the stall set on the endpoint by sending the clear feature standard request on the non EP0 endpoints. On EP0, the stall will automatically gets cleared on the next control request.
- Related APIs:
- XMC_USBD_EndpointAbort()
- Parameter
-
| ep_addr | The address of the USB endpoint, which needs to be unconfigured. |
- Rückgabe
- XMC_USBD_STATUS_t.
- Description:
- Unconfigures the USB endpoint.
The endpoint is unconfigured by programming the DAINT,DIEPCTL and DOEPCTL registers.
Disables the endpoint, unassign the fifo, deactivate it and only send nacks.
Waits until the endpoint has finished operation and disables it. All (eventuallly) allocated buffers gets freed. Forces the endpoint to stop immediately, any pending transfers are killed(Can cause device reset).
- Related APIs:
- XMC_USBD_EndpointConfigure()
| int32_t XMC_USBD_EndpointWrite |
( |
const uint8_t |
ep_addr, |
|
|
const uint8_t * |
buffer, |
|
|
uint32_t |
length |
|
) |
| |
- Parameter
-
| ep_addr | The address of the USB IN endpoint, on which data should be sent. |
| buffer | The pointer to the data buffer, to write to the endpoint. |
| length | The number of bytes to be written to IN EP. |
- Rückgabe
The actual amount of data written to the endpoint buffer.
- Description:
- Write the length bytes of data to an IN endpoint ep_addr.
The User data gets copied into the driver buffer or will be send directly based on the buffer concept selected in the XMC_USBD_TRANSFER_MODE_t configuration.
Then the endpoint is set up to transfer the data to the host.
DIEPDMA,DIEPTSIZ and DIEPCTL registers are programmed to start the IN transfer.
- Related APIs:
- XMC_USBD_EndpointRead()
- Parameter
-
- Rückgabe
- XMC_USBD_CAPABILITIES_t.
- Description:
- Retrieves the USB device capabilities of type XMC_USBD_CAPABILITIES_t
The USB device capabilities supported by the USBD driver, like power on/off, connect/disconnect, reset,suspend/resume,USB speed etc are retrieved.
It can be called after initializing the USB device to get the information on the USBD capabilities.
| uint16_t XMC_USBD_GetFrameNumber |
( |
void |
| ) |
|
- Parameter
-
- Rückgabe
- The 16 bit current USB frame number.
- Description:
- Read the current USB frame number.
* Reads the device status register (DSTS) and returns the SOFFN field.
- Parameter
-
| obj | The pointer to the USB device handle XMC_USBD_t. |
- Rückgabe
- XMC_USBD_STATUS_t The USB device status of type XMC_USBD_STATUS_t.
- Description:
- Initializes the USB device to get ready for connect to USB host.
Enables the USB module,sets the EP buffer sizes,registers the device and EP event call backs. Initializes the global,device and FIFO register base addresses. Configures the global AHB,enables the global interrupt and DMA by programming GAHBCFG register. Configures the USB in to device mode and enables the session request protocol by programming GUSBCFG register. Configures the USB device speed to full speed by programming DCFG register. Disconnects the USB device by programming DCTL register. Enables the USB common and device interrupts by programming GINTMSK register.
- Note:
- This API makes the USB device ready to connect to host.The user has to explicitly call the XMC_USBD_DeviceConnect() after the USB initialization to connect to USB host.
- Related APIs:
- XMC_USBD_DeviceConnect()
| void XMC_USBD_IRQHandler |
( |
const XMC_USBD_t *const |
obj | ) |
|
- Parameter
-
| obj | The pointer to the USB device handle structure. |
- Rückgabe
- None.
- Description:
- USB device default IRQ handler.
USBD Peripheral LLD provides default implementation of ISR. The user needs to explicitly either use our default implementation or use its own one using the LLD APIs.
For example: XMC_USBD_t *obj; void USB0_0_IRQHandler(void) { XMC_USBD_IRQHandler(obj); }
- Note:
- The user should initialize the XMC USB device configuration structure before calling XMC_USBD_IRQHandler() in the actual USB0 IRQ handler.
| uint32_t XMC_USBD_IsEnumDone |
( |
void |
| ) |
|
- Parameter
-
- Rückgabe
- Returns 1, if the speed enumeration is done and 0 otherwise.
- Description:
- Gets the speed enumeration completion status of the USB device.
- Note:
- This should not be used for the actual USB enumeration completion status. For the actual USB enumeration status, the application layer should check for the completion of USB standard request 'Set configuration'.
- Parameter
-
- Rückgabe
- XMC_USBD_STATUS_t.
- Description:
- Uninitialises the USB device.
Disconnects the USB device by programming DCTL register and resets the XMC USB device data.
- Note:
- Once this API is called, USB device will not be accessible from host.
- Related APIs:
- XMC_USBD_Init()
Defines the driver interface function table. To access the XMC device controller driver interface use this table of functions.
Defines the XMC USB device data The instance of XMC_USBD_DEVICE_t structure describing the XMC device.


Touch Touch Play
For 6.810 Engineering Interactive Technologies, I built a multitouch touchpad music player.
01 Mulitouch Touchpad
Touch Touch Play offers a more natural way to engage with music.
Just use your fingers to pause or play, skip to the previous or next song, and change the volume.
02 Implementation
Role
I designed and laser cut the acryllic, bent it into the touchpad shape, and wired in LEDs with a USB cable and a on/off switch.
I used OpenCV to track finger movements through the camera at the base of the touchpad, and wrote the algorithms to detect different gestures and adapt the music player accordingly.
Technologies
Laser Cutting
LEDs and Electronics Wiring
Computer Vision & OpenCV


Maryland GOPer whose posts led to Trump ire to run for House
BALTIMORE (AP) - The Maryland Republican whose social media posts about trash in Baltimore ultimately led to President Donald Trump’s verbal attack of the late U.S. Rep. Elijah Cummings says she’ll run for Cummings’ seat.
Kimberly Klacik tells The Baltimore Sun she’ll file next week as a candidate for the 7th Congressional District special election. Cummings died last month. Primaries will be in February, with an April general election.
Klacik’s videos of West Baltimore caught the attention of Trump last summer. The president blasted Cummings’ majority-black district as a “rodent-infested mess.” That set off a war of words with Baltimore boosters.
Over a dozen people have filed to run or are considering a run in the overwhelmingly Democratic district. Klacik is a member of a county Republican leadership committee.
Sign up for Daily Newsletters
Copyright © 2019 The Washington Times, LLC.
Please read our comment policy before commenting.


India Bags First Gold at International Shooting Sport Federation World Cup
New Delhi (Sputnik) The International Shooting Sport Federation is the governing body of the Olympic shooting events in rifle, pistol, and shotgun disciplines as well as several non-Olympic shooting sport events.
Continuing her streak at the International Shooting Sport Federation (ISSF) World Cup, Manu Bhaker, 17, fired her way to gold once again in the women’s 10 metre air pistol event held in Putian, China on Thursday.
Manu bagged India’s first gold by scoring 244.7 during the ISSF World Cup this year. Serbia’s Zorana Arunovic won silver with a score of 241.9 while Quian Wang of China took home the bronze with 221.8.
Twitter has been abuzz with congratulatory messages for the professional shooter.
Congratulations to @realmanubhaker on clinching 🏅 GOLD in World Cup Finals in Women's 10m air pistol event held in Putian, China.
Manu is from a small village in the northern state of Haryana and has 10 golds and one silver medal to her credit.
Last year, she became the youngest Indian to win a gold medal at the ISSF World Cup, earning two gold medals at the games.
India has fielded its largest-ever squad of 14 shooters in each of the 10 Olympic events at the ISSF season-ending rifle and pistol World Cup.