si3482 Silicon Laboratories, si3482 Datasheet - Page 29

no-image

si3482

Manufacturer Part Number
si3482
Description
Power Management Controller
Manufacturer
Silicon Laboratories
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
si3482-A01-GMR
Manufacturer:
LT
Quantity:
124
Part Number:
si3482-A01-GMR
Manufacturer:
SILICON LABS/芯科
Quantity:
20 000
4.9. Events
An event is an unsolicited notification from the Power Manager that a status has changed. The Power Manager
calls the event handler in the Serial Packet Server whenever there is a change in system status, port status, or
power supply status. The Serial Packet Server stores the events in an event queue.
If a User Interface component wishes to receive events, it provides the address of an event handler when it calls
InitPowerManager(). The Serial Packet Client spawns an event task. The event task remotely calls the GetEvents()
routine in the Serial Packet Server every 200 ms to retrieve the events from the event queue. For each event that
is retrieved, the Serial Packet Client calls the event handler in the User Interface component.
4.9.1. GetEvents
Get the events from the event queue.
Prototype:
Parameters:
Return Value:
This routine exists in the Serial Packet Server and is called by a Serial Packet Client to get events from the event
queue. This routine sends back a packet with the Data field in the Events format. This routine may return from zero
to 85 events.
void GetEvents ( EVENT *Event )
Event
None.
Pointer to returned events.
Figure 13. Events Architecture
Host MCU
Si3482
User Interface 
Serial Packet  
Client 
Serial Packet 
Server 
Power Manager  
Rev. 0.1
EventHan dler() 
EventH an dler() 
GetEvents ()
Event 
Queue
Event 
Task 
Si3482
29

Related parts for si3482