An integrated-circuit device comprising: a processor; a first peripheral (122, 124; 510); a second peripheral (126, 128; 520); a bus system, connecting the processor, the first peripheral and second peripheral; a peripheral interconnect (160; 530), separate from the bus system; wake-up logic (150; 500); a configuration memory; and a power controller, wherein: the first peripheral is configured to generate event signals in response to changes of state within the first peripheral; the first peripheral comprises a first peripheral interface module (132, 134) for outputting the event signals to the peripheral interconnect; the peripheral interconnect provides a channel for receiving an event signal from the first peripheral and for providing the event signal to the second peripheral; the second peripheral is configured to receive event signals from the peripheral interconnect; the second peripheral comprises a configurable second peripheral interface module (136, 138) for initiating tasks on the second peripheral in response to event signals received from the peripheral interconnect, in accordance with second-peripheral configuration settings stored in the configuration memory; the first peripheral is in a first power domain; the second peripheral is in a second power domain; the wake-up logic is in a third power domain; the power controller is configured to provide power to the third power domain whenever the first power domain or the second power domain is powered up, such that the wake-up logic is powered up whenever the first or second peripheral is powered up; and the wake-up logic is connected to the peripheral interconnect and is configured, to, without the involvement of the processor: detect an event signal generated by the first peripheral on the peripheral interconnect; use the second-peripheral configuration settings to determine whether the second peripheral interface module is configured to initiate a task in the second peripheral in response to the detected event signal; and instruct the power controller to power up the second peripheral when the second peripheral interface module is configured to initiate a task in the second peripheral in response to the detected event signal. a processor; a first peripheral (122, 124; 510); a second peripheral (126, 128; 520); a bus system, connecting the processor, the first peripheral and second peripheral; a peripheral interconnect (160; 530), separate from the bus system; wake-up logic (150; 500); a configuration memory; and a power controller, the first peripheral is configured to generate event signals in response to changes of state within the first peripheral; the first peripheral comprises a first peripheral interface module (132, 134) for outputting the event signals to the peripheral interconnect; the peripheral interconnect provides a channel for receiving an event signal from the first peripheral and for providing the event signal to the second peripheral; the second peripheral is configured to receive event signals from the peripheral interconnect; the second peripheral comprises a configurable second peripheral interface module (136, 138) for initiating tasks on the second peripheral in response to event signals received from the peripheral interconnect, in accordance with second-peripheral configuration settings stored in the configuration memory; the first peripheral is in a first power domain; the second peripheral is in a second power domain; the wake-up logic is in a third power domain; the power controller is configured to provide power to the third power domain whenever the first power domain or the second power domain is powered up, such that the wake-up logic is powered up whenever the first or second peripheral is powered up; and the wake-up logic is connected to the peripheral interconnect and is configured, to, without the involvement of the processor: detect an event signal generated by the first peripheral on the peripheral interconnect; use the second-peripheral configuration settings to determine whether the second peripheral interface module is configured to initiate a task in the second peripheral in response to the detected event signal; and instruct the power controller to power up the second peripheral when the second peripheral interface module is configured to initiate a task in the second peripheral in response to the detected event signal. detect an event signal generated by the first peripheral on the peripheral interconnect; use the second-peripheral configuration settings to determine whether the second peripheral interface module is configured to initiate a task in the second peripheral in response to the detected event signal; and instruct the power controller to power up the second peripheral when the second peripheral interface module is configured to initiate a task in the second peripheral in response to the detected event signal.