@@ -7,59 +7,59 @@ use crate::ppi::Event;
77// Find (regex):
88// `^src/(.*)\.rs:pub type (.*) = .*$`
99// Replace (regex):
10- // `impl Event for crate::target ::$1::$2 { }`
11- impl Event for crate :: target :: ecb:: EVENTS_ENDECB { }
12- impl Event for crate :: target :: ecb:: EVENTS_ERRORECB { }
13- impl Event for crate :: target :: rng:: EVENTS_VALRDY { }
14- impl Event for crate :: target :: timer0:: EVENTS_COMPARE { }
15- impl Event for crate :: target :: uart0:: EVENTS_CTS { }
16- impl Event for crate :: target :: uart0:: EVENTS_NCTS { }
17- impl Event for crate :: target :: uart0:: EVENTS_RXDRDY { }
18- impl Event for crate :: target :: uart0:: EVENTS_TXDRDY { }
19- impl Event for crate :: target :: uart0:: EVENTS_ERROR { }
20- impl Event for crate :: target :: uart0:: EVENTS_RXTO { }
21- impl Event for crate :: target :: gpiote:: EVENTS_IN { }
22- impl Event for crate :: target :: gpiote:: EVENTS_PORT { }
23- impl Event for crate :: target :: power:: EVENTS_POFWARN { }
24- impl Event for crate :: target :: clock:: EVENTS_HFCLKSTARTED { }
25- impl Event for crate :: target :: clock:: EVENTS_LFCLKSTARTED { }
26- impl Event for crate :: target :: clock:: EVENTS_DONE { }
27- impl Event for crate :: target :: clock:: EVENTS_CTTO { }
28- impl Event for crate :: target :: spi0:: EVENTS_READY { }
29- impl Event for crate :: target :: twi0:: EVENTS_STOPPED { }
30- impl Event for crate :: target :: twi0:: EVENTS_RXDREADY { }
31- impl Event for crate :: target :: twi0:: EVENTS_TXDSENT { }
32- impl Event for crate :: target :: twi0:: EVENTS_ERROR { }
33- impl Event for crate :: target :: twi0:: EVENTS_BB { }
34- impl Event for crate :: target :: twi0:: EVENTS_SUSPENDED { }
35- impl Event for crate :: target :: spis1:: EVENTS_END { }
36- impl Event for crate :: target :: spis1:: EVENTS_ENDRX { }
37- impl Event for crate :: target :: spis1:: EVENTS_ACQUIRED { }
38- impl Event for crate :: target :: rtc0:: EVENTS_TICK { }
39- impl Event for crate :: target :: rtc0:: EVENTS_OVRFLW { }
40- impl Event for crate :: target :: rtc0:: EVENTS_COMPARE { }
41- impl Event for crate :: target :: wdt:: EVENTS_TIMEOUT { }
42- impl Event for crate :: target :: temp:: EVENTS_DATARDY { }
43- impl Event for crate :: target :: radio:: EVENTS_READY { }
44- impl Event for crate :: target :: radio:: EVENTS_ADDRESS { }
45- impl Event for crate :: target :: radio:: EVENTS_PAYLOAD { }
46- impl Event for crate :: target :: radio:: EVENTS_END { }
47- impl Event for crate :: target :: radio:: EVENTS_DISABLED { }
48- impl Event for crate :: target :: radio:: EVENTS_DEVMATCH { }
49- impl Event for crate :: target :: radio:: EVENTS_DEVMISS { }
50- impl Event for crate :: target :: radio:: EVENTS_RSSIEND { }
51- impl Event for crate :: target :: radio:: EVENTS_BCMATCH { }
52- impl Event for crate :: target :: lpcomp:: EVENTS_READY { }
53- impl Event for crate :: target :: lpcomp:: EVENTS_DOWN { }
54- impl Event for crate :: target :: lpcomp:: EVENTS_UP { }
55- impl Event for crate :: target :: lpcomp:: EVENTS_CROSS { }
56- impl Event for crate :: target :: ccm:: EVENTS_ENDKSGEN { }
57- impl Event for crate :: target :: ccm:: EVENTS_ENDCRYPT { }
58- impl Event for crate :: target :: ccm:: EVENTS_ERROR { }
59- impl Event for crate :: target :: aar:: EVENTS_END { }
60- impl Event for crate :: target :: aar:: EVENTS_RESOLVED { }
61- impl Event for crate :: target :: aar:: EVENTS_NOTRESOLVED { }
62- impl Event for crate :: target :: qdec:: EVENTS_SAMPLERDY { }
63- impl Event for crate :: target :: qdec:: EVENTS_REPORTRDY { }
64- impl Event for crate :: target :: qdec:: EVENTS_ACCOF { }
65- impl Event for crate :: target :: adc:: EVENTS_END { }
10+ // `impl Event for crate::pac ::$1::$2 { }`
11+ impl Event for crate :: pac :: ecb:: EVENTS_ENDECB { }
12+ impl Event for crate :: pac :: ecb:: EVENTS_ERRORECB { }
13+ impl Event for crate :: pac :: rng:: EVENTS_VALRDY { }
14+ impl Event for crate :: pac :: timer0:: EVENTS_COMPARE { }
15+ impl Event for crate :: pac :: uart0:: EVENTS_CTS { }
16+ impl Event for crate :: pac :: uart0:: EVENTS_NCTS { }
17+ impl Event for crate :: pac :: uart0:: EVENTS_RXDRDY { }
18+ impl Event for crate :: pac :: uart0:: EVENTS_TXDRDY { }
19+ impl Event for crate :: pac :: uart0:: EVENTS_ERROR { }
20+ impl Event for crate :: pac :: uart0:: EVENTS_RXTO { }
21+ impl Event for crate :: pac :: gpiote:: EVENTS_IN { }
22+ impl Event for crate :: pac :: gpiote:: EVENTS_PORT { }
23+ impl Event for crate :: pac :: power:: EVENTS_POFWARN { }
24+ impl Event for crate :: pac :: clock:: EVENTS_HFCLKSTARTED { }
25+ impl Event for crate :: pac :: clock:: EVENTS_LFCLKSTARTED { }
26+ impl Event for crate :: pac :: clock:: EVENTS_DONE { }
27+ impl Event for crate :: pac :: clock:: EVENTS_CTTO { }
28+ impl Event for crate :: pac :: spi0:: EVENTS_READY { }
29+ impl Event for crate :: pac :: twi0:: EVENTS_STOPPED { }
30+ impl Event for crate :: pac :: twi0:: EVENTS_RXDREADY { }
31+ impl Event for crate :: pac :: twi0:: EVENTS_TXDSENT { }
32+ impl Event for crate :: pac :: twi0:: EVENTS_ERROR { }
33+ impl Event for crate :: pac :: twi0:: EVENTS_BB { }
34+ impl Event for crate :: pac :: twi0:: EVENTS_SUSPENDED { }
35+ impl Event for crate :: pac :: spis1:: EVENTS_END { }
36+ impl Event for crate :: pac :: spis1:: EVENTS_ENDRX { }
37+ impl Event for crate :: pac :: spis1:: EVENTS_ACQUIRED { }
38+ impl Event for crate :: pac :: rtc0:: EVENTS_TICK { }
39+ impl Event for crate :: pac :: rtc0:: EVENTS_OVRFLW { }
40+ impl Event for crate :: pac :: rtc0:: EVENTS_COMPARE { }
41+ impl Event for crate :: pac :: wdt:: EVENTS_TIMEOUT { }
42+ impl Event for crate :: pac :: temp:: EVENTS_DATARDY { }
43+ impl Event for crate :: pac :: radio:: EVENTS_READY { }
44+ impl Event for crate :: pac :: radio:: EVENTS_ADDRESS { }
45+ impl Event for crate :: pac :: radio:: EVENTS_PAYLOAD { }
46+ impl Event for crate :: pac :: radio:: EVENTS_END { }
47+ impl Event for crate :: pac :: radio:: EVENTS_DISABLED { }
48+ impl Event for crate :: pac :: radio:: EVENTS_DEVMATCH { }
49+ impl Event for crate :: pac :: radio:: EVENTS_DEVMISS { }
50+ impl Event for crate :: pac :: radio:: EVENTS_RSSIEND { }
51+ impl Event for crate :: pac :: radio:: EVENTS_BCMATCH { }
52+ impl Event for crate :: pac :: lpcomp:: EVENTS_READY { }
53+ impl Event for crate :: pac :: lpcomp:: EVENTS_DOWN { }
54+ impl Event for crate :: pac :: lpcomp:: EVENTS_UP { }
55+ impl Event for crate :: pac :: lpcomp:: EVENTS_CROSS { }
56+ impl Event for crate :: pac :: ccm:: EVENTS_ENDKSGEN { }
57+ impl Event for crate :: pac :: ccm:: EVENTS_ENDCRYPT { }
58+ impl Event for crate :: pac :: ccm:: EVENTS_ERROR { }
59+ impl Event for crate :: pac :: aar:: EVENTS_END { }
60+ impl Event for crate :: pac :: aar:: EVENTS_RESOLVED { }
61+ impl Event for crate :: pac :: aar:: EVENTS_NOTRESOLVED { }
62+ impl Event for crate :: pac :: qdec:: EVENTS_SAMPLERDY { }
63+ impl Event for crate :: pac :: qdec:: EVENTS_REPORTRDY { }
64+ impl Event for crate :: pac :: qdec:: EVENTS_ACCOF { }
65+ impl Event for crate :: pac :: adc:: EVENTS_END { }
0 commit comments