摘要:
A pulse-width-modulated (PWM) signal [303] controls a driver signal [304] applied to a load device, such as a lamp [106]. A feedback loop samples the driver signal and software at the device adjusts a pulse width of the PWM signal to ensure that a current level of the driver signal is maintained within specified limits. The feedback loop employs a sampling trigger signal [305] to control sampling of the driver signal. An asserting edge and successive negating edge of the sampling trigger signal are established based on comparison of a counter value to a single programmable time value. Accordingly, the sampling trigger signal will have a fixed pulse width.
摘要:
An electronic system (100) includes multiple data access components (102, 103, 104) (DACs), a semaphores module (108), and a memory protection unit (110) (MPU). Any of the DACs may issue an access request, which requests access to a shared system resource. A region descriptor associated with the shared system resource specifies default access permissions for the DACs. The semaphores module (108) implements a semaphore for the shared system resource, and produces semaphore signals indicating which one, if any, of the DACs has locked the semaphore for the shared system resource. More particularly, an access evaluation circuit (610, 612) of the MPU receives the default access permissions and the semaphore signals. When the semaphore is properly enabled, as indicated in the region descriptor, the access evaluation circuit (610, 612) produces effective access permissions for the DACs by potentially altering the default access permissions based on the semaphore signals. The MPU grants or denies the access request based on the effective access permissions.
摘要:
An electronic system (100) includes multiple data access components (102, 103, 104) (DACs), a semaphores module (108), and a memory protection unit (110) (MPU). Any of the DACs may issue an access request, which requests access to a shared system resource. A region descriptor associated with the shared system resource specifies default access permissions for the DACs. The semaphores module (108) implements a semaphore for the shared system resource, and produces semaphore signals indicating which one, if any, of the DACs has locked the semaphore for the shared system resource. More particularly, an access evaluation circuit (610, 612) of the MPU receives the default access permissions and the semaphore signals. When the semaphore is properly enabled, as indicated in the region descriptor, the access evaluation circuit (610, 612) produces effective access permissions for the DACs by potentially altering the default access permissions based on the semaphore signals. The MPU grants or denies the access request based on the effective access permissions.