#NEWLINE# def _generate_platform_callbacks( self ) : #NEWLINE# #INDENT# tmpl = templates . _PLATFORM_CALLBACKS_BEGIN #NEWLINE# self . _cg . add_lines ( tmpl . format ( prefix = self . _cfg . prefix ) ) #NEWLINE# self . _cg . indent ( ) #NEWLINE# self . _generate_clock_cbs ( ) #NEWLINE# self . _cg . unindent ( ) #NEWLINE# tmpl = templates . _PLATFORM_CALLBACKS_END #NEWLINE# self . _cg . add_lines ( self )